[libvirt-users] what is the xml fomat about memory-backend-file
Eric Blake
eblake at redhat.com
Wed Sep 24 18:05:57 UTC 2014
On 09/24/2014 02:05 AM, Linhaifeng wrote:
> Hi,
>
> I want to use virsh to create a VM with the qemu parameter '-object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on -numa node,memdev=mem'.
Looking at tests/qemuxml2argvdata/qemuxml2argv-hugepages-pages.args, I
see several instances of "-object memory-backend-file...", so look at
the counterpart .xml file for some examples:
<memoryBacking>
<hugepages>
<page size='2048' unit='KiB' nodeset='1'/>
<page size='1048576' unit='KiB' nodeset='0,2-3'/>
</hugepages>
</memoryBacking>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20140924/aa9a9a15/attachment.sig>
More information about the libvirt-users
mailing list