From patchwork Tue Feb 12 12:33:41 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [PULL,for-1.4,0/2] Block patches Date: Tue, 12 Feb 2013 02:33:41 -0000 From: Stefan Hajnoczi X-Patchwork-Id: 219842 Message-Id: <1360672423-2286-1-git-send-email-stefanha@redhat.com> To: Cc: Anthony Liguori , Stefan Hajnoczi Revert the vpc size fix which breaks compatibility with VirtualPC. Also error out on startup when a read-only block device is configured as a read-write -drive. This makes Linux read-only block devices behave like read-only regular files, and the error is reported immediately on startup instead of raising EIO once the guest is running. The following changes since commit 58fa4325228f61d58317f48364259b31e9b92d15: qapi: Improve chardev-add documentation (2013-02-11 13:22:52 -0600) are available in the git repository at: git://github.com/stefanha/qemu.git block for you to fetch changes up to 33ccf6675faa3c56f30399e184064fd126904515: Revert "block/vpc: Fix size calculation" (2013-02-12 12:25:15 +0100) ---------------------------------------------------------------- Stefan Hajnoczi (2): block/raw-posix: detect readonly Linux block devices using BLKROGET Revert "block/vpc: Fix size calculation" block/raw-posix.c | 49 ++++++++++++++++++++++++++++++++++++++++++++++++- block/vpc.c | 14 +++++--------- 2 files changed, 53 insertions(+), 10 deletions(-)