qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/13] convert savevm to use qapi and introduce qmp command
@ 2013-01-09 15:17 Pavel Hrdina
  2013-01-09 15:17 ` [Qemu-devel] [PATCH 01/13] block: add error parameter to bdrv_snapshot_create() and related functions Pavel Hrdina
                   ` (13 more replies)
  0 siblings, 14 replies; 21+ messages in thread
From: Pavel Hrdina @ 2013-01-09 15:17 UTC (permalink / raw)
  To: qemu-devel; +Cc: Pavel Hrdina, phrdina, lcapitulino

This patch series convert the savevm command into qapi and introduce QMP
command vm-snapshot-save.
It also rewrite error report for functions used by this command.

Last patch introduce new functionality of savevm and vm-snapshot-save
that you cannot override existing snapshot without using 'force' parameter
and for QMP you have to always provide name parameter.

Pavel Hrdina (13):
  block: add error parameter to bdrv_snapshot_create() and related
    functions
  block: add error parameter to del_existing_snapshots()
  savevm: add error parameter to qemu_savevm_state_begin()
  savevm: add error parameter to qemu_savevm_state_iterate()
  savevm: add error parameter to qemu_savevm_state_complete()
  savevm: add error parameter to qemu_savevm_state()
  qapi: Convert savevm
  qemu-img: introduce qemu_img_handle_error
  block: update return value from bdrv_snapshot_create
  savevm: update return value from qemu_savevm_state_begin
  savevm: update return value from qemu_savevm_state_complete
  savevm: update return value from qemu_savevm_state
  vm-snapshot-save: add force parameter

 block.c                   |  26 ++++++----
 block/qcow2-snapshot.c    |  14 ++++--
 block/qcow2.h             |   4 +-
 block/rbd.c               |  15 ++++--
 block/sheepdog.c          |  21 ++++----
 hmp-commands.hx           |  17 +++----
 hmp.c                     |  32 +++++++++++++
 hmp.h                     |   1 +
 include/block/block.h     |   3 +-
 include/block/block_int.h |   3 +-
 include/sysemu/sysemu.h   |   8 ++--
 migration.c               |   6 +--
 qapi-schema.json          |  21 ++++++++
 qemu-img.c                |  18 +++++--
 qmp-commands.hx           |  32 +++++++++++++
 savevm.c                  | 120 +++++++++++++++++++++++++---------------------
 16 files changed, 237 insertions(+), 104 deletions(-)

-- 
1.8.1

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

end of thread, other threads:[~2013-01-10 11:55 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-09 15:17 [Qemu-devel] [PATCH 00/13] convert savevm to use qapi and introduce qmp command Pavel Hrdina
2013-01-09 15:17 ` [Qemu-devel] [PATCH 01/13] block: add error parameter to bdrv_snapshot_create() and related functions Pavel Hrdina
2013-01-09 15:17 ` [Qemu-devel] [PATCH 02/13] block: add error parameter to del_existing_snapshots() Pavel Hrdina
2013-01-09 15:17 ` [Qemu-devel] [PATCH 03/13] savevm: add error parameter to qemu_savevm_state_begin() Pavel Hrdina
2013-01-09 15:17 ` [Qemu-devel] [PATCH 04/13] savevm: add error parameter to qemu_savevm_state_iterate() Pavel Hrdina
2013-01-09 15:17 ` [Qemu-devel] [PATCH 05/13] savevm: add error parameter to qemu_savevm_state_complete() Pavel Hrdina
2013-01-09 15:18 ` [Qemu-devel] [PATCH 06/13] savevm: add error parameter to qemu_savevm_state() Pavel Hrdina
2013-01-09 15:18 ` [Qemu-devel] [PATCH 07/13] qapi: Convert savevm Pavel Hrdina
2013-01-09 22:32   ` Eric Blake
2013-01-10  5:50     ` Wenchao Xia
2013-01-09 15:18 ` [Qemu-devel] [PATCH 08/13] qemu-img: introduce qemu_img_handle_error Pavel Hrdina
2013-01-09 15:18 ` [Qemu-devel] [PATCH 09/13] block: update return value from bdrv_snapshot_create Pavel Hrdina
2013-01-09 15:18 ` [Qemu-devel] [PATCH 10/13] savevm: update return value from qemu_savevm_state_begin Pavel Hrdina
2013-01-09 15:18 ` [Qemu-devel] [PATCH 11/13] savevm: update return value from qemu_savevm_state_complete Pavel Hrdina
2013-01-09 15:18 ` [Qemu-devel] [PATCH 12/13] savevm: update return value from qemu_savevm_state Pavel Hrdina
2013-01-09 22:39   ` Eric Blake
2013-01-10 10:35     ` Pavel Hrdina
2013-01-09 15:18 ` [Qemu-devel] [PATCH 13/13] vm-snapshot-save: add force parameter Pavel Hrdina
2013-01-09 22:47   ` Eric Blake
2013-01-10 11:54     ` Pavel Hrdina
2013-01-09 15:34 ` [Qemu-devel] [PATCH 00/13] convert savevm to use qapi and introduce qmp command Pavel Hrdina

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