Xen-unstable: regression when trying to shutdown HVM guest with pci passthrough
Hi Anthony,
While testing I encountered a problem with my HVM guests which use pci passthrough. When trying to shutdown the guest it will stay in the "---s--" runstate indefinitely.
On the guest console I get:
[ 518.587669] xenbus: xenbus_dev_shutdown: device/pci/0: Initialising != Connected, skipping
[ 518.674870] ACPI: Preparing to enter system sleep state S5
[ 518.683952] reboot: Power downWhen trying to destroy the stuck guest I get:
libxl: error: libxl_domain.c:1165:destroy_domid_pci_done: Domain 9:Pci shutdown failed
libxl: error: libxl_domain.c:1089:domain_destroy_callback: Domain 9:Unable to destroy guest
libxl: error: libxl_domain.c:1016:domain_destroy_cb: Domain 9:Destruction of domain failed destroy failed (rc=-9)
Bisection turned up commit fae4880c45fe015e567afa223f78bf17a6d98e1b "libxl_pci: Use ev_qmp for pci_remove" as the culprit.
--
Sander
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 10 lines · Sander Eikelenboom
Hi Anthony,
While testing I encountered a problem with my HVM guests which use pci passthrough. When trying to shutdown the guest it will stay in the "---s--" runstate indefinitely.
On the guest console I get:
[ 518.587669] xenbus: xenbus_dev_shutdown: device/pci/0: Initialising != Connected, skipping [ 518.674870] ACPI: Preparing to enter system sleep state S5 [ 518.683952] reboot: Power down
Quoted 6 lines
When trying to destroy the stuck guest I get:
libxl: error: libxl_domain.c:1165:destroy_domid_pci_done: Domain 9:Pci shutdown failed
libxl: error: libxl_domain.c:1089:domain_destroy_callback: Domain 9:Unable to destroy guest
libxl: error: libxl_domain.c:1016:domain_destroy_cb: Domain 9:Destruction of domain failed destroy failed (rc=-9)Bisection turned up commit
fae4880c45fe015e567afa223f78bf17a6d98e1b"libxl_pci: Useev_qmpforpci_remove" as the culprit.
Thanks for the report and the bisection!
I've sent a patch which I think should fix this.
Cheers,
Signature · 6 lines
Anthony PERARD _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel