All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC 0/1] Incoming migration vs early monitor commands
@ 2015-01-29 15:06 Dr. David Alan Gilbert (git)
  2015-01-29 15:06 ` [Qemu-devel] [RFC 1/1] Execute arbitrary QMP commands from command line Dr. David Alan Gilbert (git)
                   ` (2 more replies)
  0 siblings, 3 replies; 32+ messages in thread
From: Dr. David Alan Gilbert (git) @ 2015-01-29 15:06 UTC (permalink / raw)
  To: qemu-devel; +Cc: amit.shah, liang.z.li, quintela

From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>

The attached patch allows you to execute QMP commands from the command
line prior to -incoming or loadvm.

I've hit a few cases where we need to pass some state to an incoming
migration, either:
  1) Before it starts processing data
    e.g. Liang Li's compression patches that have a parameter for the
    number of decompression threads

  2) Before the socket is set up
    so we can influence the connection made; e.g. specify we need to
    have a return path for postcopy, or potentially open multiple connections

For tcp migration you can use the monitor for (1) prior to the accept;
but it's no use for exec or fd.

I'd previously suggested adding option parsing to the -incoming URI; but
then I realised just being able to execute arbitrary QMP commands might
be simpler, and we get reuse of all the migrate capability/parameter
stuff for free, and maybe the arbitrary QMP commands are useful for
something else.

Thoughts?

Dave

Dr. David Alan Gilbert (1):
  Execute arbitrary QMP commands from command line

 include/monitor/monitor.h |  1 +
 monitor.c                 | 41 +++++++++++++++++++++++++++++++++++++++++
 qemu-options.hx           |  9 +++++++++
 vl.c                      | 37 ++++++++++++++++++++++++++++++++++++-
 4 files changed, 87 insertions(+), 1 deletion(-)

-- 
2.1.0

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

end of thread, other threads:[~2015-02-03 11:02 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-29 15:06 [Qemu-devel] [RFC 0/1] Incoming migration vs early monitor commands Dr. David Alan Gilbert (git)
2015-01-29 15:06 ` [Qemu-devel] [RFC 1/1] Execute arbitrary QMP commands from command line Dr. David Alan Gilbert (git)
2015-01-29 15:15   ` Daniel P. Berrange
2015-01-29 15:21     ` Eric Blake
2015-01-29 15:54       ` Dr. David Alan Gilbert
2015-01-29 16:01         ` Eric Blake
2015-01-29 16:28           ` Dr. David Alan Gilbert
2015-01-29 17:45             ` Eric Blake
2015-01-29 20:21               ` Dr. David Alan Gilbert
2015-01-29 20:48                 ` Eric Blake
2015-01-30  9:38                   ` Dr. David Alan Gilbert
2015-01-30  9:50                     ` Paolo Bonzini
2015-01-30  9:56                       ` Dr. David Alan Gilbert
2015-02-03 10:12                       ` Amit Shah
2015-02-03 11:02                         ` Paolo Bonzini
2015-01-30  9:50                     ` Daniel P. Berrange
2015-01-30  8:34                 ` Markus Armbruster
2015-01-30  9:20                   ` Dr. David Alan Gilbert
2015-01-30  9:43                     ` Markus Armbruster
2015-01-30  8:35       ` Markus Armbruster
2015-01-29 15:22     ` Dr. David Alan Gilbert
2015-01-29 15:31       ` Daniel P. Berrange
2015-01-29 15:46         ` Dr. David Alan Gilbert
2015-01-29 15:50           ` Eric Blake
2015-01-29 15:56             ` Dr. David Alan Gilbert
2015-01-29 15:58           ` Daniel P. Berrange
2015-01-30  9:52       ` Paolo Bonzini
2015-01-30 10:02         ` Dr. David Alan Gilbert
2015-01-30 10:27           ` Paolo Bonzini
2015-01-29 15:25 ` [Qemu-devel] [RFC 0/1] Incoming migration vs early monitor commands Eric Blake
2015-01-29 23:08 ` Paolo Bonzini
2015-01-30  9:42   ` Dr. David Alan Gilbert

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.