From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60298) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XA40F-0005NY-Lc for qemu-devel@nongnu.org; Wed, 23 Jul 2014 17:23:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XA409-0006We-Df for qemu-devel@nongnu.org; Wed, 23 Jul 2014 17:23:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XA409-0006WN-6K for qemu-devel@nongnu.org; Wed, 23 Jul 2014 17:23:05 -0400 From: Jeff Cody Date: Wed, 23 Jul 2014 17:22:56 -0400 Message-Id: Subject: [Qemu-devel] [PATCH v3 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 v2 -> v3: * Patch 2: Removed extra #ifdef __linux__ from top of file (Max) * Patch 4: Removed extra #ifdef __linux__ from top of file (Max) * Patch 5: Removed output from debug cruft (Max) * Added Max's R-b to remaining patches 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 | 89 +++++++++++++++---------------------- block/vpc.c | 106 ++++++++++++++++++--------------------------- tests/qemu-iotests/084 | 16 ++++++- tests/qemu-iotests/084.out | 14 ++++++ 5 files changed, 110 insertions(+), 118 deletions(-) -- 1.9.3