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-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-test/.local/share \
|
|
|
|
XDG_CACHE_HOME=/tmp/lib/domain--1-test/.cache \
|
|
|
|
XDG_CONFIG_HOME=/tmp/lib/domain--1-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 test \
|
2015-11-06 21:20:06 +08:00
|
|
|
-S \
|
2020-01-23 17:39:47 +08:00
|
|
|
-machine pc,accel=tcg,usb=off,dump-guest-core=off \
|
2015-11-06 21:20:06 +08:00
|
|
|
-m 1024 \
|
2019-04-12 16:03:36 +08:00
|
|
|
-realtime mlock=off \
|
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 8c273d77-39b0-47c4-9714-6dddcad56b88 \
|
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-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 \
|
2018-08-09 19:26:17 +08:00
|
|
|
-boot menu=on \
|
2015-11-06 21:20:06 +08:00
|
|
|
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6 \
|
|
|
|
-usb \
|
2015-12-28 22:13:52 +08:00
|
|
|
-drive file=/var/lib/libvirt/images/f14.img,format=qcow2,if=none,\
|
|
|
|
id=drive-virtio-disk0 \
|
2013-07-18 01:47:01 +08:00
|
|
|
-device virtio-blk-pci,ioeventfd=on,scsi=off,bus=pci.0,addr=0x4,\
|
2018-08-09 19:26:17 +08:00
|
|
|
drive=drive-virtio-disk0,id=virtio-disk0,bootindex=2 \
|
2015-12-28 22:13:52 +08:00
|
|
|
-drive file=/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,format=raw,if=none,\
|
2019-01-28 21:44:57 +08:00
|
|
|
id=drive-ide0-1-0,readonly=on \
|
|
|
|
-device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 \
|
2018-03-29 05:36:13 +08:00
|
|
|
-netdev user,id=hostnet0 \
|
|
|
|
-device virtio-net-pci,tx=bh,ioeventfd=off,netdev=hostnet0,id=net0,\
|
2016-07-11 22:27:53 +08:00
|
|
|
mac=52:54:00:e5:48:58,bus=pci.0,addr=0x3 \
|
2011-06-20 16:26:47 +08:00
|
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
|