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(-)
--
1.8.1.2