[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Regression in -readconfig [memory] size (was: [PULL 13/27] machine: add
From: |
Markus Armbruster |
Subject: |
Regression in -readconfig [memory] size (was: [PULL 13/27] machine: add mem compound property) |
Date: |
Fri, 05 Aug 2022 11:30:12 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Markus Armbruster <armbru@redhat.com> writes:
> Paolo Bonzini <pbonzini@redhat.com> writes:
>
>> Make -m syntactic sugar for a compound property "-machine
>> mem.{size,max-size,slots}". The new property does not have
>> the magic conversion to megabytes of unsuffixed arguments,
>> and also does not understand that "0" means the default size
>> (you have to leave it out to get the default). This means
>> that we need to convert the QemuOpts by hand to a QDict.
>>
>> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
>> Message-Id: <20220414165300.555321-4-pbonzini@redhat.com>
>> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
[...]
> This appears to change the meaning of
>
> [memory]
> size = "1024"
>
> in a -readconfig file from 1024MiB to 8KiB (1024 Bytes rounded up to
> 8KiB silently).
No reply so far.
If we can't fix this, we better mention it in the release notes.
Can we fix it?
> Aside: the failure mode is nasty: "KVM internal error. Suberror: 1".
> Known issue. Or rather known again issue (to me); I thought I had
> broken KVM somehow.
- Regression in -readconfig [memory] size (was: [PULL 13/27] machine: add mem compound property),
Markus Armbruster <=