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-i686 \
|
2015-11-06 22:29:41 +08:00
|
|
|
-name QEMUGuest1 \
|
2013-12-03 18:58:50 +08:00
|
|
|
-S \
|
2018-03-30 13:49:56 +08:00
|
|
|
-machine pc,accel=tcg,dump-guest-core=off \
|
2013-12-03 18:58:50 +08:00
|
|
|
-m 214 \
|
2016-06-23 19:29:16 +08:00
|
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
2015-11-06 22:29:52 +08:00
|
|
|
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
2018-03-29 18:51:55 +08:00
|
|
|
-display none \
|
2018-03-29 18:51:55 +08:00
|
|
|
-no-user-config \
|
2013-12-03 18:58:50 +08:00
|
|
|
-nodefaults \
|
2017-06-26 22:40:39 +08:00
|
|
|
-chardev socket,id=charmonitor,path=/tmp/lib/domain--1-QEMUGuest1/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 \
|
2013-12-03 18:58:50 +08:00
|
|
|
-no-acpi \
|
|
|
|
-boot strict=on \
|
|
|
|
-usb \
|
2015-12-28 22:13:52 +08:00
|
|
|
-drive file=/tmp/vda.img,format=raw,if=none,id=drive-virtio-disk0 \
|
2013-12-03 18:58:50 +08:00
|
|
|
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,\
|
|
|
|
id=virtio-disk0,bootindex=3 \
|
2015-12-28 22:13:52 +08:00
|
|
|
-drive file=/tmp/vdb.img,format=raw,if=none,id=drive-virtio-disk1 \
|
2013-12-03 18:58:50 +08:00
|
|
|
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk1,\
|
|
|
|
id=virtio-disk1 \
|
2015-12-28 22:13:52 +08:00
|
|
|
-drive file=/dev/HostVG/hda,format=raw,if=none,id=drive-ide0-0-0 \
|
2013-12-03 18:58:50 +08:00
|
|
|
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
|
2015-12-28 22:13:52 +08:00
|
|
|
-drive file=/dev/HostVG/hdb,format=raw,if=none,id=drive-ide0-0-1 \
|
2013-12-03 18:58:50 +08:00
|
|
|
-device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 \
|
2017-11-22 17:36:30 +08:00
|
|
|
-drive file=/dev/HostVG/hdc,format=raw,if=none,id=drive-ide0-1-0,media=cdrom,\
|
2016-05-20 19:49:15 +08:00
|
|
|
readonly=on \
|
2016-07-11 22:27:53 +08:00
|
|
|
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,\
|
|
|
|
bootindex=1 \
|
2015-12-28 22:13:52 +08:00
|
|
|
-drive file=/dev/fd0,format=raw,if=none,id=drive-fdc0-0-0 \
|
2013-12-03 18:58:50 +08:00
|
|
|
-global isa-fdc.driveA=drive-fdc0-0-0 \
|
|
|
|
-global isa-fdc.bootindexA=4 \
|
2015-12-28 22:13:52 +08:00
|
|
|
-drive file=/dev/fd1,format=raw,if=none,id=drive-fdc0-0-1 \
|
2013-12-03 18:58:50 +08:00
|
|
|
-global isa-fdc.driveB=drive-fdc0-0-1 \
|
2018-03-29 05:36:13 +08:00
|
|
|
-netdev user,id=hostnet0 \
|
|
|
|
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=00:11:22:33:44:11,bus=pci.0,\
|
|
|
|
addr=0x3,bootindex=2 \
|
|
|
|
-netdev user,id=hostnet1 \
|
|
|
|
-device virtio-net-pci,netdev=hostnet1,id=net1,mac=00:11:22:33:44:22,bus=pci.0,\
|
|
|
|
addr=0x4
|