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 test-bios \
|
2015-11-06 21:20:06 +08:00
|
|
|
-S \
|
|
|
|
-M pc \
|
2016-07-11 22:27:53 +08:00
|
|
|
-drive file=/usr/share/OVMF/OVMF_CODE.fd,if=pflash,format=raw,unit=0,\
|
|
|
|
readonly=on \
|
2014-08-07 19:50:00 +08:00
|
|
|
-drive file=/usr/share/OVMF/OVMF_VARS.fd,if=pflash,format=raw,unit=1 \
|
2015-11-06 21:20:06 +08:00
|
|
|
-m 1024 \
|
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 362d1fc1-df7d-193e-5c18-49a71bd1da66 \
|
2015-11-06 21:20:06 +08:00
|
|
|
-nographic \
|
|
|
|
-nodefaults \
|
2017-06-26 22:40:39 +08:00
|
|
|
-chardev socket,id=charmonitor,path=/tmp/lib/domain--1-test-bios/monitor.sock,\
|
|
|
|
server,nowait \
|
2018-03-29 06:04:58 +08:00
|
|
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
2015-11-06 21:20:06 +08:00
|
|
|
-boot c \
|
|
|
|
-usb \
|
2015-12-28 22:13:52 +08:00
|
|
|
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
|
2014-08-07 19:50:00 +08:00
|
|
|
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
|
2015-08-12 22:52:18 +08:00
|
|
|
-device usb-tablet,id=input0,bus=usb.0,port=1 \
|
2014-08-07 19:50:00 +08:00
|
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|