On Fri, Aug 05, 2022 at 11:30:12AM +0200, Markus Armbruster wrote: > Markus Armbruster <arm...@redhat.com> writes: > > > Paolo Bonzini <pbonz...@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 <pbonz...@redhat.com> > >> Message-Id: <20220414165300.555321-4-pbonz...@redhat.com> > >> Signed-off-by: Paolo Bonzini <pbonz...@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.
That is such a massive change in semantics of -readconfig that if we can't fix it we might as well just go all out and fully drop all notion of backcompat for -readconfig. With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|