All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/5] virtio-9p: hotplug and migration support
@ 2015-10-12  8:57 Greg Kurz
  2015-10-12  9:00 ` [Qemu-devel] [PATCH v2 1/5] virtio-9p-coth: fix init function Greg Kurz
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Greg Kurz @ 2015-10-12  8:57 UTC (permalink / raw)
  To: qemu-devel
  Cc: Cornelia Huck, Michael S. Tsirkin, Alexander Graf,
	Andreas Färber, aneesh.kumar

Hi,

We already have a blocker to prevent migration of an active virtio-9p device.
But in fact, there is no migration support at all for 9p, even if the device
is considered to be quiescent (when the VirtFS share is not mounted): migration
succeeds but the device is lost in the restarted guest.
Hotunplug of a virtio-9p device is not supported either (no unrealize handler)
and leads to a QEMU crash on the source node, if one unplugs and migrates.

This series tries to fix that and brings hotplug and migration support of
*quiescent* virtio-9p devices.

The most notable change since my previous post is the introduction of an unplug
blocker (patch 2/5 and 3/5). I also reworked the series so that some fixes
appear in more appropriate patches (see individual changelogs).

Please comment.

--
Greg

---

Greg Kurz (5):
      virtio-9p-coth: fix init function
      qdev: add the HotUnpluggable handler
      virtio-9p: block hot-unplug when device is active
      virtio-9p: add unrealize handler
      virtio-9p: add savem handlers


 hw/9pfs/virtio-9p-coth.c   |   22 ++++++++++++++++++----
 hw/9pfs/virtio-9p-coth.h   |    2 ++
 hw/9pfs/virtio-9p-device.c |   24 ++++++++++++++++++++++++
 hw/9pfs/virtio-9p.c        |   14 ++++++++++++++
 hw/9pfs/virtio-9p.h        |    2 ++
 hw/core/qdev.c             |    4 ++++
 hw/s390x/virtio-ccw.c      |    8 ++++++++
 hw/virtio/virtio-pci.c     |    8 ++++++++
 include/hw/qdev-core.h     |    4 ++++
 9 files changed, 84 insertions(+), 4 deletions(-)

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

end of thread, other threads:[~2015-10-15 15:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-12  8:57 [Qemu-devel] [PATCH v2 0/5] virtio-9p: hotplug and migration support Greg Kurz
2015-10-12  9:00 ` [Qemu-devel] [PATCH v2 1/5] virtio-9p-coth: fix init function Greg Kurz
2015-10-12  9:00 ` [Qemu-devel] [PATCH v2 2/5] qdev: add the HotUnpluggable handler Greg Kurz
2015-10-15 15:14   ` Cornelia Huck
2015-10-15 15:53     ` Greg Kurz
2015-10-12  9:00 ` [Qemu-devel] [PATCH v2 3/5] virtio-9p: block hot-unplug when device is active Greg Kurz
2015-10-12  9:03 ` [Qemu-devel] [PATCH v2 4/5] virtio-9p: add unrealize handler Greg Kurz
2015-10-12  9:03 ` [Qemu-devel] [PATCH v2 5/5] virtio-9p: add savem handlers Greg Kurz

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.