Block patches
The following changes since commit 940a8ce075e3408742a4edcabfd6c2a15e2539eb:
Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging (2017-03-20 16:34:26 +0000)
are available in the git repository at:
git://github.com/stefanha/qemu.git tags/block-pull-request
for you to fetch changes up to ff5bbe56c6f9a74c2d77389a21d5d2368458c939:
parallels: fix default options parsing (2017-03-21 10:02:36 +0000)
----------------------------------------------------------------
----------------------------------------------------------------
Edgar Kaziahmedov (1):
parallels: fix default options parsing
block/parallels.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.9.3
[Qemu-devel] [PULL for-2.9 1/1] parallels: fix default options parsing
From: Edgar Kaziahmedov <[email protected]>
parallels block driver is completely broken since commit
commit 75cdcd1553e74b5edc58aed23e3b2da8dabb1876
Author: Markus Armbruster <[email protected]>
Date: Tue Feb 21 21:14:08 2017 +0100
option: Fix checking of sizes for overflow and trailing crap
Right now even simple
qemu-io -c "read 512 64k" 1.hds
ends up with
Unexpected error in parse_option_size() at util/qemu-option.c:188:
Parameter 'prealloc-size' expects a non-negative number below 2^64 Aborted (core dumped)
The cure is simple - we should use 'M' as a suffix in default option value instead of 'MiB'.
Message-id: [email protected]
--- block/parallels.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
block/parallels.c +1 -1
@@ -114,7 +114,7 @@ static QemuOptsList parallels_runtime_opts = { .name = PARALLELS_OPT_PREALLOC_SIZE, .type = QEMU_OPT_SIZE, .help = "Preallocation size on image expansion", - .def_value_str = "128MiB", + .def_value_str = "128M", }, { .name = PARALLELS_OPT_PREALLOC_MODE,
Signature · 1 line
2.9.3
Peter Maydell
AppliedQuoted 14 lines · Stefan Hajnoczi
The following changes since commit
940a8ce075e3408742a4edcabfd6c2a15e2539eb:Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging (2017-03-20 16:34:26 +0000)
are available in the git repository at:
git://github.com/stefanha/qemu.gittags/block-pull-requestfor you to fetch changes up to
ff5bbe56c6f9a74c2d77389a21d5d2368458c939:parallels: fix default options parsing (2017-03-21 10:02:36 +0000)
----------------------------------------------------------------
Quoted 7 lines
----------------------------------------------------------------
Edgar Kaziahmedov (1):
parallels: fix default options parsingblock/parallels.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
-- PMM