qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH RFC 0/6] vhost-user: add migration log support


From: Marc-André Lureau
Subject: [Qemu-devel] [PATCH RFC 0/6] vhost-user: add migration log support
Date: Thu, 23 Jul 2015 03:36:37 +0200

Hi,

The following series implement shareable log for vhost-user to support
memory tracking during live migration. On qemu-side, the solution is
fairly straightfoward since vhost already supports the dirty log, only
vhost-user couldn't access the log memory until then.

The series is based on top of "protocol feature negotiation" series
proposed earlier by Michael S. Tsirkin.

The last patch provides some documentation on what the backend is
supposed to do to handle logging properly. I tested this solution
against a modified "vapp": https://github.com/elmarco/vapp branch
"log"

The development branch I used is:
https://github.com/elmarco/qemu branch "vhost-user"

Comments welcome!

Marc-André Lureau (6):
  configure: probe for memfd
  posix: add linux-only memfd fallback
  osdep: add memfd helpers
  vhost: alloc shareable log
  vhost-user: send log shm fd along with log_base
  vhost-user: document migration log

 configure                 | 19 ++++++++++++++
 docs/specs/vhost-user.txt | 40 +++++++++++++++++++++++++++++
 hw/virtio/vhost-user.c    | 13 ++++++++--
 hw/virtio/vhost.c         | 42 ++++++++++++++++++++++++-------
 include/hw/virtio/vhost.h |  3 ++-
 include/qemu/osdep.h      | 64 +++++++++++++++++++++++++++++++++++++++++++++++
 util/oslib-posix.c        | 62 +++++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 231 insertions(+), 12 deletions(-)

-- 
2.4.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]