Hi Anthony, this is the second part of the block patches in my queue that I promised in the pull request last week. I also included the high watermark patch even if it didn't sit on the list for a very long time - but the people that I expected to comment on it have already done so, either on the list or internally.
Kevin The following changes since commit 9ed7b059ef776a3921cfd085e891f45076922542: Amit Shah (1): virtio-serial: Implement flow control for individual ports are available in the git repository at: git://repo.or.cz/qemu/kevin.git for-anthony Christoph Hellwig (1): block: separate raw images from the file protocol Jan Kiszka (1): block: Release allocated options after bdrv_open Kevin Wolf (10): block: Split bdrv_open block: Avoid forward declaration of bdrv_open_common block: Open the underlying image file in generic code block: bdrv_has_zero_init vmdk: Fix COW vmdk: Clean up backing file handling vmdk: Convert to bdrv_open qcow2: Remove abort on free_clusters failure block: Add wr_highest_sector blockstat qemu-img rebase: Fix output image corruption Stefan Hajnoczi (6): block: Set backing_hd to NULL after deleting it qcow2: Avoid shadowing variable in alloc_clusters_noref() raw-posix: Use pread/pwrite instead of lseek+read/write block: Cache total_sectors to reduce bdrv_getlength calls qemu-img: Add 'resize' command to grow/shrink disk images qcow2: Implement bdrv_truncate() for growing images Makefile.objs | 2 +- block.c | 384 ++++++++++++++++++++++++++++++++++-------------- block.h | 2 + block/blkdebug.c | 17 +-- block/bochs.c | 2 +- block/cloop.c | 2 +- block/cow.c | 2 +- block/curl.c | 10 +- block/dmg.c | 2 +- block/nbd.c | 2 +- block/parallels.c | 2 +- block/qcow.c | 67 ++++----- block/qcow2-cluster.c | 64 ++++---- block/qcow2-refcount.c | 86 ++++++------ block/qcow2-snapshot.c | 22 ++-- block/qcow2.c | 110 +++++++++----- block/qcow2.h | 8 +- block/raw-posix.c | 62 +++------ block/raw-win32.c | 16 +- block/raw.c | 144 ++++++++++++++++++ block/vdi.c | 29 +--- block/vmdk.c | 140 +++++------------- block/vpc.c | 32 ++--- block/vvfat.c | 2 +- block_int.h | 6 +- qemu-img-cmds.hx | 6 + qemu-img.c | 104 +++++++++++++- qemu-img.texi | 12 ++ 28 files changed, 843 insertions(+), 494 deletions(-) create mode 100644 block/raw.c