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 (4): 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.c | 3 ++ block/vdi.c | 82 ++++++++++++++++++++++---------------------------- block/vpc.c | 99 +++++++++++++++++++++++++++---------------------------------- 3 files changed, 82 insertions(+), 102 deletions(-) -- 1.8.3.1