You need to sign in or sign up before continuing.
qemuxml2argv-memory-hotplug-dimm-addr.args 964 字节
Newer Older
1 2 3 4 5 6 7
LC_ALL=C \
PATH=/bin \
HOME=/home/test \
USER=test \
LOGNAME=test \
QEMU_AUDIO_DRV=none \
/usr/bin/qemu \
8
-name QEMUGuest1 \
9 10 11
-S \
-M pc \
-m size=219136k,slots=16,maxmem=1099511627776k \
12
-smp 2,sockets=2,cores=1,threads=1 \
13
-numa node,nodeid=0,cpus=0-1,mem=214 \
14
-object memory-backend-file,id=memdimm0,prealloc=yes,\
15 16
mem-path=/dev/hugepages2M/libvirt/qemu,size=536870912,host-nodes=1-3,\
policy=bind \
17
-device pc-dimm,node=0,memdev=memdimm0,id=dimm0,slot=0,addr=4294967296 \
18 19
-object memory-backend-ram,id=memdimm2,size=536870912 \
-device pc-dimm,node=0,memdev=memdimm2,id=dimm2,slot=2 \
20
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
21 22
-nographic \
-nodefaults \
23
-monitor unix:/tmp/lib/domain--1-QEMUGuest1/monitor.sock,server,nowait \
24 25 26
-no-acpi \
-boot c \
-usb \
27
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
28
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
29
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3