qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/2] Group Live Snapshots
@ 2012-02-28 14:02 Jeff Cody
  2012-02-28 14:02 ` [Qemu-devel] [PATCH v4 1/2] qapi: Introduce blockdev-group-snapshot-sync command Jeff Cody
  2012-02-28 14:02 ` [Qemu-devel] [PATCH v4 2/2] QMP: Add qmp command for blockdev-group-snapshot-sync Jeff Cody
  0 siblings, 2 replies; 3+ messages in thread
From: Jeff Cody @ 2012-02-28 14:02 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, stefanha, armbru, lcapitulino, pbonzini, eblake

This patchset adds the ability to take a snapshot of a group of devices,
rather than each device individually.  Upon failure of any snapshot, all
snapshots taken by the command will be abandoned, and the appropriate failure
code returned.

All the changes from v3 to v4 are in patch 1/2. This differs from v3 in that:
    * blockdev.c
        - QSIMPLEQ_INSERT_TAIL() moved to right after the malloc
    * block.c
        - tmp.backing_file set as well


Jeff Cody (2):
  qapi: Introduce blockdev-group-snapshot-sync command
  QMP: Add qmp command for blockdev-group-snapshot-sync

 block.c          |   81 +++++++++++++++++++++++++++++++++
 block.h          |    1 +
 block_int.h      |    6 +++
 blockdev.c       |  132 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 qapi-schema.json |   38 +++++++++++++++
 qmp-commands.hx  |   39 ++++++++++++++++
 6 files changed, 297 insertions(+), 0 deletions(-)

-- 
1.7.9.rc2.1.g69204

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

end of thread, other threads:[~2012-02-28 14:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-28 14:02 [Qemu-devel] [PATCH v4 0/2] Group Live Snapshots Jeff Cody
2012-02-28 14:02 ` [Qemu-devel] [PATCH v4 1/2] qapi: Introduce blockdev-group-snapshot-sync command Jeff Cody
2012-02-28 14:02 ` [Qemu-devel] [PATCH v4 2/2] QMP: Add qmp command for blockdev-group-snapshot-sync Jeff Cody

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