Index: new/qapi-schema.json
===================================================================
---- new.orig/qapi-schema.json 2012-09-24 06:12:15.000000000 +0200
-+++ new/qapi-schema.json 2012-09-24 06:14:10.000000000 +0200
+--- new.orig/qapi-schema.json 2012-09-24 07:15:00.000000000 +0200
++++ new/qapi-schema.json 2012-09-24 07:15:34.000000000 +0200
@@ -358,6 +358,40 @@
'*total-time': 'int'} }
+{ 'command': 'savevm-end' }
Index: new/qmp-commands.hx
===================================================================
---- new.orig/qmp-commands.hx 2012-09-24 06:12:15.000000000 +0200
-+++ new/qmp-commands.hx 2012-09-24 06:15:13.000000000 +0200
+--- new.orig/qmp-commands.hx 2012-09-24 07:15:00.000000000 +0200
++++ new/qmp-commands.hx 2012-09-24 07:15:34.000000000 +0200
@@ -2514,3 +2514,27 @@
.args_type = "",
.mhandler.cmd_new = qmp_marshal_input_query_target,
+ },
Index: new/hmp.c
===================================================================
---- new.orig/hmp.c 2012-09-24 06:12:15.000000000 +0200
-+++ new/hmp.c 2012-09-24 06:21:35.000000000 +0200
+--- new.orig/hmp.c 2012-09-24 07:15:00.000000000 +0200
++++ new/hmp.c 2012-09-24 07:15:34.000000000 +0200
@@ -1102,3 +1102,60 @@
qmp_closefd(fdname, &errp);
hmp_handle_error(mon, &errp);
+}
Index: new/hmp.h
===================================================================
---- new.orig/hmp.h 2012-09-24 06:12:15.000000000 +0200
-+++ new/hmp.h 2012-09-24 06:23:00.000000000 +0200
+--- new.orig/hmp.h 2012-09-24 07:15:00.000000000 +0200
++++ new/hmp.h 2012-09-24 07:15:34.000000000 +0200
@@ -25,6 +25,7 @@
void hmp_info_uuid(Monitor *mon);
void hmp_info_chardev(Monitor *mon);
#endif
Index: new/hmp-commands.hx
===================================================================
---- new.orig/hmp-commands.hx 2012-09-24 06:12:15.000000000 +0200
-+++ new/hmp-commands.hx 2012-09-24 06:16:14.000000000 +0200
+--- new.orig/hmp-commands.hx 2012-09-24 07:15:00.000000000 +0200
++++ new/hmp-commands.hx 2012-09-24 07:15:34.000000000 +0200
@@ -1468,6 +1468,8 @@
show current migration capabilities
@item info migrate_cache_size
Index: new/savevm-async.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ new/savevm-async.c 2012-09-24 06:19:58.000000000 +0200
++++ new/savevm-async.c 2012-09-24 07:15:34.000000000 +0200
@@ -0,0 +1,441 @@
+#include "qemu-common.h"
+#include "qerror.h"
+}
Index: new/Makefile.objs
===================================================================
---- new.orig/Makefile.objs 2012-09-24 06:12:15.000000000 +0200
-+++ new/Makefile.objs 2012-09-24 06:12:21.000000000 +0200
+--- new.orig/Makefile.objs 2012-09-24 07:15:00.000000000 +0200
++++ new/Makefile.objs 2012-09-24 07:15:34.000000000 +0200
@@ -78,6 +78,7 @@
common-obj-y += pflib.o
common-obj-y += bitmap.o bitops.o
common-obj-$(CONFIG_WIN32) += version.o
Index: new/sysemu.h
===================================================================
---- new.orig/sysemu.h 2012-09-24 06:12:15.000000000 +0200
-+++ new/sysemu.h 2012-09-24 06:12:21.000000000 +0200
+--- new.orig/sysemu.h 2012-09-24 07:15:00.000000000 +0200
++++ new/sysemu.h 2012-09-24 07:15:34.000000000 +0200
@@ -72,6 +72,7 @@
void do_savevm(Monitor *mon, const QDict *qdict);
Index: new/qemu-options.hx
===================================================================
---- new.orig/qemu-options.hx 2012-09-24 06:12:21.000000000 +0200
-+++ new/qemu-options.hx 2012-09-24 06:12:21.000000000 +0200
+--- new.orig/qemu-options.hx 2012-09-24 07:15:20.000000000 +0200
++++ new/qemu-options.hx 2012-09-24 07:15:34.000000000 +0200
@@ -2477,6 +2477,19 @@
Start right away with a saved state (@code{loadvm} in monitor)
ETEXI
"-daemonize daemonize QEMU after initializing\n", QEMU_ARCH_ALL)
Index: new/vl.c
===================================================================
---- new.orig/vl.c 2012-09-24 06:12:21.000000000 +0200
-+++ new/vl.c 2012-09-24 06:12:21.000000000 +0200
+--- new.orig/vl.c 2012-09-24 07:15:24.000000000 +0200
++++ new/vl.c 2012-09-24 07:15:34.000000000 +0200
@@ -2364,6 +2364,7 @@
int optind;
const char *optarg;