From: Yonit Halperin <yhalperi@redhat.com>
To: qemu-devel@nongnu.org
Cc: Yonit Halperin <yhalperi@redhat.com>,
kraxel@redhat.com, spice-devel@freedesktop.org
Subject: [Qemu-devel] [PATCH v2 0/2] spice migration interface v2 (RHBZ 737921)
Date: Mon, 17 Oct 2011 10:03:17 +0200 [thread overview]
Message-ID: <1318838599-15317-1-git-send-email-yhalperi@redhat.com> (raw)
Same as the previous series with a small fix to
allow compliation without Spice disabled.
Yonit
------------------------------------
Spice client is required to connect to the migration target before/as migration
starts. Previously, it connected upon migration completion, however, the ticket
was set in the beginning, thus when migration time was >
ticket_expiration_time, spice failed to connect to the target.
Since the migration target is blocked after migration starts, we execute spice-client connection to the target before migration, upon client_migrate_info. We wait till the client is connected to the target, or till a timeout occurs.
In order to not block the iothread, this patch turns client_migrate_info to
asynchronous.
In addition, we changed the spice api:
(1) client_migrate_info need to call spice_server_migrate_connect
(2) spice_server_migrate_start/end need to be called upon migration start/end
** spice_server_start and the migrate_end_complete callback, were added for
future use, in case we implement a real seamless spice migration
Yonit Halperin (2):
spice: turn client_migrate_info to async
spice: support the new migration interface (spice 0.8.3)
hmp-commands.hx | 3 +-
monitor.c | 6 +++-
qmp-commands.hx | 3 +-
ui/qemu-spice.h | 14 +++++++++--
ui/spice-core.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++---
5 files changed, 81 insertions(+), 11 deletions(-)
--
1.7.6.4
next reply other threads:[~2011-10-17 8:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-17 8:03 Yonit Halperin [this message]
2011-10-17 8:03 ` [Qemu-devel] [PATCH v2 1/2] spice: turn client_migrate_info to async Yonit Halperin
2011-10-17 8:03 ` [Qemu-devel] [PATCH v2 2/2] spice: support the new migration interface (spice 0.8.3) Yonit Halperin
2011-10-17 10:00 ` [Qemu-devel] [PATCH v2 0/2] spice migration interface v2 (RHBZ 737921) Gerd Hoffmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1318838599-15317-1-git-send-email-yhalperi@redhat.com \
--to=yhalperi@redhat.com \
--cc=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=spice-devel@freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).