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

[Xen-devel] [PATCH 0/2] Two fixes for libxl's PCI detach operation



Two patches to fix 'xl pci-detach'/do_pci_remove() behavior.
* Prevent libxl from resetting device (and removing it from xenstore)
  before QEMU responded to the guest's 'eject' write
* Remove unnecessary calls to xc_physdev_unmap_pirq() and
  xc_domain_irq_permission()

If patches are acceptable I suggest including the first one in 4.5 as
it fixes a bug. The second patch is about removing harmless but annoying
error messages so it can wait.

This has been tested by Konrad for HVM guests. His tests failed with PV
guests. However, they failed in the same manner without these patches so
it's unlikely that these two introduced a regression. My PV tests worked
fine (except for a warning in the guest, but again, I had the same
warning before changes).

Boris Ostrovsky (2):
  libxl: Wait until QEMU removed the device before tearing it down
  libxl: Simplify cleanup in do_pci_remove()

 tools/libxl/libxl_internal.h |    1 +
 tools/libxl/libxl_pci.c      |   54 +++++++++++++++++++++++++----------
 tools/libxl/libxl_qmp.c      |   64 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 104 insertions(+), 15 deletions(-)


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


 


Rackspace

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