All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Two fixes for libxl's PCI detach operation
@ 2014-11-10 23:16 Boris Ostrovsky
  2014-11-10 23:16 ` [PATCH 1/2] libxl: Wait until QEMU removed the device before tearing it down Boris Ostrovsky
  2014-11-10 23:16 ` [PATCH 2/2] libxl: Simplify cleanup in do_pci_remove() Boris Ostrovsky
  0 siblings, 2 replies; 21+ messages in thread
From: Boris Ostrovsky @ 2014-11-10 23:16 UTC (permalink / raw)
  To: ian.jackson, stefano.stabellini, ian.campbell, wei.liu2
  Cc: boris.ostrovsky, xen-devel


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(-)

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2014-11-14 21:50 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-10 23:16 [PATCH 0/2] Two fixes for libxl's PCI detach operation Boris Ostrovsky
2014-11-10 23:16 ` [PATCH 1/2] libxl: Wait until QEMU removed the device before tearing it down Boris Ostrovsky
2014-11-14 14:41   ` Ian Jackson
2014-11-14 15:30     ` Boris Ostrovsky
2014-11-14 16:01       ` Ian Jackson
2014-11-14 16:24         ` Boris Ostrovsky
2014-11-14 16:31           ` Ian Jackson
2014-11-14 16:37             ` Boris Ostrovsky
2014-11-14 16:36               ` Ian Jackson
2014-11-14 16:58                 ` Boris Ostrovsky
2014-11-14 17:45             ` Sander Eikelenboom
2014-11-14 18:07               ` Ian Jackson
2014-11-14 19:24                 ` Sander Eikelenboom
2014-11-14 21:09                   ` Boris Ostrovsky
2014-11-14 21:20                     ` Sander Eikelenboom
2014-11-14 21:38                       ` Boris Ostrovsky
2014-11-14 21:50                         ` Sander Eikelenboom
2014-11-14 16:19   ` Ian Jackson
2014-11-14 17:09     ` Boris Ostrovsky
2014-11-14 17:33       ` Ian Jackson
2014-11-10 23:16 ` [PATCH 2/2] libxl: Simplify cleanup in do_pci_remove() Boris Ostrovsky

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.