2015-11-06 21:20:06 +08:00
|
|
|
LC_ALL=C \
|
|
|
|
PATH=/bin \
|
|
|
|
HOME=/home/test \
|
|
|
|
USER=test \
|
|
|
|
LOGNAME=test \
|
|
|
|
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-30 13:49:56 +08:00
|
|
|
-machine q35,accel=tcg,dump-guest-core=off \
|
2015-11-06 21:20:06 +08:00
|
|
|
-m 2048 \
|
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 \
|
2015-11-06 21:20:06 +08:00
|
|
|
-nographic \
|
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 \
|
|
|
|
-boot c \
|
2015-10-21 00:08:56 +08:00
|
|
|
-device ich9-usb-ehci1,id=usb,bus=pcie.0,addr=0x1d.0x7 \
|
|
|
|
-device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pcie.0,multifunction=on,\
|
|
|
|
addr=0x1d \
|
|
|
|
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pcie.0,addr=0x1d.0x1 \
|
|
|
|
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pcie.0,addr=0x1d.0x2 \
|
2015-12-28 22:13:52 +08:00
|
|
|
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-sata0-0-0 \
|
2013-09-20 18:00:48 +08:00
|
|
|
-device ide-drive,bus=ide.0,drive=drive-sata0-0-0,id=sata0-0-0 \
|
2016-09-22 00:26:21 +08:00
|
|
|
-device qxl-vga,id=video0,ram_size=67108864,vram_size=33554432,bus=pcie.0,\
|
|
|
|
addr=0x1
|