[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC 0/1] Incoming migration vs early monitor commands
From: |
Dr. David Alan Gilbert (git) |
Subject: |
[Qemu-devel] [RFC 0/1] Incoming migration vs early monitor commands |
Date: |
Thu, 29 Jan 2015 15:06:36 +0000 |
From: "Dr. David Alan Gilbert" <address@hidden>
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
- [Qemu-devel] [RFC 0/1] Incoming migration vs early monitor commands,
Dr. David Alan Gilbert (git) <=
- [Qemu-devel] [RFC 1/1] Execute arbitrary QMP commands from command line, Dr. David Alan Gilbert (git), 2015/01/29
- Re: [Qemu-devel] [RFC 1/1] Execute arbitrary QMP commands from command line, Daniel P. Berrange, 2015/01/29
- Re: [Qemu-devel] [RFC 1/1] Execute arbitrary QMP commands from command line, Eric Blake, 2015/01/29
- Re: [Qemu-devel] [RFC 1/1] Execute arbitrary QMP commands from command line, Dr. David Alan Gilbert, 2015/01/29
- Re: [Qemu-devel] [RFC 1/1] Execute arbitrary QMP commands from command line, Eric Blake, 2015/01/29
- Re: [Qemu-devel] [RFC 1/1] Execute arbitrary QMP commands from command line, Dr. David Alan Gilbert, 2015/01/29
- Re: [Qemu-devel] [RFC 1/1] Execute arbitrary QMP commands from command line, Eric Blake, 2015/01/29
- Re: [Qemu-devel] [RFC 1/1] Execute arbitrary QMP commands from command line, Dr. David Alan Gilbert, 2015/01/29
- Re: [Qemu-devel] [RFC 1/1] Execute arbitrary QMP commands from command line, Eric Blake, 2015/01/29
- Re: [Qemu-devel] [RFC 1/1] Execute arbitrary QMP commands from command line, Dr. David Alan Gilbert, 2015/01/30