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

Re: [Xen-devel] [Qemu-devel] [PATCH V7 00/11] Xen PCI Passthrough



On Mon, Feb 20, 2012 at 16:11, Tobias Geiger <tobias.geiger@xxxxxxxxx> wrote:
> My Domu (Win7_64) boots fine, but 2 of my 6 passed-through pcidevices dont get
> passed through at all:
>
> libxl: error: libxl_pci.c:756:libxl__device_pci_reset: write to
> /sys/bus/pci/devices/0000:03:00.0/reset returned -1: Invalid argument
> libxl: error: libxl_qmp.c:239:qmp_handle_error_response: received an error
> message from QMP server: Device 'xen-pci-passthrough' could not be initialized
> libxl: error: libxl_pci.c:756:libxl__device_pci_reset: write to
> /sys/bus/pci/devices/0000:03:00.1/reset returned -1: Invalid argument
> libxl: error: libxl_qmp.c:239:qmp_handle_error_response: received an error
> message from QMP server: Device 'xen-pci-passthrough' could not be initialized

These two errors are probably because my patch series depend on one
other patch sent earlier:
http://lists.xen.org/archives/html/xen-devel/2012-02/msg01027.html

> The other 4 PCI-Ids (USB Controller) get passed through, but the USB-Devices
> attached to them are "Not Working" according to Windows Device-Manager.
>
> All Devices worked with the old qemu-dm (traditional).
>
> Anything i can do to debug this further?

You can send the log of qemu ( /var/log/xen/qemu-dm-$vm_name.log ).
There is also a way to have more from QEMU by decommenting this two lines:
/* #define PT_LOGGING_ENABLED */
/* #define PT_DEBUG_PCI_CONFIG_ACCESS */
in hw/xen_pci_passthrough.h

Thanks for the testing,

-- 
Anthony PERARD

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.