mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-06 05:11:14 +00:00
1c4f3b56f8
This patch add support for file memory backing on numa topology. The specified access mode in memoryBacking can be overriden by specifying token memAccess in numa cell.
31 lines
939 B
Plaintext
31 lines
939 B
Plaintext
LC_ALL=C \
|
|
PATH=/bin \
|
|
HOME=/home/test \
|
|
USER=test \
|
|
LOGNAME=test \
|
|
QEMU_AUDIO_DRV=none \
|
|
/usr/bin/qemu-system-x86_64 \
|
|
-name instance-00000092 \
|
|
-S \
|
|
-M pc-i440fx-wily \
|
|
-m 43008 \
|
|
-mem-prealloc \
|
|
-smp 32,sockets=1,cores=24,threads=1 \
|
|
-object memory-backend-file,id=ram-node0,mem-path=/var/lib/libvirt/qemu/ram,\
|
|
share=yes,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,\
|
|
share=yes,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,\
|
|
share=no,size=15032385536 \
|
|
-numa node,nodeid=2,cpus=4-5,memdev=ram-node2 \
|
|
-uuid 126f2720-6f8e-45ab-a886-ec9277079a67 \
|
|
-nographic \
|
|
-nodefaults \
|
|
-monitor unix:/tmp/lib/domain--1-instance-00000092/monitor.sock,server,nowait \
|
|
-no-acpi \
|
|
-boot c \
|
|
-usb \
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|