mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 03:21:44 +03:00
f81e0d480e
As of QEMU 0.10.0 the -drive format= parameter was added, so the QEMU driver can assume it is always available. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
29 lines
760 B
Plaintext
29 lines
760 B
Plaintext
LC_ALL=C \
|
|
PATH=/sbin:/usr/sbin:/bin:/usr/bin \
|
|
HOME=/root \
|
|
USER=root \
|
|
LOGNAME=root \
|
|
/usr/bin/qemu \
|
|
-name encryptdisk \
|
|
-S \
|
|
-M pc-0.13 \
|
|
-m 1024 \
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
|
-uuid 496898a6-e6ff-f7c8-5dc2-3cf410945ee9 \
|
|
-uuid 496898a6-e6ff-f7c8-5dc2-3cf410945ee9 \
|
|
-nographic \
|
|
-nodefconfig \
|
|
-nodefaults \
|
|
-chardev socket,id=monitor,path=//var/lib/libvirt/qemu/encryptdisk.monitor,\
|
|
server,nowait \
|
|
-mon chardev=monitor,mode=readline \
|
|
-rtc base=utc \
|
|
-no-acpi \
|
|
-boot c \
|
|
-usb \
|
|
-drive file=/storage/guest_disks/encryptdisk,if=none,id=drive-virtio-disk0,\
|
|
format=raw,boot=on,format=qcow2 \
|
|
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,\
|
|
id=virtio-disk0 \
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|