mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
75a9169881
By default, qemu user's home dir points to '/' which shouldn't be used at all. We therefore pass the HOME variable from the current variable iff not running as SUID, which means that for systemd we never set it. This patch makes sure, that for system QEMU this is always set to libDir/<driver>, session mode is left untouched. Signed-off-by: Erik Skultety <eskultet@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
69 lines
2.1 KiB
Plaintext
69 lines
2.1 KiB
Plaintext
LC_ALL=C \
|
|
PATH=/bin \
|
|
HOME=/tmp/lib/domain--1-QEMUGuest \
|
|
USER=test \
|
|
LOGNAME=test \
|
|
XDG_DATA_HOME=/tmp/lib/domain--1-QEMUGuest/.local/share \
|
|
XDG_CACHE_HOME=/tmp/lib/domain--1-QEMUGuest/.cache \
|
|
XDG_CONFIG_HOME=/tmp/lib/domain--1-QEMUGuest/.config \
|
|
QEMU_AUDIO_DRV=none \
|
|
/usr/bin/qemu-system-x86_64 \
|
|
-name QEMUGuest \
|
|
-S \
|
|
-machine xenfv,accel=tcg,usb=off,dump-guest-core=off \
|
|
-m 12288 \
|
|
-smp 12,sockets=12,cores=1,threads=1 \
|
|
-numa node,nodeid=0,cpus=0,cpus=11,mem=2048 \
|
|
-numa node,nodeid=1,cpus=1,cpus=10,mem=2048 \
|
|
-numa node,nodeid=2,cpus=2,cpus=9,mem=2048 \
|
|
-numa node,nodeid=3,cpus=3,cpus=8,mem=2048 \
|
|
-numa node,nodeid=4,cpus=4,cpus=7,mem=2048 \
|
|
-numa node,nodeid=5,cpus=5-6,mem=2048 \
|
|
-numa dist,src=0,dst=0,val=10 \
|
|
-numa dist,src=0,dst=1,val=21 \
|
|
-numa dist,src=0,dst=2,val=31 \
|
|
-numa dist,src=0,dst=3,val=41 \
|
|
-numa dist,src=0,dst=4,val=51 \
|
|
-numa dist,src=0,dst=5,val=61 \
|
|
-numa dist,src=1,dst=0,val=21 \
|
|
-numa dist,src=1,dst=1,val=10 \
|
|
-numa dist,src=1,dst=2,val=21 \
|
|
-numa dist,src=1,dst=3,val=31 \
|
|
-numa dist,src=1,dst=4,val=41 \
|
|
-numa dist,src=1,dst=5,val=51 \
|
|
-numa dist,src=2,dst=0,val=31 \
|
|
-numa dist,src=2,dst=1,val=21 \
|
|
-numa dist,src=2,dst=2,val=10 \
|
|
-numa dist,src=2,dst=3,val=21 \
|
|
-numa dist,src=2,dst=4,val=31 \
|
|
-numa dist,src=2,dst=5,val=41 \
|
|
-numa dist,src=3,dst=0,val=41 \
|
|
-numa dist,src=3,dst=1,val=31 \
|
|
-numa dist,src=3,dst=2,val=21 \
|
|
-numa dist,src=3,dst=3,val=10 \
|
|
-numa dist,src=3,dst=4,val=21 \
|
|
-numa dist,src=3,dst=5,val=31 \
|
|
-numa dist,src=4,dst=0,val=51 \
|
|
-numa dist,src=4,dst=1,val=41 \
|
|
-numa dist,src=4,dst=2,val=31 \
|
|
-numa dist,src=4,dst=3,val=21 \
|
|
-numa dist,src=4,dst=4,val=10 \
|
|
-numa dist,src=4,dst=5,val=21 \
|
|
-numa dist,src=5,dst=0,val=61 \
|
|
-numa dist,src=5,dst=1,val=51 \
|
|
-numa dist,src=5,dst=2,val=41 \
|
|
-numa dist,src=5,dst=3,val=31 \
|
|
-numa dist,src=5,dst=4,val=21 \
|
|
-numa dist,src=5,dst=5,val=10 \
|
|
-uuid c7a5fdb2-cdaf-9455-926a-d65c16db1809 \
|
|
-display none \
|
|
-no-user-config \
|
|
-nodefaults \
|
|
-chardev socket,id=charmonitor,path=/tmp/lib/domain--1-QEMUGuest/monitor.sock,\
|
|
server,nowait \
|
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
|
-rtc base=utc \
|
|
-no-shutdown \
|
|
-usb \
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x2
|