CC libxl maintainers
On Tue, Oct 15, 2019 at 06:02:33PM +0200, Sander Eikelenboom wrote:
> Hi Anthony,
>
> While testing xen-unstable 4.13.0-rc0 I ran in to the following issue:
>
> When passing through all 8 functions of a pci(e) device I can't start the
> guest anymore, note that the trouble only starts at 0:9:0.3, not at 0:9:0.0:
> libxl: error: libxl_qmp.c:1270:qmp_ev_connect: Domain 3:Failed to
> connect to QMP socket /var/run/xen/qmp-libxl-3: Resource temporarily
> unavailable
> libxl: error: libxl_pci.c:1702:device_pci_add_done: Domain
> 3:libxl__device_pci_add failed for PCI device 0:9:0.3 (rc -3)
> libxl: error: libxl_qmp.c:1270:qmp_ev_connect: Domain 3:Failed to
> connect to QMP socket /var/run/xen/qmp-libxl-3: Resource temporarily
> unavailable
> libxl: error: libxl_pci.c:1702:device_pci_add_done: Domain
> 3:libxl__device_pci_add failed for PCI device 0:9:0.4 (rc -3)
> libxl: error: libxl_qmp.c:1270:qmp_ev_connect: Domain 3:Failed to
> connect to QMP socket /var/run/xen/qmp-libxl-3: Resource temporarily
> unavailable
> libxl: error: libxl_pci.c:1702:device_pci_add_done: Domain
> 3:libxl__device_pci_add failed for PCI device 0:9:0.5 (rc -3)
> libxl: error: libxl_qmp.c:1270:qmp_ev_connect: Domain 3:Failed to
> connect to QMP socket /var/run/xen/qmp-libxl-3: Resource temporarily
> unavailable
> libxl: error: libxl_pci.c:1702:device_pci_add_done: Domain
> 3:libxl__device_pci_add failed for PCI device 0:9:0.6 (rc -3)
> libxl: error: libxl_qmp.c:1270:qmp_ev_connect: Domain 3:Failed to
> connect to QMP socket /var/run/xen/qmp-libxl-3: Resource temporarily
> unavailable
> libxl: error: libxl_pci.c:1702:device_pci_add_done: Domain
> 3:libxl__device_pci_add failed for PCI device 0:9:0.7 (rc -3)
> libxl: error: libxl_create.c:1609:domcreate_attach_devices: Domain
> 3:unable to add pci devices
> libxl: error: libxl_domain.c:1177:libxl__destroy_domid: Domain
> 3:Non-existant domain
> libxl: error: libxl_domain.c:1131:domain_destroy_callback: Domain
> 3:Unable to destroy guest
> libxl: error: libxl_domain.c:1058:domain_destroy_cb: Domain
> 3:Destruction of domain failed
>
> When only passing through the first functions 0:9:0.0 to 0:9:0.2, the guest
> starts.
Thanks for testing. I guess starting multiple connections at once, and
hope QEMU is going to serialize it, isn't going to work. I'll rework
that path in the code so that each pci device/functions will be done one
at a time, like before.
Cheers,
--
Anthony PERARD
___
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel