mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 01:34:11 +03:00
34a59fb570
Initially introduced in v3.10.0-rc1~172. When generating a path for memory-backend-file or -mem-path, qemu driver will use the following pattern: $memoryBackingDir/libvirt/qemu/$id-$shortName where $memoryBackingDir defaults to /var/lib/libvirt/qemu/ram but can be overridden in qemu.conf. Anyway, the "/libvirt/qemu/" part looks redundant, because it's already contained in the default, or creates unnecessary nesting if overridden in qemu.conf. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
LC_ALL=C \
|
|
PATH=/bin \
|
|
HOME=/tmp/lib/domain--1-instance-00000092 \
|
|
USER=test \
|
|
LOGNAME=test \
|
|
XDG_DATA_HOME=/tmp/lib/domain--1-instance-00000092/.local/share \
|
|
XDG_CACHE_HOME=/tmp/lib/domain--1-instance-00000092/.cache \
|
|
XDG_CONFIG_HOME=/tmp/lib/domain--1-instance-00000092/.config \
|
|
QEMU_AUDIO_DRV=none \
|
|
/usr/bin/qemu-system-x86_64 \
|
|
-name instance-00000092 \
|
|
-S \
|
|
-machine pc-i440fx-2.3,accel=kvm,usb=off,dump-guest-core=off \
|
|
-m 28672 \
|
|
-mem-prealloc \
|
|
-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,\
|
|
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,\
|
|
size=15032385536 \
|
|
-numa node,nodeid=1,cpus=8-15,memdev=ram-node1 \
|
|
-uuid 126f2720-6f8e-45ab-a886-ec9277079a67 \
|
|
-display none \
|
|
-no-user-config \
|
|
-nodefaults \
|
|
-chardev socket,id=charmonitor,\
|
|
path=/tmp/lib/domain--1-instance-00000092/monitor.sock,server,nowait \
|
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
|
-rtc base=utc \
|
|
-no-shutdown \
|
|
-no-acpi \
|
|
-usb \
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|