qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/18] qapi: Convert savevm, loadvm, delvm and info snapshots
@ 2012-08-15  7:41 Pavel Hrdina
  2012-08-15  7:41 ` [Qemu-devel] [PATCH 01/18] qerror: introduce QERR_GENERIC_ERROR Pavel Hrdina
                   ` (18 more replies)
  0 siblings, 19 replies; 41+ messages in thread
From: Pavel Hrdina @ 2012-08-15  7:41 UTC (permalink / raw)
  To: qemu-devel; +Cc: Pavel Hrdina

This patch series convert these commands into qapi and intruduce QMP commands
vm-snapshot-save, vm-snapshot-load, vm-snapshot-delete and query-vm-snapshots.
It also rewrite error report for function used by these commands.

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

Pavel Hrdina (18):
  qerror: introduce QERR_GENERIC_ERROR
  block: add error parameter to bdrv_snapshot_create() and related
    functions
  block: add error parameter to bdrv_snapshot_goto() and related
    functions
  block: add error parameter to bdrv_snapshot_delete() and related
    functions
  block: add error parameter to bdrv_snapshot_list() and related
    functions
  block: add error parameter to bdrv_snapshot_find()
  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()
  savevm: add error parameter to qemu_loadvm_state()
  qapi: Convert savevm
  qapi: Convert loadvm
  qapi: Convert delvm
  qapi: Convert info snapshots
  hmp: allow "bool" parameter to be optional
  vm-snapshot-save: add force parameter

 block.c                | 102 +++++++++++------
 block.h                |  13 ++-
 block/qcow2-snapshot.c |  33 +++++-
 block/qcow2.h          |  16 ++-
 block/rbd.c            |  36 ++++--
 block/sheepdog.c       |  48 +++++---
 block_int.h            |  13 ++-
 hmp-commands.hx        |  20 ++--
 hmp.c                  |  86 ++++++++++++++
 hmp.h                  |   4 +
 migration.c            |   8 +-
 monitor.c              |  17 +--
 qapi-schema.json       |  84 ++++++++++++++
 qemu-img.c             |   8 +-
 qerror.h               |   3 +
 qmp-commands.hx        | 110 ++++++++++++++++++
 savevm.c               | 301 +++++++++++++++++++++++++------------------------
 sysemu.h               |  17 ++-
 vl.c                   |   7 +-
 19 files changed, 659 insertions(+), 267 deletions(-)

-- 
1.7.11.2

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

end of thread, other threads:[~2012-09-10 17:02 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-15  7:41 [Qemu-devel] [PATCH 00/18] qapi: Convert savevm, loadvm, delvm and info snapshots Pavel Hrdina
2012-08-15  7:41 ` [Qemu-devel] [PATCH 01/18] qerror: introduce QERR_GENERIC_ERROR Pavel Hrdina
2012-08-30 12:11   ` Luiz Capitulino
2012-09-06  8:34     ` Pavel Hrdina
2012-08-15  7:41 ` [Qemu-devel] [PATCH 02/18] block: add error parameter to bdrv_snapshot_create() and related functions Pavel Hrdina
2012-08-30 14:47   ` Luiz Capitulino
2012-08-31  6:26     ` Markus Armbruster
2012-08-31 12:18       ` Kevin Wolf
2012-08-31 13:13         ` Luiz Capitulino
2012-08-31 13:09       ` Luiz Capitulino
2012-09-06  9:07     ` Pavel Hrdina
2012-09-10 17:03       ` Luiz Capitulino
2012-08-15  7:41 ` [Qemu-devel] [PATCH 03/18] block: add error parameter to bdrv_snapshot_goto() " Pavel Hrdina
2012-08-30 15:07   ` Luiz Capitulino
2012-08-15  7:41 ` [Qemu-devel] [PATCH 04/18] block: add error parameter to bdrv_snapshot_delete() " Pavel Hrdina
2012-08-15  7:41 ` [Qemu-devel] [PATCH 05/18] block: add error parameter to bdrv_snapshot_list() " Pavel Hrdina
2012-08-15  7:41 ` [Qemu-devel] [PATCH 06/18] block: add error parameter to bdrv_snapshot_find() Pavel Hrdina
2012-08-15  7:41 ` [Qemu-devel] [PATCH 07/18] block: add error parameter to del_existing_snapshots() Pavel Hrdina
2012-08-15  7:41 ` [Qemu-devel] [PATCH 08/18] savevm: add error parameter to qemu_savevm_state_begin() Pavel Hrdina
2012-08-15  7:41 ` [Qemu-devel] [PATCH 09/18] savevm: add error parameter to qemu_savevm_state_iterate() Pavel Hrdina
2012-08-15  7:41 ` [Qemu-devel] [PATCH 10/18] savevm: add error parameter to qemu_savevm_state_complete() Pavel Hrdina
2012-08-15  7:41 ` [Qemu-devel] [PATCH 11/18] savevm: add error parameter to qemu_savevm_state() Pavel Hrdina
2012-08-15  7:41 ` [Qemu-devel] [PATCH 12/18] savevm: add error parameter to qemu_loadvm_state() Pavel Hrdina
2012-08-30 17:09   ` Luiz Capitulino
2012-09-06  8:33     ` Pavel Hrdina
2012-08-15  7:41 ` [Qemu-devel] [PATCH 13/18] qapi: Convert savevm Pavel Hrdina
2012-08-15 19:49   ` Eric Blake
2012-08-16 10:16     ` Pavel Hrdina
2012-08-15  7:41 ` [Qemu-devel] [PATCH 14/18] qapi: Convert loadvm Pavel Hrdina
2012-08-16  3:31   ` Eric Blake
2012-08-16  4:34     ` Eric Blake
2012-08-15  7:41 ` [Qemu-devel] [PATCH 15/18] qapi: Convert delvm Pavel Hrdina
2012-08-15  7:41 ` [Qemu-devel] [PATCH 16/18] qapi: Convert info snapshots Pavel Hrdina
2012-08-16  4:36   ` Eric Blake
2012-08-16 10:17     ` Pavel Hrdina
2012-08-15  7:41 ` [Qemu-devel] [PATCH 17/18] hmp: allow "bool" parameter to be optional Pavel Hrdina
2012-08-16  4:39   ` Eric Blake
2012-08-15  7:41 ` [Qemu-devel] [PATCH 18/18] vm-snapshot-save: add force parameter Pavel Hrdina
2012-08-16  5:00   ` Eric Blake
2012-08-16 10:19     ` Pavel Hrdina
2012-08-30 17:15 ` [Qemu-devel] [PATCH 00/18] qapi: Convert savevm, loadvm, delvm and info snapshots Luiz Capitulino

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