qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] client_migrate_switch and auto_switch (RHBZ 725009)
@ 2011-08-19 17:08 Alon Levy
  2011-08-19 17:08 ` [Qemu-devel] [PATCH 1/3] monitor: refactor whitespace and optional argument parsing Alon Levy
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Alon Levy @ 2011-08-19 17:08 UTC (permalink / raw)
  To: qemu-devel; +Cc: kraxel

Fix the ticket expiration on target vm for a spice connection without introducing
a race between the spice server switching the client to the new host itself and
the target libvirt setting the new expiration date, by adding an option to
client_migrate_info to not automatically switch the client on migration completion,
instead waiting for an explicit client_migrate_switch (new monitor command) from
libvirt.

The first patch is more of an RFC, it fixes the missing optional argument
support for boolean arguments, instead of doing it as a simple copy paste done
for all the other arguments it refactors that parsing before the main switch.

Alon Levy (3):
  monitor: refactor whitespace and optional argument parsing
  spice-core: client_migrate_info: add optional auto_switch parameter
    (RHBZ 725009)
  monitor: add client_migrate_switch command (RHBZ 725009)

 hmp-commands.hx |   21 +++++++++--
 monitor.c       |  106 +++++++++++++++++++++++++++++--------------------------
 qmp-commands.hx |   32 +++++++++++++++-
 ui/qemu-spice.h |    7 +++-
 ui/spice-core.c |   18 ++++++++-
 5 files changed, 126 insertions(+), 58 deletions(-)

-- 
1.7.6

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

end of thread, other threads:[~2011-08-26 13:13 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-19 17:08 [Qemu-devel] [PATCH 0/3] client_migrate_switch and auto_switch (RHBZ 725009) Alon Levy
2011-08-19 17:08 ` [Qemu-devel] [PATCH 1/3] monitor: refactor whitespace and optional argument parsing Alon Levy
2011-08-19 17:08 ` [Qemu-devel] [PATCH 2/3] spice-core: client_migrate_info: add optional auto_switch parameter (RHBZ 725009) Alon Levy
2011-08-19 17:08 ` [Qemu-devel] [PATCH 3/3] monitor: add client_migrate_switch command " Alon Levy
2011-08-26  9:54 ` [Qemu-devel] [PATCH 0/3] client_migrate_switch and auto_switch " Gerd Hoffmann
2011-08-26 10:03   ` Daniel P. Berrange
2011-08-26 10:17     ` Gerd Hoffmann
2011-08-26 10:43       ` Alon Levy
2011-08-26 11:00         ` Gerd Hoffmann
2011-08-26 11:04           ` Daniel P. Berrange
2011-08-26 12:39             ` Gerd Hoffmann
2011-08-26 13:13               ` Daniel P. Berrange
2011-08-26 10:23     ` Alon Levy

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