mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
qemu: use on|off instead of yes|no for -object boolean properties
QEMU has long accepted many different values for boolean properties, but set accepted has been different depending on which QEMU parser you hit. The on|off values were supported by all QEMU parsers. The yes|no, y|n, true|false values were only partially supported: https://lists.gnu.org/archive/html/qemu-devel/2020-11/msg01012.html Thus we should standardize on on|off everywhere since that is most widely supported in QEMU. Reviewed-by: Peter Krempa <pkrempa@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
cff6236105
commit
8851d87556
@ -336,7 +336,7 @@ virQEMUBuildObjectCommandlineFromJSONInternal(virBufferPtr buf,
|
||||
|
||||
if (props) {
|
||||
virBufferAddLit(buf, ",");
|
||||
if (virQEMUBuildCommandLineJSON(props, buf, NULL, false,
|
||||
if (virQEMUBuildCommandLineJSON(props, buf, NULL, true,
|
||||
virQEMUBuildCommandLineJSONArrayBitmap) < 0)
|
||||
return -1;
|
||||
}
|
||||
|
@ -15,11 +15,11 @@ QEMU_AUDIO_DRV=none \
|
||||
-realtime mlock=off \
|
||||
-smp 16,sockets=2,cores=4,threads=2 \
|
||||
-object memory-backend-file,id=ram-node0,\
|
||||
mem-path=/var/lib/libvirt/qemu/ram/-1-QEMUGuest1/ram-node0,share=yes,\
|
||||
mem-path=/var/lib/libvirt/qemu/ram/-1-QEMUGuest1/ram-node0,share=on,\
|
||||
size=112197632 \
|
||||
-numa node,nodeid=0,cpus=0-7,memdev=ram-node0 \
|
||||
-object memory-backend-file,id=ram-node1,\
|
||||
mem-path=/var/lib/libvirt/qemu/ram/-1-QEMUGuest1/ram-node1,share=no,\
|
||||
mem-path=/var/lib/libvirt/qemu/ram/-1-QEMUGuest1/ram-node1,share=off,\
|
||||
size=112197632 \
|
||||
-numa node,nodeid=1,cpus=8-15,memdev=ram-node1 \
|
||||
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
||||
|
@ -32,7 +32,7 @@ file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
|
||||
data=9eao5F8qtkGt+seB1HYivWIxbtwUu6MQtg1zpj/oDtUsPr1q8wBYM91uEHCn6j/1,\
|
||||
keyid=masterKey0,iv=AAECAwQFBgcICQoLDA0ODw==,format=base64 \
|
||||
-object tls-creds-x509,id=objvirtio-disk3_tls0,dir=/etc/pki/libvirt-nbd/dummy,,\
|
||||
path,endpoint=client,verify-peer=yes,passwordid=objvirtio-disk3_tls0-secret0 \
|
||||
path,endpoint=client,verify-peer=on,passwordid=objvirtio-disk3_tls0-secret0 \
|
||||
-drive file.driver=nbd,file.server.type=inet,file.server.host=example.com,\
|
||||
file.server.port=1234,file.tls-creds=objvirtio-disk3_tls0,format=raw,if=none,\
|
||||
id=drive-virtio-disk3,cache=none \
|
||||
|
@ -33,7 +33,7 @@ file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
|
||||
data=9eao5F8qtkGt+seB1HYivWIxbtwUu6MQtg1zpj/oDtUsPr1q8wBYM91uEHCn6j/1,\
|
||||
keyid=masterKey0,iv=AAECAwQFBgcICQoLDA0ODw==,format=base64 \
|
||||
-object tls-creds-x509,id=objlibvirt-1-storage_tls0,\
|
||||
dir=/etc/pki/libvirt-nbd/dummy,,path,endpoint=client,verify-peer=yes,\
|
||||
dir=/etc/pki/libvirt-nbd/dummy,,path,endpoint=client,verify-peer=on,\
|
||||
passwordid=objlibvirt-1-storage_tls0-secret0 \
|
||||
-blockdev '{"driver":"nbd","server":{"type":"inet","host":"example.com",\
|
||||
"port":"1234"},"tls-creds":"objlibvirt-1-storage_tls0",\
|
||||
|
@ -32,7 +32,7 @@ file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
|
||||
data=9eao5F8qtkGt+seB1HYivWIxbtwUu6MQtg1zpj/oDtUsPr1q8wBYM91uEHCn6j/1,\
|
||||
keyid=masterKey0,iv=AAECAwQFBgcICQoLDA0ODw==,format=base64 \
|
||||
-object tls-creds-x509,id=objvirtio-disk0_tls0,dir=/etc/pki/libvirt-vxhs/dummy,\
|
||||
,path,endpoint=client,verify-peer=yes,passwordid=objvirtio-disk0_tls0-secret0 \
|
||||
,path,endpoint=client,verify-peer=on,passwordid=objvirtio-disk0_tls0-secret0 \
|
||||
-drive file.driver=vxhs,file.tls-creds=objvirtio-disk0_tls0,\
|
||||
file.vdisk-id=eb90327c-8302-4725-9e1b-4e85ed4dc251,\
|
||||
file.server.host=192.168.0.1,file.server.port=9999,format=raw,if=none,\
|
||||
@ -44,7 +44,7 @@ serial=eb90327c-8302-4725-9e1b-4e85ed4dc251 \
|
||||
data=9eao5F8qtkGt+seB1HYivWIxbtwUu6MQtg1zpj/oDtUsPr1q8wBYM91uEHCn6j/1,\
|
||||
keyid=masterKey0,iv=AAECAwQFBgcICQoLDA0ODw==,format=base64 \
|
||||
-object tls-creds-x509,id=objvirtio-disk1_tls0,dir=/etc/pki/libvirt-vxhs/dummy,\
|
||||
,path,endpoint=client,verify-peer=yes,passwordid=objvirtio-disk1_tls0-secret0 \
|
||||
,path,endpoint=client,verify-peer=on,passwordid=objvirtio-disk1_tls0-secret0 \
|
||||
-drive file.driver=vxhs,file.tls-creds=objvirtio-disk1_tls0,\
|
||||
file.vdisk-id=eb90327c-8302-4725-9e1b-4e85ed4dc252,\
|
||||
file.server.host=192.168.0.2,file.server.port=9999,format=raw,if=none,\
|
||||
|
@ -32,7 +32,7 @@ file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
|
||||
data=9eao5F8qtkGt+seB1HYivWIxbtwUu6MQtg1zpj/oDtUsPr1q8wBYM91uEHCn6j/1,\
|
||||
keyid=masterKey0,iv=AAECAwQFBgcICQoLDA0ODw==,format=base64 \
|
||||
-object tls-creds-x509,id=objlibvirt-3-storage_tls0,\
|
||||
dir=/etc/pki/libvirt-vxhs/dummy,,path,endpoint=client,verify-peer=yes,\
|
||||
dir=/etc/pki/libvirt-vxhs/dummy,,path,endpoint=client,verify-peer=on,\
|
||||
passwordid=objlibvirt-3-storage_tls0-secret0 \
|
||||
-blockdev '{"driver":"vxhs","tls-creds":"objlibvirt-3-storage_tls0",\
|
||||
"vdisk-id":"eb90327c-8302-4725-9e1b-4e85ed4dc251",\
|
||||
@ -49,7 +49,7 @@ serial=eb90327c-8302-4725-9e1b-4e85ed4dc251 \
|
||||
data=9eao5F8qtkGt+seB1HYivWIxbtwUu6MQtg1zpj/oDtUsPr1q8wBYM91uEHCn6j/1,\
|
||||
keyid=masterKey0,iv=AAECAwQFBgcICQoLDA0ODw==,format=base64 \
|
||||
-object tls-creds-x509,id=objlibvirt-2-storage_tls0,\
|
||||
dir=/etc/pki/libvirt-vxhs/dummy,,path,endpoint=client,verify-peer=yes,\
|
||||
dir=/etc/pki/libvirt-vxhs/dummy,,path,endpoint=client,verify-peer=on,\
|
||||
passwordid=objlibvirt-2-storage_tls0-secret0 \
|
||||
-blockdev '{"driver":"vxhs","tls-creds":"objlibvirt-2-storage_tls0",\
|
||||
"vdisk-id":"eb90327c-8302-4725-9e1b-4e85ed4dc252",\
|
||||
|
@ -32,7 +32,7 @@ file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
|
||||
data=9eao5F8qtkGt+seB1HYivWIxbtwUu6MQtg1zpj/oDtUsPr1q8wBYM91uEHCn6j/1,\
|
||||
keyid=masterKey0,iv=AAECAwQFBgcICQoLDA0ODw==,format=base64 \
|
||||
-object tls-creds-x509,id=objvirtio-disk0_tls0,dir=/etc/pki/libvirt-vxhs/dummy,\
|
||||
,path,endpoint=client,verify-peer=yes,passwordid=objvirtio-disk0_tls0-secret0 \
|
||||
,path,endpoint=client,verify-peer=on,passwordid=objvirtio-disk0_tls0-secret0 \
|
||||
-drive file.driver=vxhs,file.tls-creds=objvirtio-disk0_tls0,\
|
||||
file.vdisk-id=eb90327c-8302-4725-9e1b-4e85ed4dc251,\
|
||||
file.server.host=192.168.0.1,file.server.port=9999,format=raw,if=none,\
|
||||
@ -44,7 +44,7 @@ serial=eb90327c-8302-4725-9e1b-4e85ed4dc251 \
|
||||
data=9eao5F8qtkGt+seB1HYivWIxbtwUu6MQtg1zpj/oDtUsPr1q8wBYM91uEHCn6j/1,\
|
||||
keyid=masterKey0,iv=AAECAwQFBgcICQoLDA0ODw==,format=base64 \
|
||||
-object tls-creds-x509,id=objvirtio-disk1_tls0,dir=/etc/pki/libvirt-vxhs/dummy,\
|
||||
,path,endpoint=client,verify-peer=yes,passwordid=objvirtio-disk1_tls0-secret0 \
|
||||
,path,endpoint=client,verify-peer=on,passwordid=objvirtio-disk1_tls0-secret0 \
|
||||
-drive file.driver=vxhs,file.tls-creds=objvirtio-disk1_tls0,\
|
||||
file.vdisk-id=eb90327c-8302-4725-9e1b-4e85ed4dc252,\
|
||||
file.server.host=192.168.0.2,file.server.port=9999,format=raw,if=none,\
|
||||
@ -60,7 +60,7 @@ id=virtio-disk2,write-cache=on,serial=eb90327c-8302-4725-9e1b-4e85ed4dc252 \
|
||||
data=9eao5F8qtkGt+seB1HYivWIxbtwUu6MQtg1zpj/oDtUsPr1q8wBYM91uEHCn6j/1,\
|
||||
keyid=masterKey0,iv=AAECAwQFBgcICQoLDA0ODw==,format=base64 \
|
||||
-object tls-creds-x509,id=objvirtio-disk3_tls0,dir=/etc/pki/libvirt-nbd/dummy,,\
|
||||
path,endpoint=client,verify-peer=yes,passwordid=objvirtio-disk3_tls0-secret0 \
|
||||
path,endpoint=client,verify-peer=on,passwordid=objvirtio-disk3_tls0-secret0 \
|
||||
-drive file.driver=nbd,file.server.type=inet,file.server.host=example.com,\
|
||||
file.server.port=1234,file.tls-creds=objvirtio-disk3_tls0,format=raw,if=none,\
|
||||
id=drive-virtio-disk3,cache=none \
|
||||
|
@ -32,7 +32,7 @@ file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
|
||||
data=9eao5F8qtkGt+seB1HYivWIxbtwUu6MQtg1zpj/oDtUsPr1q8wBYM91uEHCn6j/1,\
|
||||
keyid=masterKey0,iv=AAECAwQFBgcICQoLDA0ODw==,format=base64 \
|
||||
-object tls-creds-x509,id=objlibvirt-4-storage_tls0,\
|
||||
dir=/etc/pki/libvirt-vxhs/dummy,,path,endpoint=client,verify-peer=yes,\
|
||||
dir=/etc/pki/libvirt-vxhs/dummy,,path,endpoint=client,verify-peer=on,\
|
||||
passwordid=objlibvirt-4-storage_tls0-secret0 \
|
||||
-blockdev '{"driver":"vxhs","tls-creds":"objlibvirt-4-storage_tls0",\
|
||||
"vdisk-id":"eb90327c-8302-4725-9e1b-4e85ed4dc251",\
|
||||
@ -49,7 +49,7 @@ serial=eb90327c-8302-4725-9e1b-4e85ed4dc251 \
|
||||
data=9eao5F8qtkGt+seB1HYivWIxbtwUu6MQtg1zpj/oDtUsPr1q8wBYM91uEHCn6j/1,\
|
||||
keyid=masterKey0,iv=AAECAwQFBgcICQoLDA0ODw==,format=base64 \
|
||||
-object tls-creds-x509,id=objlibvirt-3-storage_tls0,\
|
||||
dir=/etc/pki/libvirt-vxhs/dummy,,path,endpoint=client,verify-peer=yes,\
|
||||
dir=/etc/pki/libvirt-vxhs/dummy,,path,endpoint=client,verify-peer=on,\
|
||||
passwordid=objlibvirt-3-storage_tls0-secret0 \
|
||||
-blockdev '{"driver":"vxhs","tls-creds":"objlibvirt-3-storage_tls0",\
|
||||
"vdisk-id":"eb90327c-8302-4725-9e1b-4e85ed4dc252",\
|
||||
@ -74,7 +74,7 @@ id=virtio-disk2,write-cache=on,serial=eb90327c-8302-4725-9e1b-4e85ed4dc252 \
|
||||
data=9eao5F8qtkGt+seB1HYivWIxbtwUu6MQtg1zpj/oDtUsPr1q8wBYM91uEHCn6j/1,\
|
||||
keyid=masterKey0,iv=AAECAwQFBgcICQoLDA0ODw==,format=base64 \
|
||||
-object tls-creds-x509,id=objlibvirt-1-storage_tls0,\
|
||||
dir=/etc/pki/libvirt-nbd/dummy,,path,endpoint=client,verify-peer=yes,\
|
||||
dir=/etc/pki/libvirt-nbd/dummy,,path,endpoint=client,verify-peer=on,\
|
||||
passwordid=objlibvirt-1-storage_tls0-secret0 \
|
||||
-blockdev '{"driver":"nbd","server":{"type":"inet","host":"example.com",\
|
||||
"port":"1234"},"tls-creds":"objlibvirt-1-storage_tls0",\
|
||||
|
@ -15,8 +15,8 @@ file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
|
||||
-machine pc,accel=tcg,usb=off,dump-guest-core=off,memory-backend=pc.ram \
|
||||
-cpu qemu64 \
|
||||
-m 214 \
|
||||
-object memory-backend-memfd,id=pc.ram,share=yes,\
|
||||
x-use-canonical-path-for-ramblock-id=no,size=224395264 \
|
||||
-object memory-backend-memfd,id=pc.ram,share=on,\
|
||||
x-use-canonical-path-for-ramblock-id=off,size=224395264 \
|
||||
-overcommit mem-lock=off \
|
||||
-smp 1,sockets=1,cores=1,threads=1 \
|
||||
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
||||
|
@ -16,7 +16,7 @@ QEMU_AUDIO_DRV=none \
|
||||
-realtime mlock=off \
|
||||
-smp 8,sockets=1,cores=8,threads=1 \
|
||||
-object memory-backend-file,id=ram-node0,\
|
||||
mem-path=/var/lib/libvirt/qemu/ram/-1-instance-00000092/ram-node0,share=yes,\
|
||||
mem-path=/var/lib/libvirt/qemu/ram/-1-instance-00000092/ram-node0,share=on,\
|
||||
size=15032385536 \
|
||||
-numa node,nodeid=0,cpus=0-7,memdev=ram-node0 \
|
||||
-uuid 126f2720-6f8e-45ab-a886-ec9277079a67 \
|
||||
|
@ -16,11 +16,11 @@ QEMU_AUDIO_DRV=none \
|
||||
-realtime mlock=off \
|
||||
-smp 20,sockets=1,cores=8,threads=1 \
|
||||
-object memory-backend-file,id=ram-node0,\
|
||||
mem-path=/var/lib/libvirt/qemu/ram/-1-instance-00000092/ram-node0,share=no,\
|
||||
mem-path=/var/lib/libvirt/qemu/ram/-1-instance-00000092/ram-node0,share=off,\
|
||||
size=15032385536 \
|
||||
-numa node,nodeid=0,cpus=0-7,memdev=ram-node0 \
|
||||
-object memory-backend-file,id=ram-node1,\
|
||||
mem-path=/var/lib/libvirt/qemu/ram/-1-instance-00000092/ram-node1,share=yes,\
|
||||
mem-path=/var/lib/libvirt/qemu/ram/-1-instance-00000092/ram-node1,share=on,\
|
||||
size=15032385536 \
|
||||
-numa node,nodeid=1,cpus=8-15,memdev=ram-node1 \
|
||||
-uuid 126f2720-6f8e-45ab-a886-ec9277079a67 \
|
||||
|
@ -16,15 +16,15 @@ QEMU_AUDIO_DRV=none \
|
||||
-realtime mlock=off \
|
||||
-smp 32,sockets=1,cores=24,threads=1 \
|
||||
-object memory-backend-file,id=ram-node0,\
|
||||
mem-path=/var/lib/libvirt/qemu/ram/-1-instance-00000092/ram-node0,share=yes,\
|
||||
mem-path=/var/lib/libvirt/qemu/ram/-1-instance-00000092/ram-node0,share=on,\
|
||||
size=15032385536 \
|
||||
-numa node,nodeid=0,cpus=0-1,memdev=ram-node0 \
|
||||
-object memory-backend-file,id=ram-node1,\
|
||||
mem-path=/var/lib/libvirt/qemu/ram/-1-instance-00000092/ram-node1,share=yes,\
|
||||
mem-path=/var/lib/libvirt/qemu/ram/-1-instance-00000092/ram-node1,share=on,\
|
||||
size=15032385536 \
|
||||
-numa node,nodeid=1,cpus=2-3,memdev=ram-node1 \
|
||||
-object memory-backend-file,id=ram-node2,\
|
||||
mem-path=/var/lib/libvirt/qemu/ram/-1-instance-00000092/ram-node2,share=no,\
|
||||
mem-path=/var/lib/libvirt/qemu/ram/-1-instance-00000092/ram-node2,share=off,\
|
||||
size=15032385536 \
|
||||
-numa node,nodeid=2,cpus=4-5,memdev=ram-node2 \
|
||||
-uuid 126f2720-6f8e-45ab-a886-ec9277079a67 \
|
||||
|
@ -33,7 +33,7 @@ file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
|
||||
data=9eao5F8qtkGt+seB1HYivWIxbtwUu6MQtg1zpj/oDtUsPr1q8wBYM91uEHCn6j/1,\
|
||||
keyid=masterKey0,iv=AAECAwQFBgcICQoLDA0ODw==,format=base64 \
|
||||
-object tls-creds-x509,id=vnc-tls-creds0,dir=/etc/pki/libvirt-vnc,\
|
||||
endpoint=server,verify-peer=yes,passwordid=vnc-tls-creds0-secret0 \
|
||||
endpoint=server,verify-peer=on,passwordid=vnc-tls-creds0-secret0 \
|
||||
-vnc 127.0.0.1:3,tls-creds=vnc-tls-creds0,sasl=on \
|
||||
-device cirrus-vga,id=video0,bus=pci.0,addr=0x2 \
|
||||
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,\
|
||||
|
@ -30,7 +30,7 @@ file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
|
||||
-boot strict=on \
|
||||
-device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 \
|
||||
-object tls-creds-x509,id=vnc-tls-creds0,dir=/etc/pki/libvirt-vnc,\
|
||||
endpoint=server,verify-peer=yes \
|
||||
endpoint=server,verify-peer=on \
|
||||
-vnc 127.0.0.1:3,tls-creds=vnc-tls-creds0,sasl=on \
|
||||
-device cirrus-vga,id=video0,bus=pci.0,addr=0x2 \
|
||||
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,\
|
||||
|
@ -15,23 +15,23 @@ QEMU_AUDIO_DRV=none \
|
||||
-realtime mlock=off \
|
||||
-smp 4,sockets=4,cores=1,threads=1 \
|
||||
-object memory-backend-file,id=ram-node0,\
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-QEMUGuest1,share=no,prealloc=yes,\
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-QEMUGuest1,share=off,prealloc=on,\
|
||||
size=1073741824,host-nodes=0-3,policy=bind \
|
||||
-numa node,nodeid=0,cpus=0,memdev=ram-node0 \
|
||||
-object memory-backend-file,id=ram-node1,\
|
||||
mem-path=/dev/hugepages2M/libvirt/qemu/-1-QEMUGuest1,share=yes,prealloc=yes,\
|
||||
mem-path=/dev/hugepages2M/libvirt/qemu/-1-QEMUGuest1,share=on,prealloc=on,\
|
||||
size=1073741824,host-nodes=0-3,policy=bind \
|
||||
-numa node,nodeid=1,cpus=1,memdev=ram-node1 \
|
||||
-object memory-backend-file,id=ram-node2,\
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-QEMUGuest1,share=no,prealloc=yes,\
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-QEMUGuest1,share=off,prealloc=on,\
|
||||
size=1073741824,host-nodes=0-3,policy=bind \
|
||||
-numa node,nodeid=2,cpus=2,memdev=ram-node2 \
|
||||
-object memory-backend-file,id=ram-node3,\
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-QEMUGuest1,share=no,prealloc=yes,\
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-QEMUGuest1,share=off,prealloc=on,\
|
||||
size=1073741824,host-nodes=3,policy=bind \
|
||||
-numa node,nodeid=3,cpus=3,memdev=ram-node3 \
|
||||
-object memory-backend-file,id=memdimm0,\
|
||||
mem-path=/dev/hugepages2M/libvirt/qemu/-1-QEMUGuest1,share=yes,prealloc=yes,\
|
||||
mem-path=/dev/hugepages2M/libvirt/qemu/-1-QEMUGuest1,share=on,prealloc=on,\
|
||||
size=536870912,host-nodes=0-3,policy=bind \
|
||||
-device pc-dimm,node=1,memdev=memdimm0,id=dimm0,slot=0,addr=4294967296 \
|
||||
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
||||
|
@ -15,23 +15,23 @@ QEMU_AUDIO_DRV=none \
|
||||
-realtime mlock=off \
|
||||
-smp 4,sockets=4,cores=1,threads=1 \
|
||||
-object memory-backend-file,id=ram-node0,\
|
||||
mem-path=/var/lib/libvirt/qemu/ram/-1-QEMUGuest1/ram-node0,share=no,\
|
||||
mem-path=/var/lib/libvirt/qemu/ram/-1-QEMUGuest1/ram-node0,share=off,\
|
||||
size=1073741824,host-nodes=0-3,policy=bind \
|
||||
-numa node,nodeid=0,cpus=0,memdev=ram-node0 \
|
||||
-object memory-backend-file,id=ram-node1,\
|
||||
mem-path=/dev/hugepages2M/libvirt/qemu/-1-QEMUGuest1,share=yes,prealloc=yes,\
|
||||
mem-path=/dev/hugepages2M/libvirt/qemu/-1-QEMUGuest1,share=on,prealloc=on,\
|
||||
size=1073741824,host-nodes=0-3,policy=bind \
|
||||
-numa node,nodeid=1,cpus=1,memdev=ram-node1 \
|
||||
-object memory-backend-file,id=ram-node2,\
|
||||
mem-path=/var/lib/libvirt/qemu/ram/-1-QEMUGuest1/ram-node2,share=no,\
|
||||
mem-path=/var/lib/libvirt/qemu/ram/-1-QEMUGuest1/ram-node2,share=off,\
|
||||
size=1073741824,host-nodes=0-3,policy=bind \
|
||||
-numa node,nodeid=2,cpus=2,memdev=ram-node2 \
|
||||
-object memory-backend-file,id=ram-node3,\
|
||||
mem-path=/var/lib/libvirt/qemu/ram/-1-QEMUGuest1/ram-node3,share=no,\
|
||||
mem-path=/var/lib/libvirt/qemu/ram/-1-QEMUGuest1/ram-node3,share=off,\
|
||||
size=1073741824,host-nodes=3,policy=bind \
|
||||
-numa node,nodeid=3,cpus=3,memdev=ram-node3 \
|
||||
-object memory-backend-file,id=memdimm0,\
|
||||
mem-path=/dev/hugepages2M/libvirt/qemu/-1-QEMUGuest1,share=yes,prealloc=yes,\
|
||||
mem-path=/dev/hugepages2M/libvirt/qemu/-1-QEMUGuest1,share=on,prealloc=on,\
|
||||
size=536870912,host-nodes=0-3,policy=bind \
|
||||
-device pc-dimm,node=1,memdev=memdimm0,id=dimm0,slot=0,addr=4294967296 \
|
||||
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
||||
|
@ -19,8 +19,8 @@ arch-capabilities=on,ssbd=on,xsaves=on,cmp-legacy=on,amd-ssbd=on,virt-ssbd=on,\
|
||||
rdctl-no=on,skip-l1dfl-vmentry=on,mds-no=on,pschange-mc-no=on \
|
||||
-m 4096 \
|
||||
-object memory-backend-file,id=pc.ram,\
|
||||
mem-path=/dev/hugepages2M/libvirt/qemu/-1-fedora,share=yes,\
|
||||
x-use-canonical-path-for-ramblock-id=no,prealloc=yes,size=4294967296 \
|
||||
mem-path=/dev/hugepages2M/libvirt/qemu/-1-fedora,share=on,\
|
||||
x-use-canonical-path-for-ramblock-id=off,prealloc=on,size=4294967296 \
|
||||
-overcommit mem-lock=off \
|
||||
-smp 4,sockets=4,cores=1,threads=1 \
|
||||
-uuid 63840878-0deb-4095-97e6-fc444d9bc9fa \
|
||||
|
@ -17,7 +17,7 @@ QEMU_AUDIO_DRV=none \
|
||||
-object memory-backend-ram,id=ram-node0,size=268435456 \
|
||||
-numa node,nodeid=0,cpus=0,memdev=ram-node0 \
|
||||
-object memory-backend-file,id=ram-node1,\
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-SomeDummyHugepagesGu,prealloc=yes,\
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-SomeDummyHugepagesGu,prealloc=on,\
|
||||
size=805306368 \
|
||||
-numa node,nodeid=1,cpus=1,memdev=ram-node1 \
|
||||
-uuid ef1bdff4-27f3-4e85-a807-5fb4d58463cc \
|
||||
|
@ -15,19 +15,19 @@ QEMU_AUDIO_DRV=none \
|
||||
-realtime mlock=off \
|
||||
-smp 4,sockets=4,cores=1,threads=1 \
|
||||
-object memory-backend-file,id=ram-node0,\
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-QEMUGuest1,prealloc=yes,\
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-QEMUGuest1,prealloc=on,\
|
||||
size=1073741824 \
|
||||
-numa node,nodeid=0,cpus=0,memdev=ram-node0 \
|
||||
-object memory-backend-file,id=ram-node1,\
|
||||
mem-path=/dev/hugepages2M/libvirt/qemu/-1-QEMUGuest1,prealloc=yes,\
|
||||
mem-path=/dev/hugepages2M/libvirt/qemu/-1-QEMUGuest1,prealloc=on,\
|
||||
size=1073741824 \
|
||||
-numa node,nodeid=1,cpus=1,memdev=ram-node1 \
|
||||
-object memory-backend-file,id=ram-node2,\
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-QEMUGuest1,prealloc=yes,\
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-QEMUGuest1,prealloc=on,\
|
||||
size=1073741824 \
|
||||
-numa node,nodeid=2,cpus=2,memdev=ram-node2 \
|
||||
-object memory-backend-file,id=ram-node3,\
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-QEMUGuest1,prealloc=yes,\
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-QEMUGuest1,prealloc=on,\
|
||||
size=1073741824 \
|
||||
-numa node,nodeid=3,cpus=3,memdev=ram-node3 \
|
||||
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
||||
|
@ -18,11 +18,11 @@ file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
|
||||
-overcommit mem-lock=off \
|
||||
-smp 2,sockets=2,dies=1,cores=1,threads=1 \
|
||||
-object memory-backend-file,id=ram-node0,\
|
||||
mem-path=/dev/hugepages2M/libvirt/qemu/-1-QEMUGuest1,share=yes,prealloc=yes,\
|
||||
mem-path=/dev/hugepages2M/libvirt/qemu/-1-QEMUGuest1,share=on,prealloc=on,\
|
||||
size=1073741824 \
|
||||
-numa node,nodeid=0,cpus=0-1,memdev=ram-node0 \
|
||||
-object memory-backend-file,id=memnvdimm0,mem-path=/tmp/nvdimm,share=yes,\
|
||||
prealloc=yes,size=536870912 \
|
||||
-object memory-backend-file,id=memnvdimm0,mem-path=/tmp/nvdimm,share=on,\
|
||||
prealloc=on,size=536870912 \
|
||||
-device nvdimm,node=0,memdev=memnvdimm0,id=nvdimm0,slot=0 \
|
||||
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
||||
-display none \
|
||||
|
@ -15,19 +15,19 @@ QEMU_AUDIO_DRV=none \
|
||||
-realtime mlock=off \
|
||||
-smp 4,sockets=4,cores=1,threads=1 \
|
||||
-object memory-backend-file,id=ram-node0,\
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-QEMUGuest1,prealloc=yes,\
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-QEMUGuest1,prealloc=on,\
|
||||
size=1073741824,host-nodes=0-3,policy=bind \
|
||||
-numa node,nodeid=0,cpus=0,memdev=ram-node0 \
|
||||
-object memory-backend-file,id=ram-node1,\
|
||||
mem-path=/dev/hugepages2M/libvirt/qemu/-1-QEMUGuest1,share=yes,prealloc=yes,\
|
||||
mem-path=/dev/hugepages2M/libvirt/qemu/-1-QEMUGuest1,share=on,prealloc=on,\
|
||||
size=1073741824,host-nodes=0-3,policy=bind \
|
||||
-numa node,nodeid=1,cpus=1,memdev=ram-node1 \
|
||||
-object memory-backend-file,id=ram-node2,\
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-QEMUGuest1,share=no,prealloc=yes,\
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-QEMUGuest1,share=off,prealloc=on,\
|
||||
size=1073741824,host-nodes=0-3,policy=bind \
|
||||
-numa node,nodeid=2,cpus=2,memdev=ram-node2 \
|
||||
-object memory-backend-file,id=ram-node3,\
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-QEMUGuest1,prealloc=yes,\
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-QEMUGuest1,prealloc=on,\
|
||||
size=1073741824,host-nodes=3,policy=bind \
|
||||
-numa node,nodeid=3,cpus=3,memdev=ram-node3 \
|
||||
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
||||
|
@ -17,8 +17,8 @@ file=/tmp/lib/domain--1-instance-00000092/master-key.aes \
|
||||
-m 14336 \
|
||||
-overcommit mem-lock=off \
|
||||
-smp 8,sockets=1,dies=1,cores=8,threads=1 \
|
||||
-object memory-backend-memfd,id=ram-node0,hugetlb=yes,hugetlbsize=2097152,\
|
||||
share=yes,prealloc=yes,size=15032385536,host-nodes=3,policy=preferred \
|
||||
-object memory-backend-memfd,id=ram-node0,hugetlb=on,hugetlbsize=2097152,\
|
||||
share=on,prealloc=on,size=15032385536,host-nodes=3,policy=preferred \
|
||||
-numa node,nodeid=0,cpus=0-7,memdev=ram-node0 \
|
||||
-uuid 126f2720-6f8e-45ab-a886-ec9277079a67 \
|
||||
-display none \
|
||||
|
@ -17,8 +17,8 @@ file=/tmp/lib/domain--1-instance-00000092/master-key.aes \
|
||||
-m 14336 \
|
||||
-overcommit mem-lock=off \
|
||||
-smp 8,sockets=1,dies=1,cores=8,threads=1 \
|
||||
-object memory-backend-memfd,id=ram-node0,hugetlb=yes,hugetlbsize=2097152,\
|
||||
share=yes,prealloc=yes,size=15032385536,host-nodes=3,policy=preferred \
|
||||
-object memory-backend-memfd,id=ram-node0,hugetlb=on,hugetlbsize=2097152,\
|
||||
share=on,prealloc=on,size=15032385536,host-nodes=3,policy=preferred \
|
||||
-numa node,nodeid=0,cpus=0-7,memdev=ram-node0 \
|
||||
-uuid 126f2720-6f8e-45ab-a886-ec9277079a67 \
|
||||
-display none \
|
||||
|
@ -16,7 +16,7 @@ QEMU_AUDIO_DRV=none \
|
||||
-smp 2,sockets=2,cores=1,threads=1 \
|
||||
-numa node,nodeid=0,cpus=0-1,mem=214 \
|
||||
-object memory-backend-file,id=memdimm0,\
|
||||
mem-path=/dev/hugepages2M/libvirt/qemu/-1-QEMUGuest1,prealloc=yes,\
|
||||
mem-path=/dev/hugepages2M/libvirt/qemu/-1-QEMUGuest1,prealloc=on,\
|
||||
size=536870912,host-nodes=1-3,policy=bind \
|
||||
-device pc-dimm,node=0,memdev=memdimm0,id=dimm0,slot=0,addr=4294967296 \
|
||||
-object memory-backend-ram,id=memdimm2,size=536870912 \
|
||||
|
@ -18,7 +18,7 @@ QEMU_AUDIO_DRV=none \
|
||||
-object memory-backend-ram,id=memdimm0,size=536870912 \
|
||||
-device pc-dimm,node=0,memdev=memdimm0,id=dimm0,slot=0 \
|
||||
-object memory-backend-file,id=memdimm1,\
|
||||
mem-path=/dev/hugepages2M/libvirt/qemu/-1-QEMUGuest1,prealloc=yes,\
|
||||
mem-path=/dev/hugepages2M/libvirt/qemu/-1-QEMUGuest1,prealloc=on,\
|
||||
size=536870912,host-nodes=1-3,policy=bind \
|
||||
-device pc-dimm,node=0,memdev=memdimm1,id=dimm1,slot=1 \
|
||||
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
||||
|
@ -19,8 +19,8 @@ file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
|
||||
-smp 2,sockets=2,dies=1,cores=1,threads=1 \
|
||||
-object memory-backend-ram,id=ram-node0,size=224395264 \
|
||||
-numa node,nodeid=0,cpus=0-1,memdev=ram-node0 \
|
||||
-object memory-backend-file,id=memnvdimm0,mem-path=/tmp/nvdimm,share=no,\
|
||||
prealloc=yes,size=536870912 \
|
||||
-object memory-backend-file,id=memnvdimm0,mem-path=/tmp/nvdimm,share=off,\
|
||||
prealloc=on,size=536870912 \
|
||||
-device nvdimm,node=0,memdev=memnvdimm0,id=nvdimm0,slot=0 \
|
||||
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
||||
-display none \
|
||||
|
@ -19,8 +19,8 @@ file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
|
||||
-smp 2,sockets=2,dies=1,cores=1,threads=1 \
|
||||
-object memory-backend-ram,id=ram-node0,size=224395264 \
|
||||
-numa node,nodeid=0,cpus=0-1,memdev=ram-node0 \
|
||||
-object memory-backend-file,id=memnvdimm0,mem-path=/tmp/nvdimm,share=no,\
|
||||
prealloc=yes,size=536870912,align=2097152 \
|
||||
-object memory-backend-file,id=memnvdimm0,mem-path=/tmp/nvdimm,share=off,\
|
||||
prealloc=on,size=536870912,align=2097152 \
|
||||
-device nvdimm,node=0,memdev=memnvdimm0,id=nvdimm0,slot=0 \
|
||||
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
||||
-display none \
|
||||
|
@ -19,8 +19,8 @@ file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
|
||||
-smp 2,sockets=2,dies=1,cores=1,threads=1 \
|
||||
-object memory-backend-ram,id=ram-node0,size=224395264 \
|
||||
-numa node,nodeid=0,cpus=0-1,memdev=ram-node0 \
|
||||
-object memory-backend-file,id=memnvdimm0,mem-path=/tmp/nvdimm,share=no,\
|
||||
prealloc=yes,size=536870912 \
|
||||
-object memory-backend-file,id=memnvdimm0,mem-path=/tmp/nvdimm,share=off,\
|
||||
prealloc=on,size=536870912 \
|
||||
-device nvdimm,node=0,label-size=131072,memdev=memnvdimm0,id=nvdimm0,slot=0 \
|
||||
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
||||
-display none \
|
||||
|
@ -19,8 +19,8 @@ file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
|
||||
-smp 2,sockets=2,dies=1,cores=1,threads=1 \
|
||||
-object memory-backend-ram,id=ram-node0,size=224395264 \
|
||||
-numa node,nodeid=0,cpus=0-1,memdev=ram-node0 \
|
||||
-object memory-backend-file,id=memnvdimm0,mem-path=/tmp/nvdimm,share=no,\
|
||||
size=536870912,pmem=yes \
|
||||
-object memory-backend-file,id=memnvdimm0,mem-path=/tmp/nvdimm,share=off,\
|
||||
size=536870912,pmem=on \
|
||||
-device nvdimm,node=0,memdev=memnvdimm0,id=nvdimm0,slot=0 \
|
||||
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
||||
-display none \
|
||||
|
@ -15,7 +15,7 @@ QEMU_AUDIO_DRV=none \
|
||||
-realtime mlock=off \
|
||||
-smp 2,sockets=2,cores=1,threads=1 \
|
||||
-numa node,nodeid=0,cpus=0-1,mem=1024 \
|
||||
-object memory-backend-file,id=memnvdimm0,mem-path=/tmp/nvdimm,prealloc=yes,\
|
||||
-object memory-backend-file,id=memnvdimm0,mem-path=/tmp/nvdimm,prealloc=on,\
|
||||
size=537001984 \
|
||||
-device nvdimm,node=0,label-size=131072,\
|
||||
uuid=49545eb3-75e1-2d0a-acdd-f0294406c99e,memdev=memnvdimm0,id=nvdimm0,slot=0 \
|
||||
|
@ -15,7 +15,7 @@ QEMU_AUDIO_DRV=none \
|
||||
-realtime mlock=off \
|
||||
-smp 2,sockets=2,cores=1,threads=1 \
|
||||
-numa node,nodeid=0,cpus=0-1,mem=1024 \
|
||||
-object memory-backend-file,id=memnvdimm0,mem-path=/tmp/nvdimm,prealloc=yes,\
|
||||
-object memory-backend-file,id=memnvdimm0,mem-path=/tmp/nvdimm,prealloc=on,\
|
||||
size=537001984 \
|
||||
-device nvdimm,node=0,label-size=131072,\
|
||||
uuid=49545eb3-75e1-2d0a-acdd-f0294406c99e,memdev=memnvdimm0,id=nvdimm0,slot=0 \
|
||||
|
@ -19,8 +19,8 @@ file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
|
||||
-smp 2,sockets=2,dies=1,cores=1,threads=1 \
|
||||
-object memory-backend-ram,id=ram-node0,size=224395264 \
|
||||
-numa node,nodeid=0,cpus=0-1,memdev=ram-node0 \
|
||||
-object memory-backend-file,id=memnvdimm0,mem-path=/tmp/nvdimm,share=no,\
|
||||
prealloc=yes,size=536870912 \
|
||||
-object memory-backend-file,id=memnvdimm0,mem-path=/tmp/nvdimm,share=off,\
|
||||
prealloc=on,size=536870912 \
|
||||
-device nvdimm,node=0,unarmed=on,memdev=memnvdimm0,id=nvdimm0,slot=0 \
|
||||
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
||||
-display none \
|
||||
|
@ -19,7 +19,7 @@ file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
|
||||
-smp 2,sockets=2,dies=1,cores=1,threads=1 \
|
||||
-object memory-backend-ram,id=ram-node0,size=1073741824 \
|
||||
-numa node,nodeid=0,cpus=0-1,memdev=ram-node0 \
|
||||
-object memory-backend-file,id=memnvdimm0,mem-path=/tmp/nvdimm,prealloc=yes,\
|
||||
-object memory-backend-file,id=memnvdimm0,mem-path=/tmp/nvdimm,prealloc=on,\
|
||||
size=536870912 \
|
||||
-device nvdimm,node=0,memdev=memnvdimm0,id=nvdimm0,slot=0 \
|
||||
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
||||
|
@ -20,7 +20,7 @@ file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
|
||||
-object memory-backend-ram,id=ram-node0,size=2145386496 \
|
||||
-numa node,nodeid=0,cpus=0-1,memdev=ram-node0 \
|
||||
-object memory-backend-file,id=memvirtiopmem0,mem-path=/tmp/virtio_pmem,\
|
||||
share=yes,size=536870912 \
|
||||
share=on,size=536870912 \
|
||||
-device virtio-pmem-pci,memdev=memvirtiopmem0,id=virtiopmem0,bus=pci.0,\
|
||||
addr=0x5 \
|
||||
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
||||
|
@ -16,11 +16,11 @@ QEMU_AUDIO_DRV=none \
|
||||
-smp 2,sockets=2,cores=1,threads=1 \
|
||||
-numa node,nodeid=0,cpus=0-1,mem=1024 \
|
||||
-object memory-backend-file,id=memdimm0,\
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-fedora,prealloc=yes,size=1073741824,\
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-fedora,prealloc=on,size=1073741824,\
|
||||
host-nodes=1-3,policy=bind \
|
||||
-device pc-dimm,node=0,memdev=memdimm0,id=dimm0,slot=0 \
|
||||
-object memory-backend-file,id=memdimm1,\
|
||||
mem-path=/var/lib/libvirt/qemu/ram/-1-fedora/dimm1,discard-data=yes,share=no,\
|
||||
mem-path=/var/lib/libvirt/qemu/ram/-1-fedora/dimm1,discard-data=on,share=off,\
|
||||
size=536870912 \
|
||||
-device pc-dimm,node=0,memdev=memdimm1,id=dimm1,slot=1 \
|
||||
-uuid 63840878-0deb-4095-97e6-fc444d9bc9fa \
|
||||
|
@ -31,7 +31,7 @@ server=on,wait=off \
|
||||
localport=1111 \
|
||||
-device isa-serial,chardev=charserial0,id=serial0 \
|
||||
-object tls-creds-x509,id=objcharserial1_tls0,dir=/etc/pki/libvirt-chardev,\
|
||||
endpoint=client,verify-peer=yes \
|
||||
endpoint=client,verify-peer=on \
|
||||
-chardev socket,id=charserial1,host=127.0.0.1,port=5555,\
|
||||
tls-creds=objcharserial1_tls0 \
|
||||
-device isa-serial,chardev=charserial1,id=serial1 \
|
||||
|
@ -31,7 +31,7 @@ server=on,wait=off \
|
||||
localport=1111 \
|
||||
-device isa-serial,chardev=charserial0,id=serial0 \
|
||||
-object tls-creds-x509,id=objcharserial1_tls0,dir=/etc/pki/libvirt-chardev,\
|
||||
endpoint=client,verify-peer=yes \
|
||||
endpoint=client,verify-peer=on \
|
||||
-chardev socket,id=charserial1,host=127.0.0.1,port=5555,\
|
||||
tls-creds=objcharserial1_tls0 \
|
||||
-device isa-serial,chardev=charserial1,id=serial1 \
|
||||
|
@ -36,7 +36,7 @@ localport=1111 \
|
||||
data=9eao5F8qtkGt+seB1HYivWIxbtwUu6MQtg1zpj/oDtUsPr1q8wBYM91uEHCn6j/1,\
|
||||
keyid=masterKey0,iv=AAECAwQFBgcICQoLDA0ODw==,format=base64 \
|
||||
-object tls-creds-x509,id=objcharserial1_tls0,dir=/etc/pki/libvirt-chardev,\
|
||||
endpoint=client,verify-peer=yes,passwordid=charserial1-secret0 \
|
||||
endpoint=client,verify-peer=on,passwordid=charserial1-secret0 \
|
||||
-chardev socket,id=charserial1,host=127.0.0.1,port=5555,\
|
||||
tls-creds=objcharserial1_tls0 \
|
||||
-device isa-serial,chardev=charserial1,id=serial1 \
|
||||
|
@ -26,14 +26,14 @@ server=on,wait=off \
|
||||
-no-acpi \
|
||||
-usb \
|
||||
-object memory-backend-file,id=shmmem-shmem0,mem-path=/dev/shm/shmem0,\
|
||||
size=4194304,share=yes \
|
||||
size=4194304,share=on \
|
||||
-device ivshmem-plain,id=shmem0,memdev=shmmem-shmem0,bus=pci.0,addr=0x3 \
|
||||
-object memory-backend-file,id=shmmem-shmem1,mem-path=/dev/shm/shmem1,\
|
||||
size=134217728,share=yes \
|
||||
size=134217728,share=on \
|
||||
-device ivshmem-plain,id=shmem1,memdev=shmmem-shmem1,master=off,bus=pci.0,\
|
||||
addr=0x5 \
|
||||
-object memory-backend-file,id=shmmem-shmem2,mem-path=/dev/shm/shmem2,\
|
||||
size=268435456,share=yes \
|
||||
size=268435456,share=on \
|
||||
-device ivshmem-plain,id=shmem2,memdev=shmmem-shmem2,master=on,bus=pci.0,\
|
||||
addr=0x4 \
|
||||
-device ivshmem-doorbell,id=shmem3,chardev=charshmem3,ioeventfd=on,bus=pci.0,\
|
||||
|
@ -17,16 +17,16 @@ file=/tmp/lib/domain--1-gentoo/master-key.aes \
|
||||
-realtime mlock=off \
|
||||
-smp 4,sockets=4,cores=1,threads=1 \
|
||||
-object memory-backend-file,id=ram-node0,\
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-gentoo,prealloc=yes,size=1073741824 \
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-gentoo,prealloc=on,size=1073741824 \
|
||||
-numa node,nodeid=0,cpus=0,memdev=ram-node0 \
|
||||
-object memory-backend-file,id=ram-node1,\
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-gentoo,prealloc=yes,size=1073741824 \
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-gentoo,prealloc=on,size=1073741824 \
|
||||
-numa node,nodeid=1,cpus=1,memdev=ram-node1 \
|
||||
-object memory-backend-file,id=ram-node2,\
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-gentoo,prealloc=yes,size=1073741824 \
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-gentoo,prealloc=on,size=1073741824 \
|
||||
-numa node,nodeid=2,cpus=2,memdev=ram-node2 \
|
||||
-object memory-backend-file,id=ram-node3,\
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-gentoo,prealloc=yes,size=1073741824 \
|
||||
mem-path=/dev/hugepages1G/libvirt/qemu/-1-gentoo,prealloc=on,size=1073741824 \
|
||||
-numa node,nodeid=3,cpus=3,memdev=ram-node3 \
|
||||
-uuid a75aca4b-a02f-2bcb-4a91-c93cd848c34b \
|
||||
-no-user-config \
|
||||
|
@ -18,7 +18,7 @@ file=/tmp/lib/domain--1-guest/master-key.aes \
|
||||
-overcommit mem-lock=off \
|
||||
-smp 2,sockets=2,cores=1,threads=1 \
|
||||
-object memory-backend-file,id=ram-node0,\
|
||||
mem-path=/var/lib/libvirt/qemu/ram/-1-guest/ram-node0,share=yes,\
|
||||
mem-path=/var/lib/libvirt/qemu/ram/-1-guest/ram-node0,share=on,\
|
||||
size=15032385536 \
|
||||
-numa node,nodeid=0,cpus=0-1,memdev=ram-node0 \
|
||||
-uuid 126f2720-6f8e-45ab-a886-ec9277079a67 \
|
||||
|
@ -18,7 +18,7 @@ file=/tmp/lib/domain--1-guest/master-key.aes \
|
||||
-overcommit mem-lock=off \
|
||||
-smp 2,sockets=2,cores=1,threads=1 \
|
||||
-object memory-backend-file,id=ram-node0,\
|
||||
mem-path=/dev/hugepages2M/libvirt/qemu/-1-guest,share=yes,prealloc=yes,\
|
||||
mem-path=/dev/hugepages2M/libvirt/qemu/-1-guest,share=on,prealloc=on,\
|
||||
size=2147483648 \
|
||||
-numa node,nodeid=0,cpus=0-1,memdev=ram-node0 \
|
||||
-uuid 1ccfd97d-5eb4-478a-bbe6-88d254c16db7 \
|
||||
|
@ -17,7 +17,7 @@ file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
|
||||
-m 214 \
|
||||
-overcommit mem-lock=off \
|
||||
-smp 1,sockets=1,cores=1,threads=1 \
|
||||
-object memory-backend-memfd,id=ram-node0,share=yes,size=224395264 \
|
||||
-object memory-backend-memfd,id=ram-node0,share=on,size=224395264 \
|
||||
-numa node,nodeid=0,cpus=0,memdev=ram-node0 \
|
||||
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
||||
-display none \
|
||||
|
@ -17,7 +17,7 @@ file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
|
||||
-m 214 \
|
||||
-overcommit mem-lock=off \
|
||||
-smp 1,sockets=1,cores=1,threads=1 \
|
||||
-object memory-backend-memfd,id=ram-node0,share=yes,size=224395264 \
|
||||
-object memory-backend-memfd,id=ram-node0,share=on,size=224395264 \
|
||||
-numa node,nodeid=0,cpus=0,memdev=ram-node0 \
|
||||
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
||||
-display none \
|
||||
|
Loading…
Reference in New Issue
Block a user