From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O7qmd-0006sC-Ph for qemu-devel@nongnu.org; Fri, 30 Apr 2010 10:01:35 -0400 Received: from [140.186.70.92] (port=54967 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O7qmc-0006rR-EE for qemu-devel@nongnu.org; Fri, 30 Apr 2010 10:01:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O7qma-0000IO-5g for qemu-devel@nongnu.org; Fri, 30 Apr 2010 10:01:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46752) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O7qmZ-0000I6-Ui for qemu-devel@nongnu.org; Fri, 30 Apr 2010 10:01:32 -0400 From: Kevin Wolf Date: Fri, 30 Apr 2010 16:00:22 +0200 Message-Id: <1272636040-17374-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PULL 00/18] Block patches List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: aliguori@linux.vnet.ibm.com Cc: kwolf@redhat.com, qemu-devel@nongnu.org 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