Port-xen archive

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

Re: PCI pass through Xen 4.1.x and NetBSD 6



On Wed, Jan 23, 2013 at 10:32:40PM +0100, Marcus Osdoba wrote:
> Am 22.01.2013 22:04, schrieb Marcus Osdoba:
> >Unfortunatly I still got an error when starting the hvm domu with xl:
> >libxl: error: libxl_pci.c:750:libxl_device_pci_reset The kernel doesn't
> >support reset from sysfs for PCI device 0000:02:00.0
> >libxl: error: libxl_pci.c:750:libxl_device_pci_reset The kernel doesn't
> >support reset from sysfs for PCI device 0000:04:00.0
> >
> I have found the relevant function in xl and the following posts
> [0],[1] and [2].
> 
> Anyway, the patch in patch-libxl_libxl_internal.h leaves /sys/..
> enabled ( #define SYSFS_PCI_DEV          "/sys/bus/pci/devices"),
> which is used by the pci reset function in xl.
> 
> /sys is not present by default in netbsd.
> I didn't find any compatibility /sys in pkgsrc or sys/compat.
> 
> Does PCI pass through ought to work without /sys (which might NOT
> when verifying the relevant libxl_device_pci_reset function).

It has worked at some point, but I've not tested for a long time.
At first glance, I'd say that libxl_device_pci_reset() should be empty for
NetBSD.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index