2015-11-06 13:20:06 +00:00
|
|
|
LC_ALL=C \
|
2016-06-06 12:57:38 +00:00
|
|
|
PATH=/bin \
|
|
|
|
HOME=/home/test \
|
|
|
|
USER=test \
|
|
|
|
LOGNAME=test \
|
|
|
|
QEMU_AUDIO_DRV=none \
|
2015-11-06 13:20:06 +00:00
|
|
|
/usr/bin/qemu \
|
|
|
|
-name encryptdisk \
|
|
|
|
-S \
|
2016-06-06 12:57:38 +00:00
|
|
|
-M pc \
|
2015-11-06 13:20:06 +00:00
|
|
|
-m 1024 \
|
2016-06-23 11:29:16 +00:00
|
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
2015-11-06 14:29:52 +00:00
|
|
|
-uuid 496898a6-e6ff-f7c8-5dc2-3cf410945ee9 \
|
2015-11-06 13:20:06 +00:00
|
|
|
-nographic \
|
|
|
|
-nodefaults \
|
2016-06-06 12:57:38 +00:00
|
|
|
-monitor unix:/tmp/lib/domain--1-encryptdisk/monitor.sock,server,nowait \
|
2015-11-06 13:20:06 +00:00
|
|
|
-no-acpi \
|
|
|
|
-boot c \
|
|
|
|
-usb \
|
2016-06-06 12:57:38 +00:00
|
|
|
-drive file=/storage/guest_disks/encryptdisk,format=qcow2,if=none,\
|
|
|
|
id=drive-virtio-disk0 \
|
|
|
|
-device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,\
|
2015-11-06 13:20:06 +00:00
|
|
|
id=virtio-disk0 \
|
|
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|