From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T79lx-0003oO-QH for qemu-devel@nongnu.org; Thu, 30 Aug 2012 14:47:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T79lw-0005F9-Ou for qemu-devel@nongnu.org; Thu, 30 Aug 2012 14:47:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T79lw-0005Ex-Gf for qemu-devel@nongnu.org; Thu, 30 Aug 2012 14:47:20 -0400 From: Jeff Cody Date: Thu, 30 Aug 2012 14:47:06 -0400 Message-Id: Subject: [Qemu-devel] [PATCH 0/7] block: bdrv_reopen() patches List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, pbonzini@redhat.com, stefanha@gmail.com, eblake@redhat.com, supriyak@linux.vnet.ibm.com These patches are strongly based off Supriya Kannery's original bdrv_reopen() patches as part of the hostcache series, including the _prepare(), _commit(), and _abort() structure. Some additions / changes: * Added support for multiple image reopen transactionally * Reopen changes are staged into temporary stashes in prepare(), and copied over in commit() (discarded in abort()). * Driver-level reopen file changes are mainly contained in the raw-* files. TODO: The raw-win32 driver still needs to be finished TODO: The vmdk driver still needs to be finished Jeff Cody (7): block: correctly set the keep_read_only flag block: Framework for reopening files safely block: raw-posix image file reopen block: raw image file reopen block: qed image file reopen block: qcow2 image file reopen block: qcow image file reopen block.c | 242 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- block.h | 16 ++++ block/qcow.c | 23 ++++++ block/qcow2.c | 22 +++++ block/qed.c | 20 +++++ block/raw-posix.c | 153 ++++++++++++++++++++++++++++++---- block/raw.c | 22 +++++ block_int.h | 13 +++ qemu-common.h | 1 + 9 files changed, 489 insertions(+), 23 deletions(-) -- 1.7.11.2