2015-11-25 16:42:33 +08:00
|
|
|
LC_ALL=C \
|
|
|
|
PATH=/bin \
|
|
|
|
HOME=/home/test \
|
|
|
|
USER=test \
|
|
|
|
LOGNAME=test \
|
|
|
|
QEMU_AUDIO_DRV=none \
|
|
|
|
/usr/bin/qemu \
|
|
|
|
-name QEMUGuest1 \
|
|
|
|
-S \
|
|
|
|
-M pc \
|
|
|
|
-m 1024 \
|
|
|
|
-smp 1 \
|
|
|
|
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
|
|
|
-nographic \
|
|
|
|
-nodefaults \
|
|
|
|
-monitor unix:/tmp/test-monitor,server,nowait \
|
|
|
|
-no-acpi \
|
|
|
|
-boot c \
|
|
|
|
-usb \
|
2015-12-28 22:13:52 +08:00
|
|
|
-drive file=/var/lib/libvirt/images/QEMUGuest1,format=qcow2,if=none,\
|
|
|
|
id=drive-ide0-0-0,cache=none \
|
2015-11-25 16:42:33 +08:00
|
|
|
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
|
|
|
|
-device virtio-vga,id=video0,virgl=on,bus=pci.0,addr=0x2 \
|
|
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|