[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/5] Allow VPC and VDI to be created over protoco
From: |
Jeff Cody |
Subject: |
[Qemu-devel] [PATCH v2 0/5] Allow VPC and VDI to be created over protocols |
Date: |
Mon, 21 Jul 2014 15:52:09 -0400 |
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