From: Jeff Cody <jcody@redhat.com>
To: qemu-block@nongnu.org
Cc: kwolf@redhat.com, pl@kamp.de, qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH v2 0/4] VHD/VPC format compatibility
Date: Wed, 24 Feb 2016 11:21:42 -0500 [thread overview]
Message-ID: <cover.1456330357.git.jcody@redhat.com> (raw)
Changes from v2:
Patches 2,4: Just use qemu-io instead of a qemu instance (thanks Kevin, Max)
Patch 3: Use "qem2" for the creator app field, when forcing the size (thanks Kevin)
This is a long-standing issue that has come up many times, and has had
several different patches posted to fix it. Virtual PC, and Hyper-V
calculate the disk geometry differently for VHD, leading to compatibility
issues.
We want to fix these compatibility problems, however we want to make sure
we do not break backwards compatibility.
There are two areas of compatibility addressed:
* Reading images (Patch 1)
* Creating images (Patch 3)
Please see the commit messages in Patches 1,3 for details.
Jeff Cody (4):
block/vpc: choose size calculation method based on creator_app field
block/vpc: tests for auto-detecting VPC and Hyper-V VHD images
block/vpc: give option to force the current_size field in .bdrv_create
block/vpc: add tests for image creation force_size parameter
block/vpc.c | 111 ++++++++++++++--
tests/qemu-iotests/146 | 145 +++++++++++++++++++++
tests/qemu-iotests/146.out | 58 +++++++++
tests/qemu-iotests/group | 1 +
.../sample_images/hyperv2012r2-dynamic.vhd.bz2 | Bin 0 -> 214 bytes
.../sample_images/virtualpc-dynamic.vhd.bz2 | Bin 0 -> 212 bytes
6 files changed, 307 insertions(+), 8 deletions(-)
create mode 100755 tests/qemu-iotests/146
create mode 100644 tests/qemu-iotests/146.out
create mode 100644 tests/qemu-iotests/sample_images/hyperv2012r2-dynamic.vhd.bz2
create mode 100644 tests/qemu-iotests/sample_images/virtualpc-dynamic.vhd.bz2
--
1.9.3
next reply other threads:[~2016-02-24 16:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-24 16:21 Jeff Cody [this message]
2016-02-24 16:21 ` [Qemu-devel] [PATCH v2 1/4] block/vpc: choose size calculation method based on creator_app field Jeff Cody
2016-02-24 16:21 ` [Qemu-devel] [PATCH v2 2/4] block/vpc: tests for auto-detecting VPC and Hyper-V VHD images Jeff Cody
2016-02-24 16:21 ` [Qemu-devel] [PATCH v2 3/4] block/vpc: give option to force the current_size field in .bdrv_create Jeff Cody
2016-02-24 16:21 ` [Qemu-devel] [PATCH v2 4/4] block/vpc: add tests for image creation force_size parameter Jeff Cody
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1456330357.git.jcody@redhat.com \
--to=jcody@redhat.com \
--cc=kwolf@redhat.com \
--cc=pl@kamp.de \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).