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

Re: [Xen-devel] Xen-unstable: regression when trying to shutdown HVM guest with pci passthrough



On Sun, Sep 29, 2019 at 08:27:10PM +0200, Sander Eikelenboom wrote:
> 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
> 
> 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: Use ev_qmp for pci_remove" as the culprit.

Thanks for the report and the bisection!

I've sent a patch which I think should fix this.

Cheers,

-- 
Anthony PERARD

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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