2015-11-06 13:20:06 +00:00
|
|
|
LC_ALL=C \
|
|
|
|
PATH=/bin \
|
|
|
|
HOME=/home/test \
|
|
|
|
USER=test \
|
|
|
|
LOGNAME=test \
|
|
|
|
QEMU_AUDIO_DRV=none \
|
|
|
|
/usr/bin/qemu \
|
2015-11-06 14:29:41 +00:00
|
|
|
-name QEMUGuest1 \
|
2015-11-06 13:20:06 +00:00
|
|
|
-S \
|
|
|
|
-M pc \
|
|
|
|
-m 214 \
|
|
|
|
-smp 1 \
|
2015-11-06 14:29:52 +00:00
|
|
|
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
2015-11-06 13:20:06 +00:00
|
|
|
-nographic \
|
|
|
|
-nodefaults \
|
2016-02-26 08:15:55 +00:00
|
|
|
-monitor unix:/tmp/lib/domain--1-QEMUGuest1/monitor.sock,server,nowait \
|
2015-11-06 13:20:06 +00:00
|
|
|
-no-acpi \
|
|
|
|
-boot c \
|
|
|
|
-usb \
|
2015-12-28 14:13:52 +00:00
|
|
|
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
|
2015-11-06 14:28:57 +00:00
|
|
|
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
|
2015-02-26 11:45:57 +00:00
|
|
|
-chardev socket,id=charnet0,path=/tmp/vhost0.sock,server \
|
|
|
|
-netdev type=vhost-user,id=hostnet0,chardev=charnet0 \
|
2015-11-06 13:20:06 +00:00
|
|
|
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:ee:96:6b,bus=pci.0,\
|
|
|
|
addr=0x3 \
|
2015-02-26 11:45:57 +00:00
|
|
|
-chardev socket,id=charnet1,path=/tmp/vhost1.sock \
|
|
|
|
-netdev type=vhost-user,id=hostnet1,chardev=charnet1 \
|
2015-11-06 13:20:06 +00:00
|
|
|
-device virtio-net-pci,netdev=hostnet1,id=net1,mac=52:54:00:ee:96:6c,bus=pci.0,\
|
|
|
|
addr=0x4 \
|
2015-02-26 11:45:57 +00:00
|
|
|
-netdev socket,listen=:2015,id=hostnet2 \
|
|
|
|
-device rtl8139,netdev=hostnet2,id=net2,mac=52:54:00:95:db:c0,bus=pci.0,addr=0x5 \
|
|
|
|
-chardev socket,id=charnet3,path=/tmp/vhost2.sock \
|
|
|
|
-netdev type=vhost-user,id=hostnet3,chardev=charnet3,queues=4 \
|
2015-11-06 13:20:06 +00:00
|
|
|
-device virtio-net-pci,mq=on,vectors=10,netdev=hostnet3,id=net3,\
|
|
|
|
mac=52:54:00:ee:96:6d,bus=pci.0,addr=0x6
|