mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 22:25:25 +00:00
8b54bffbab
Add support to start qemu instance with 'pc-dimm' device. Thanks to the refactors we are able to reuse the existing function to determine the parameters.
12 lines
620 B
Plaintext
12 lines
620 B
Plaintext
LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test QEMU_AUDIO_DRV=none \
|
|
/usr/bin/qemu -S -M pc -m size=219136k,slots=16,maxmem=1099511627776k -smp 2 \
|
|
-numa node,nodeid=0,cpus=0-1,mem=214 \
|
|
-object memory-backend-ram,id=memdimm0,size=536870912 \
|
|
-device pc-dimm,node=0,memdev=memdimm0,id=dimm0 \
|
|
-object memory-backend-ram,id=memdimm1,size=536870912,host-nodes=1-3,\
|
|
policy=bind \
|
|
-device pc-dimm,node=0,memdev=memdimm1,id=dimm1 \
|
|
-nographic -nodefaults -monitor unix:/tmp/test-monitor,server,nowait \
|
|
-no-acpi -boot c -usb -hda /dev/HostVG/QEMUGuest1 \
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|