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