2015-11-06 21:20:06 +08:00
|
|
|
LC_ALL=C \
|
|
|
|
PATH=/bin \
|
2019-03-06 20:29:01 +08:00
|
|
|
HOME=/tmp/lib/domain--1-q35-test \
|
2015-11-06 21:20:06 +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 \
|
2015-11-06 21:20:06 +08:00
|
|
|
QEMU_AUDIO_DRV=none \
|
2017-04-07 00:19:48 +08:00
|
|
|
/usr/bin/qemu-system-x86_64 \
|
2015-11-06 22:29:41 +08:00
|
|
|
-name q35-test \
|
2015-11-06 21:20:06 +08:00
|
|
|
-S \
|
2018-03-29 18:51:55 +08:00
|
|
|
-machine q35,accel=tcg,usb=off,dump-guest-core=off \
|
2015-11-06 21:20:06 +08:00
|
|
|
-m 2048 \
|
2019-04-12 16:03:36 +08:00
|
|
|
-realtime mlock=off \
|
2016-06-23 19:29:16 +08:00
|
|
|
-smp 2,sockets=2,cores=1,threads=1 \
|
2015-11-06 22:29:52 +08:00
|
|
|
-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 \
|
2015-11-06 21:20:06 +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 \
|
2015-11-06 21:20:06 +08:00
|
|
|
-no-acpi \
|
2017-02-21 21:30:39 +08:00
|
|
|
-device ioh3420,port=0x10,chassis=1,id=pci.1,bus=pcie.0,addr=0x2 \
|
|
|
|
-device x3130-upstream,id=pci.2,bus=pci.1,addr=0x0 \
|
|
|
|
-device xio3130-downstream,port=0x0,chassis=3,id=pci.3,bus=pci.2,addr=0x0 \
|
|
|
|
-device xio3130-downstream,port=0x1,chassis=4,id=pci.4,bus=pci.2,addr=0x1 \
|
|
|
|
-device xio3130-downstream,port=0x2,chassis=5,id=pci.5,bus=pci.2,addr=0x2 \
|
|
|
|
-device xio3130-downstream,port=0x27,chassis=30,id=pci.6,bus=pci.2,addr=0x3 \
|
|
|
|
-device x3130-upstream,id=pci.7,bus=pci.3,addr=0x0 \
|
|
|
|
-device xio3130-downstream,port=0x4,chassis=8,id=pci.8,bus=pci.2,addr=0x4 \
|
|
|
|
-device xio3130-downstream,port=0x5,chassis=9,id=pci.9,bus=pci.2,addr=0x5 \
|
|
|
|
-device xio3130-downstream,port=0x6,chassis=10,id=pci.10,bus=pci.2,addr=0x6 \
|
2015-12-28 22:13:52 +08:00
|
|
|
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-sata0-0-0 \
|
2019-01-28 21:44:57 +08:00
|
|
|
-device ide-hd,bus=ide.0,drive=drive-sata0-0-0,id=sata0-0-0,bootindex=1 \
|
2016-09-22 00:26:21 +08:00
|
|
|
-device qxl-vga,id=video0,ram_size=67108864,vram_size=33554432,bus=pcie.0,\
|
|
|
|
addr=0x1
|