From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9JdJ-0001IY-TL for qemu-devel@nongnu.org; Mon, 21 Jul 2014 15:52:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9JdD-0004jK-PD for qemu-devel@nongnu.org; Mon, 21 Jul 2014 15:52:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4642) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9JdD-0004j2-GJ for qemu-devel@nongnu.org; Mon, 21 Jul 2014 15:52:19 -0400 From: Jeff Cody Date: Mon, 21 Jul 2014 15:52:09 -0400 Message-Id: Subject: [Qemu-devel] [PATCH v2 0/5] Allow VPC and VDI to be created over protocols List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, sw@weilnetz.de, stefanha@redhat.com, mreitz@redhat.com Changes from v1 -> v2: * Patch 2: Use'bs' instead of 'bs->file' (Max) * Patch 3: Same as patch 2 (ripple through) * Patch 5: Update VDI test for static image (Kevin) * Added Max's R-b to patches 1,3,4 This allows VPC and VDI to be created over protocols; currently, they use posix calls directly to open, seek, and write into new image files. This obviously precludes them from being able to be created over a protocol, like glusterfs. Jeff Cody (5): block: allow bdrv_unref() to be passed NULL pointers block: vdi - use block layer ops in vdi_create, instead of posix calls block: use the standard 'ret' instead of 'result' block: vpc - use block layer ops in vpc_create, instead of posix calls block: iotest - update 084 to test static VDI image creation block.c | 3 ++ block/vdi.c | 82 +++++++++++++++++--------------------- block/vpc.c | 99 ++++++++++++++++++++-------------------------- tests/qemu-iotests/084 | 16 +++++++- tests/qemu-iotests/084.out | 15 +++++++ 5 files changed, 111 insertions(+), 104 deletions(-) -- 1.9.3