All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: John Florian <1707297@bugs.launchpad.net>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Bug 1707297] [NEW] qemu became more picky parsing -m option
Date: Mon, 31 Jul 2017 10:34:46 +0200	[thread overview]
Message-ID: <87shhd9f89.fsf@dusky.pond.sub.org> (raw)
In-Reply-To: <150127405114.4205.4905957472648540492.malonedeb@gac.canonical.com> (John Florian's message of "Fri, 28 Jul 2017 20:34:11 -0000")

John Florian <1707297@bugs.launchpad.net> writes:

> Public bug reported:
>
> With qemu-kvm-2.9.0-3.fc26.x86_64 I am no longer to specify the memory
> size using something like "-m 1.00000GiB" but with qemu-
> kvm-2.7.1-7.fc25.x86_64 I could without any problem.  I now get an error
> message like:
>
> qemu-system-x86_64: -m 1.00000GiB: Parameter 'size' expects a non-negative number below 2^64
> Optional suffix k, M, G, T, P or E means kilo-, mega-, giga-, tera-, peta-
> and exabytes, respectively.
>
>
> Is this expected or a regression?

We recognize suffix "G".  Before commit 75cdcd1 (v2.9.0), trailing
garbage after a recognized suffix was silently ignored.  "1.0G",
"1.0GiB", "1.0Garbage-trucks-of-RAM" were all the same to QEMU.  No
more.

All clear?

  reply	other threads:[~2017-07-31  8:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-28 20:34 [Qemu-devel] [Bug 1707297] [NEW] qemu became more picky parsing -m option John Florian
2017-07-31  8:34 ` Markus Armbruster [this message]
2017-07-31 12:39   ` Eric Blake
2017-07-31 13:28     ` Markus Armbruster
2017-07-31 13:09 ` [Qemu-devel] [Bug 1707297] " John Florian
2020-09-26 17:04 ` Thomas Huth

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=87shhd9f89.fsf@dusky.pond.sub.org \
    --to=armbru@redhat.com \
    --cc=1707297@bugs.launchpad.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.