2015-11-06 21:20:06 +08:00
|
|
|
LC_ALL=C \
|
|
|
|
PATH=/bin \
|
|
|
|
HOME=/home/test \
|
|
|
|
USER=test \
|
|
|
|
LOGNAME=test \
|
|
|
|
QEMU_AUDIO_DRV=none \
|
|
|
|
/usr/bin/kvm \
|
2015-11-06 22:29:41 +08:00
|
|
|
-name QEMUGuest1 \
|
2015-11-06 21:20:06 +08:00
|
|
|
-S \
|
|
|
|
-M pc-1.2 \
|
|
|
|
-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 c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
2015-11-06 21:20:06 +08:00
|
|
|
-nographic \
|
|
|
|
-nodefaults \
|
2016-02-26 16:15:55 +08:00
|
|
|
-monitor unix:/tmp/lib/domain--1-QEMUGuest1/monitor.sock,server,nowait \
|
2015-11-06 21:20:06 +08:00
|
|
|
-boot d \
|
|
|
|
-usb \
|
2015-12-28 22:13:52 +08:00
|
|
|
-drive file=tftp://host.name:69/url/path/file.iso,format=raw,if=none,media=cdrom,\
|
2016-05-20 19:49:15 +08:00
|
|
|
id=drive-ide0-1-0,readonly=on \
|
2013-09-17 01:12:53 +08:00
|
|
|
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
|
|
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|