Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD 6 - Xen 4.2.3 pciback support?



On 11/01/2014 19:51, Miguel Clara wrote:
> I do see one patch related to libxl pciback:
> 
>  #define SYSFS_PCI_DEV          "/sys/bus/pci/devices"
> +#ifdef __NetBSD__
> +#define SYSFS_PCIBACK_DRIVER   "/kern/xen/pci"
> +#else
>  #define SYSFS_PCIBACK_DRIVER   "/sys/bus/pci/drivers/pciback"
> +#endif
>  #define XENSTORE_PID_FILE      "/var/run/xenstored.pid"
> 
>  #define PROC_PCI_NUM_RESOURCES 7
> 
> 
> Interesting part: +#ifdef __NetBSD__
> +#define SYSFS_PCIBACK_DRIVER   "/kern/xen/pci"
> 
> But from the output I posted before it seems its not "going" to
> /kern/xen/pci, Or maybe its hardcoded somewhere else!

The patch only takes care of SYSFS_PCIBACK_DRIVER, but not SYSFS_PCI_DEV
which is used many times in the libxl code.


Cheers
-- 
Matteo Beccati

Development & Consulting - http://www.beccati.com/


Home | Main Index | Thread Index | Old Index