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 \
|
2015-11-06 21:20:06 +08:00
|
|
|
-S \
|
2018-03-29 18:51:55 +08:00
|
|
|
-machine pc,accel=tcg,usb=off,dump-guest-core=off \
|
2015-11-06 21:20:06 +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 \
|
2016-01-13 08:26:40 +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 \
|
2015-11-06 21:20:06 +08:00
|
|
|
-no-acpi \
|
|
|
|
-boot c \
|
|
|
|
-usb \
|
2017-09-12 07:18:21 +08:00
|
|
|
-drive file=iscsi://example.org:6000/iqn.1992-01.com.example/0,format=raw,\
|
2016-07-11 22:27:53 +08:00
|
|
|
if=none,id=drive-virtio-disk0 \
|
2016-01-13 08:26:40 +08:00
|
|
|
-device virtio-blk-pci,bus=pci.0,addr=0x3,drive=drive-virtio-disk0,\
|
|
|
|
id=virtio-disk0 \
|
2015-12-28 22:13:52 +08:00
|
|
|
-drive file=iscsi://example.org:6000/iqn.1992-01.com.example/1,format=raw,\
|
2016-01-13 08:26:40 +08:00
|
|
|
if=none,id=drive-virtio-disk1 \
|
|
|
|
-device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk1,\
|
|
|
|
id=virtio-disk1
|