2015-11-06 21:20:06 +08:00
|
|
|
LC_ALL=C \
|
|
|
|
PATH=/bin \
|
|
|
|
HOME=/home/test \
|
|
|
|
USER=test \
|
|
|
|
LOGNAME=test \
|
|
|
|
QEMU_AUDIO_DRV=spice \
|
|
|
|
/usr/bin/qemu \
|
2015-11-06 22:29:41 +08:00
|
|
|
-name QEMUGuest1 \
|
2015-11-06 21:20:06 +08:00
|
|
|
-S \
|
|
|
|
-M pc \
|
|
|
|
-m 214 \
|
|
|
|
-smp 1 \
|
2015-11-06 22:29:52 +08:00
|
|
|
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
2015-11-06 21:20:06 +08:00
|
|
|
-nodefconfig \
|
|
|
|
-nodefaults \
|
|
|
|
-monitor unix:/tmp/test-monitor,server,nowait \
|
|
|
|
-no-acpi \
|
|
|
|
-boot c \
|
2012-03-09 15:26:24 +08:00
|
|
|
-device virtio-serial-pci,id=virtio-serial1,bus=pci.0,addr=0xa \
|
2015-11-06 21:20:06 +08:00
|
|
|
-usb \
|
2015-11-07 02:20:20 +08:00
|
|
|
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0,format=raw \
|
2015-11-06 22:28:57 +08:00
|
|
|
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
|
2015-11-06 21:20:06 +08:00
|
|
|
-chardev spicevmc,id=charchannel0,name=vdagent \
|
2013-07-18 01:47:01 +08:00
|
|
|
-device virtserialport,bus=virtio-serial1.0,nr=3,chardev=charchannel0,\
|
|
|
|
id=channel0,name=com.redhat.spice.0 \
|
|
|
|
-spice port=5903,tls-port=5904,addr=127.0.0.1,agent-mouse=off,\
|
|
|
|
x509-dir=/etc/pki/libvirt-spice,tls-channel=main \
|
2015-11-06 21:20:06 +08:00
|
|
|
-vga cirrus \
|
|
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|