From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2NeD-0006Hq-1Q for qemu-devel@nongnu.org; Tue, 28 Feb 2012 09:03:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S2Ndx-0007cA-Gd for qemu-devel@nongnu.org; Tue, 28 Feb 2012 09:03:20 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2Ndx-0007bB-8j for qemu-devel@nongnu.org; Tue, 28 Feb 2012 09:03:05 -0500 From: Jeff Cody Date: Tue, 28 Feb 2012 09:02:57 -0500 Message-Id: Subject: [Qemu-devel] [PATCH v4 0/2] Group Live Snapshots List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, stefanha@gmail.com, armbru@redhat.com, lcapitulino@redhat.com, pbonzini@redhat.com, eblake@redhat.com 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