mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 23:25:24 +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>
156 lines
7.1 KiB
Plaintext
156 lines
7.1 KiB
Plaintext
LC_ALL=C \
|
|
PATH=/bin \
|
|
HOME=/tmp/lib/domain--1-pcie-expander-bus-te \
|
|
USER=test \
|
|
LOGNAME=test \
|
|
XDG_DATA_HOME=/tmp/lib/domain--1-pcie-expander-bus-te/.local/share \
|
|
XDG_CACHE_HOME=/tmp/lib/domain--1-pcie-expander-bus-te/.cache \
|
|
XDG_CONFIG_HOME=/tmp/lib/domain--1-pcie-expander-bus-te/.config \
|
|
QEMU_AUDIO_DRV=none \
|
|
/usr/bin/qemu-system-x86_64 \
|
|
-name pcie-expander-bus-test \
|
|
-S \
|
|
-machine q35,accel=tcg,usb=off,dump-guest-core=off \
|
|
-m 214 \
|
|
-smp 16,sockets=2,cores=4,threads=2 \
|
|
-numa node,nodeid=0,cpus=0-7,mem=107 \
|
|
-numa node,nodeid=1,cpus=8-15,mem=107 \
|
|
-uuid 11dbdcdd-4c3b-482b-8903-9bdb8c0a2774 \
|
|
-display none \
|
|
-no-user-config \
|
|
-nodefaults \
|
|
-chardev socket,id=charmonitor,\
|
|
path=/tmp/lib/domain--1-pcie-expander-bus-te/monitor.sock,server,nowait \
|
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
|
-rtc base=utc \
|
|
-no-shutdown \
|
|
-no-acpi \
|
|
-device pxb-pcie,bus_nr=254,id=pci.1,numa_node=0,bus=pcie.0,addr=0x4 \
|
|
-device ioh3420,port=0x0,chassis=2,id=pci.2,bus=pci.1,addr=0x0 \
|
|
-device x3130-upstream,id=pci.3,bus=pci.2,addr=0x0 \
|
|
-device xio3130-downstream,port=0x0,chassis=4,id=pci.4,bus=pci.3,addr=0x0 \
|
|
-device xio3130-downstream,port=0x1,chassis=5,id=pci.5,bus=pci.3,addr=0x1 \
|
|
-device xio3130-downstream,port=0x2,chassis=6,id=pci.6,bus=pci.3,addr=0x2 \
|
|
-device xio3130-downstream,port=0x3,chassis=7,id=pci.7,bus=pci.3,addr=0x3 \
|
|
-device xio3130-downstream,port=0x4,chassis=8,id=pci.8,bus=pci.3,addr=0x4 \
|
|
-device xio3130-downstream,port=0x5,chassis=9,id=pci.9,bus=pci.3,addr=0x5 \
|
|
-device xio3130-downstream,port=0x6,chassis=10,id=pci.10,bus=pci.3,addr=0x6 \
|
|
-device xio3130-downstream,port=0x7,chassis=11,id=pci.11,bus=pci.3,addr=0x7 \
|
|
-device xio3130-downstream,port=0x8,chassis=12,id=pci.12,bus=pci.3,addr=0x8 \
|
|
-device xio3130-downstream,port=0x9,chassis=13,id=pci.13,bus=pci.3,addr=0x9 \
|
|
-device xio3130-downstream,port=0xa,chassis=14,id=pci.14,bus=pci.3,addr=0xa \
|
|
-device xio3130-downstream,port=0xb,chassis=15,id=pci.15,bus=pci.3,addr=0xb \
|
|
-device xio3130-downstream,port=0xc,chassis=16,id=pci.16,bus=pci.3,addr=0xc \
|
|
-device xio3130-downstream,port=0xd,chassis=17,id=pci.17,bus=pci.3,addr=0xd \
|
|
-device xio3130-downstream,port=0xe,chassis=18,id=pci.18,bus=pci.3,addr=0xe \
|
|
-device xio3130-downstream,port=0xf,chassis=19,id=pci.19,bus=pci.3,addr=0xf \
|
|
-device xio3130-downstream,port=0x10,chassis=20,id=pci.20,bus=pci.3,addr=0x10 \
|
|
-device xio3130-downstream,port=0x11,chassis=21,id=pci.21,bus=pci.3,addr=0x11 \
|
|
-device xio3130-downstream,port=0x12,chassis=22,id=pci.22,bus=pci.3,addr=0x12 \
|
|
-device xio3130-downstream,port=0x13,chassis=23,id=pci.23,bus=pci.3,addr=0x13 \
|
|
-device xio3130-downstream,port=0x14,chassis=24,id=pci.24,bus=pci.3,addr=0x14 \
|
|
-device xio3130-downstream,port=0x15,chassis=25,id=pci.25,bus=pci.3,addr=0x15 \
|
|
-device xio3130-downstream,port=0x16,chassis=26,id=pci.26,bus=pci.3,addr=0x16 \
|
|
-device xio3130-downstream,port=0x17,chassis=27,id=pci.27,bus=pci.3,addr=0x17 \
|
|
-device xio3130-downstream,port=0x18,chassis=28,id=pci.28,bus=pci.3,addr=0x18 \
|
|
-device xio3130-downstream,port=0x19,chassis=29,id=pci.29,bus=pci.3,addr=0x19 \
|
|
-device xio3130-downstream,port=0x1a,chassis=30,id=pci.30,bus=pci.3,addr=0x1a \
|
|
-device xio3130-downstream,port=0x1b,chassis=31,id=pci.31,bus=pci.3,addr=0x1b \
|
|
-device xio3130-downstream,port=0x1c,chassis=32,id=pci.32,bus=pci.3,addr=0x1c \
|
|
-device xio3130-downstream,port=0x1d,chassis=33,id=pci.33,bus=pci.3,addr=0x1d \
|
|
-device xio3130-downstream,port=0x1e,chassis=34,id=pci.34,bus=pci.3,addr=0x1e \
|
|
-device xio3130-downstream,port=0x1f,chassis=35,id=pci.35,bus=pci.3,addr=0x1f \
|
|
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-sata0-0-0 \
|
|
-device ide-hd,bus=ide.0,drive=drive-sata0-0-0,id=sata0-0-0,bootindex=1 \
|
|
-netdev user,id=hostnet0 \
|
|
-device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:f1:95:51,bus=pci.4,\
|
|
addr=0x0 \
|
|
-netdev user,id=hostnet1 \
|
|
-device e1000,netdev=hostnet1,id=net1,mac=52:54:00:5c:c6:1a,bus=pci.5,addr=0x0 \
|
|
-netdev user,id=hostnet2 \
|
|
-device e1000,netdev=hostnet2,id=net2,mac=52:54:00:39:97:ac,bus=pci.6,addr=0x0 \
|
|
-netdev user,id=hostnet3 \
|
|
-device e1000,netdev=hostnet3,id=net3,mac=52:54:00:ee:b9:a8,bus=pci.7,addr=0x0 \
|
|
-netdev user,id=hostnet4 \
|
|
-device e1000,netdev=hostnet4,id=net4,mac=52:54:00:a9:f7:17,bus=pci.8,addr=0x0 \
|
|
-netdev user,id=hostnet5 \
|
|
-device e1000,netdev=hostnet5,id=net5,mac=52:54:00:df:2b:f3,bus=pci.9,addr=0x0 \
|
|
-netdev user,id=hostnet6 \
|
|
-device e1000,netdev=hostnet6,id=net6,mac=52:54:00:78:94:b4,bus=pci.10,\
|
|
addr=0x0 \
|
|
-netdev user,id=hostnet7 \
|
|
-device e1000,netdev=hostnet7,id=net7,mac=52:54:00:6b:9b:06,bus=pci.11,\
|
|
addr=0x0 \
|
|
-netdev user,id=hostnet8 \
|
|
-device e1000,netdev=hostnet8,id=net8,mac=52:54:00:17:df:bc,bus=pci.12,\
|
|
addr=0x0 \
|
|
-netdev user,id=hostnet9 \
|
|
-device e1000,netdev=hostnet9,id=net9,mac=52:54:00:3b:d0:51,bus=pci.13,\
|
|
addr=0x0 \
|
|
-netdev user,id=hostnet10 \
|
|
-device e1000,netdev=hostnet10,id=net10,mac=52:54:00:8d:2d:17,bus=pci.14,\
|
|
addr=0x0 \
|
|
-netdev user,id=hostnet11 \
|
|
-device e1000,netdev=hostnet11,id=net11,mac=52:54:00:a7:66:af,bus=pci.15,\
|
|
addr=0x0 \
|
|
-netdev user,id=hostnet12 \
|
|
-device e1000,netdev=hostnet12,id=net12,mac=52:54:00:54:ab:d7,bus=pci.16,\
|
|
addr=0x0 \
|
|
-netdev user,id=hostnet13 \
|
|
-device e1000,netdev=hostnet13,id=net13,mac=52:54:00:1f:99:90,bus=pci.17,\
|
|
addr=0x0 \
|
|
-netdev user,id=hostnet14 \
|
|
-device e1000,netdev=hostnet14,id=net14,mac=52:54:00:c8:43:87,bus=pci.18,\
|
|
addr=0x0 \
|
|
-netdev user,id=hostnet15 \
|
|
-device e1000,netdev=hostnet15,id=net15,mac=52:54:00:df:22:b2,bus=pci.19,\
|
|
addr=0x0 \
|
|
-netdev user,id=hostnet16 \
|
|
-device e1000,netdev=hostnet16,id=net16,mac=52:54:00:d2:9a:47,bus=pci.20,\
|
|
addr=0x0 \
|
|
-netdev user,id=hostnet17 \
|
|
-device e1000,netdev=hostnet17,id=net17,mac=52:54:00:86:05:e2,bus=pci.21,\
|
|
addr=0x0 \
|
|
-netdev user,id=hostnet18 \
|
|
-device e1000,netdev=hostnet18,id=net18,mac=52:54:00:8c:1c:c2,bus=pci.22,\
|
|
addr=0x0 \
|
|
-netdev user,id=hostnet19 \
|
|
-device e1000,netdev=hostnet19,id=net19,mac=52:54:00:48:58:92,bus=pci.23,\
|
|
addr=0x0 \
|
|
-netdev user,id=hostnet20 \
|
|
-device e1000,netdev=hostnet20,id=net20,mac=52:54:00:99:e5:bf,bus=pci.24,\
|
|
addr=0x0 \
|
|
-netdev user,id=hostnet21 \
|
|
-device e1000,netdev=hostnet21,id=net21,mac=52:54:00:b1:8c:25,bus=pci.25,\
|
|
addr=0x0 \
|
|
-netdev user,id=hostnet22 \
|
|
-device e1000,netdev=hostnet22,id=net22,mac=52:54:00:60:e0:d0,bus=pci.26,\
|
|
addr=0x0 \
|
|
-netdev user,id=hostnet23 \
|
|
-device e1000,netdev=hostnet23,id=net23,mac=52:54:00:37:00:6a,bus=pci.27,\
|
|
addr=0x0 \
|
|
-netdev user,id=hostnet24 \
|
|
-device e1000,netdev=hostnet24,id=net24,mac=52:54:00:c7:c8:ad,bus=pci.28,\
|
|
addr=0x0 \
|
|
-netdev user,id=hostnet25 \
|
|
-device e1000,netdev=hostnet25,id=net25,mac=52:54:00:4e:a7:cf,bus=pci.29,\
|
|
addr=0x0 \
|
|
-netdev user,id=hostnet26 \
|
|
-device e1000,netdev=hostnet26,id=net26,mac=52:54:00:00:79:69,bus=pci.30,\
|
|
addr=0x0 \
|
|
-netdev user,id=hostnet27 \
|
|
-device e1000,netdev=hostnet27,id=net27,mac=52:54:00:47:00:6f,bus=pci.31,\
|
|
addr=0x0 \
|
|
-netdev user,id=hostnet28 \
|
|
-device e1000,netdev=hostnet28,id=net28,mac=52:54:00:2a:8c:8b,bus=pci.32,\
|
|
addr=0x0 \
|
|
-netdev user,id=hostnet29 \
|
|
-device e1000,netdev=hostnet29,id=net29,mac=52:54:00:ec:d5:e3,bus=pci.33,\
|
|
addr=0x0 \
|
|
-netdev user,id=hostnet30 \
|
|
-device e1000,netdev=hostnet30,id=net30,mac=52:54:00:7e:6e:c8,bus=pci.34,\
|
|
addr=0x0 \
|
|
-netdev user,id=hostnet31 \
|
|
-device e1000,netdev=hostnet31,id=net31,mac=52:54:00:7e:6d:c9,bus=pci.35,\
|
|
addr=0x0
|