<div dir="ltr"><div dir="ltr"><div>Sure,I‘ll push a new version later.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 21, 2021 at 6:35 PM Daniel P. Berrangé <<a href="mailto:berrange@redhat.com">berrange@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Apr 21, 2021 at 06:19:47PM +0800, Zhiyong Ye wrote:<br>
> I agree with you. If it is added to the XML file, where should it be<br>
> placed? I think the following may be OK:<br>
> <domain><br>
>   ...<br>
>   <maxMemory slots='16' unit='KiB'>1524288</maxMemory><br>
>   <memory unit='KiB'>524288</memory><br>
>   <currentMemory unit='KiB'>524288</currentMemory><br>
>   <below4gMemory unit='GiB'>2</below4gMemory><br>
>   ...<br>
> </domain><br>
<br>
I think we could probably just make it an attribute on the existing<br>
element, eg  <memory unit="MiB" below4g="2000">4000</memory>.<br>
<br>
Regards,<br>
Daniel<br>
-- <br>
|: <a href="https://berrange.com" rel="noreferrer" target="_blank">https://berrange.com</a>      -o-    <a href="https://www.flickr.com/photos/dberrange" rel="noreferrer" target="_blank">https://www.flickr.com/photos/dberrange</a> :|<br>
|: <a href="https://libvirt.org" rel="noreferrer" target="_blank">https://libvirt.org</a>         -o-            <a href="https://fstop138.berrange.com" rel="noreferrer" target="_blank">https://fstop138.berrange.com</a> :|<br>
|: <a href="https://entangle-photo.org" rel="noreferrer" target="_blank">https://entangle-photo.org</a>    -o-    <a href="https://www.instagram.com/dberrange" rel="noreferrer" target="_blank">https://www.instagram.com/dberrange</a> :|<br>
<br>
</blockquote></div></div>