2016-09-20 06:46:41 +08:00
|
|
|
LC_ALL=C \
|
|
|
|
PATH=/bin \
|
2019-03-06 20:29:01 +08:00
|
|
|
HOME=/tmp/lib/domain--1-q35-test \
|
2016-09-20 06:46:41 +08:00
|
|
|
USER=test \
|
|
|
|
LOGNAME=test \
|
2019-03-08 19:15:07 +08:00
|
|
|
XDG_DATA_HOME=/tmp/lib/domain--1-q35-test/.local/share \
|
|
|
|
XDG_CACHE_HOME=/tmp/lib/domain--1-q35-test/.cache \
|
|
|
|
XDG_CONFIG_HOME=/tmp/lib/domain--1-q35-test/.config \
|
2016-09-20 06:46:41 +08:00
|
|
|
QEMU_AUDIO_DRV=none \
|
2017-04-07 00:19:48 +08:00
|
|
|
/usr/bin/qemu-system-x86_64 \
|
2016-09-20 06:46:41 +08:00
|
|
|
-name q35-test \
|
|
|
|
-S \
|
2018-03-29 18:51:55 +08:00
|
|
|
-machine q35,accel=tcg,usb=off,dump-guest-core=off \
|
2016-09-20 06:46:41 +08:00
|
|
|
-m 2048 \
|
2019-04-12 16:03:36 +08:00
|
|
|
-realtime mlock=off \
|
2016-09-20 06:46:41 +08:00
|
|
|
-smp 2,sockets=2,cores=1,threads=1 \
|
|
|
|
-uuid 11dbdcdd-4c3b-482b-8903-9bdb8c0a2774 \
|
2018-03-29 18:51:55 +08:00
|
|
|
-display none \
|
2018-03-29 18:51:55 +08:00
|
|
|
-no-user-config \
|
2016-09-20 06:46:41 +08:00
|
|
|
-nodefaults \
|
2017-06-26 22:40:39 +08:00
|
|
|
-chardev socket,id=charmonitor,path=/tmp/lib/domain--1-q35-test/monitor.sock,\
|
|
|
|
server,nowait \
|
2018-03-29 06:04:58 +08:00
|
|
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
2018-03-29 18:51:55 +08:00
|
|
|
-rtc base=utc \
|
2018-03-29 18:51:55 +08:00
|
|
|
-no-shutdown \
|
2016-09-20 06:46:41 +08:00
|
|
|
-no-acpi \
|
2016-10-21 03:46:01 +08:00
|
|
|
-device ioh3420,port=0x8,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,\
|
|
|
|
addr=0x1 \
|
|
|
|
-device ioh3420,port=0x9,chassis=2,id=pci.2,bus=pcie.0,addr=0x1.0x1 \
|
|
|
|
-device ioh3420,port=0xa,chassis=3,id=pci.3,bus=pcie.0,addr=0x1.0x2 \
|
2016-09-20 06:46:41 +08:00
|
|
|
-device nec-usb-xhci,id=usb,bus=pci.1,addr=0x0 \
|
|
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.2,addr=0x0
|