From: Stefan Hajnoczi <stefanha@gmail.com>
To: "Denis V. Lunev" <den@openvz.org>
Cc: stefanha@redhat.com, Edgar Kaziahmedov <edos@virtuozzo.mipt.ru>,
qemu-devel@nongnu.org, Markus Armbruster <armbru@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 1/1] parallels: fix default options parsing
Date: Mon, 20 Mar 2017 14:34:25 +0000 [thread overview]
Message-ID: <20170320143425.GC17887@stefanha-x1.localdomain> (raw)
In-Reply-To: <1490002022-22653-1-git-send-email-den@openvz.org>
[-- Attachment #1: Type: text/plain, Size: 1145 bytes --]
On Mon, Mar 20, 2017 at 12:27:02PM +0300, Denis V. Lunev wrote:
> From: Edgar Kaziahmedov <edos@virtuozzo.mipt.ru>
>
> parallels block driver is completely broken since commit
> commit 75cdcd1553e74b5edc58aed23e3b2da8dabb1876
> Author: Markus Armbruster <armbru@redhat.com>
> 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'.
>
> Signed-off-by: Edgar Kaziahmedov <edos@virtuozzo.mipt.ru>
> Signed-off-by: Denis V. Lunev <den@openvz.org>
> CC: Markus Armbruster <armbru@redhat.com>
> CC: Stefan Hajnoczi <stefanha@redhat.com>
> ---
> block/parallels.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block
Stefan
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]
prev parent reply other threads:[~2017-03-20 14:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-20 9:27 [Qemu-devel] [PATCH 1/1] parallels: fix default options parsing Denis V. Lunev
2017-03-20 13:55 ` Markus Armbruster
2017-03-20 14:34 ` Stefan Hajnoczi [this message]
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=20170320143425.GC17887@stefanha-x1.localdomain \
--to=stefanha@gmail.com \
--cc=armbru@redhat.com \
--cc=den@openvz.org \
--cc=edos@virtuozzo.mipt.ru \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/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).