[Qemu-devel] [PATCH 0/2] add writeconfig command on monitor

Eduardo Otubo posted 2 patches 7 years, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20170215101427.23736-1-eduardo.otubo@profitbricks.com
Test checkpatch passed
Test docker passed
Test s390x passed
hmp-commands.hx  | 14 ++++++++++++++
hmp.c            | 10 +++++++++-
hmp.h            |  1 +
qapi-schema.json | 20 ++++++++++++++++++++
ui/console.c     | 14 ++++++++++++++
5 files changed, 58 insertions(+), 1 deletion(-)
[Qemu-devel] [PATCH 0/2] add writeconfig command on monitor
Posted by Eduardo Otubo 7 years, 2 months ago
This first patch extends the command line option `-writeconfig <file>' to a
command on HMP and QMP monitors. This is useful when live migrating after a
series of device hot plug events. One can just generate an updated config file
for the vm, transport it to the target host and start the vm with `-readconfig
<file>'.

The second patch re-includes the reference of the memory object on the config
file generated.

Eduardo Otubo (2):
  qmp/hmp: add writeconfig
  object_add not registering option

 hmp-commands.hx  | 14 ++++++++++++++
 hmp.c            | 10 +++++++++-
 hmp.h            |  1 +
 qapi-schema.json | 20 ++++++++++++++++++++
 ui/console.c     | 14 ++++++++++++++
 5 files changed, 58 insertions(+), 1 deletion(-)

-- 
2.11.0