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

Daniel P. Berrangé berrange at redhat.com
Wed Apr 21 10:35:31 UTC 2021


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 :|




More information about the libvir-list mailing list