qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [RFC PATCH 0/4] asynchronous migration state change handler


From: Yonit Halperin
Subject: [Qemu-devel] [RFC PATCH 0/4] asynchronous migration state change handlers
Date: Wed, 30 May 2012 12:02:35 +0300

Hi,

This patch series introduces async handlers for notifiers, and integrates them
with migration state change notifications.

Asynchronous migration completion notifier is essential for allowing spice to 
cleanly
complete the src server connection to the client and transfer it to the target.
Currently, as soon as the migration is completed, the src qemu can be closed by 
the
management, and spice cannot complete the spice-connection migration.

In order to support spice seamless migration, next to these patches, I would
also like to add asynchronous vmstate pre_save. This will allow spice to employ
vmstate for migrating spice in-flight data, e.g., usb buffers that were sent 
from
the client and reached the server after the vm was stopped.

Regards,
Yonit.

Yonit Halperin (4):
  notifiers: add support for async notifiers handlers
  migration: moving migration start code to a separated routine
  migration: moving migration completion code to a separated routine
  migration: replace migration state change notifier with async
    notifiers

 input.c         |    2 +-
 migration.c     |  154 ++++++++++++++++++++++++++++++++++++++++---------------
 migration.h     |   11 +++-
 notify.c        |   79 +++++++++++++++++++++++++++--
 notify.h        |   55 ++++++++++++++++++--
 qemu-timer.c    |    2 +-
 ui/spice-core.c |   31 ++++++++----
 vl.c            |    2 +-
 8 files changed, 270 insertions(+), 66 deletions(-)

-- 
1.7.7.6




reply via email to

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