[PATCH] qemu.conf: add max-ram-below-4g option

Zhiyong Ye yezhiyong at bytedance.com
Wed Apr 21 11:49:49 UTC 2021


Sure,I‘ll push a new version later.

On Wed, Apr 21, 2021 at 6:35 PM Daniel P. Berrangé <berrange at redhat.com>
wrote:

> On Wed, Apr 21, 2021 at 06:19:47PM +0800, Zhiyong Ye wrote:
> > I agree with you. If it is added to the XML file, where should it be
> > placed? I think the following may be OK:
> > <domain>
> >   ...
> >   <maxMemory slots='16' unit='KiB'>1524288</maxMemory>
> >   <memory unit='KiB'>524288</memory>
> >   <currentMemory unit='KiB'>524288</currentMemory>
> >   <below4gMemory unit='GiB'>2</below4gMemory>
> >   ...
> > </domain>
>
> I think we could probably just make it an attribute on the existing
> element, eg  <memory unit="MiB" below4g="2000">4000</memory>.
>
> 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 :|
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210421/5955fcc1/attachment-0001.htm>


More information about the libvir-list mailing list