mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
e66603539b
Propagate the selected or default level to qemu if it's supported. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1376009 Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com> Signed-off-by: Peter Krempa <pkrempa@redhat.com>
35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
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 214 \
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
|
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
|
-nographic \
|
|
-nodefaults \
|
|
-monitor unix:/tmp/lib/domain--1-QEMUGuest1/monitor.sock,server,nowait \
|
|
-no-acpi \
|
|
-boot c \
|
|
-usb \
|
|
-drive file=gluster://example.org:6000/Volume1/Image,file.debug=4,format=raw,\
|
|
if=none,id=drive-virtio-disk0 \
|
|
-device virtio-blk-pci,bus=pci.0,addr=0x3,drive=drive-virtio-disk0,\
|
|
id=virtio-disk0 \
|
|
-drive 'file=gluster+unix:///Volume2/Image?socket=/path/to/sock,file.debug=4,\
|
|
format=raw,if=none,id=drive-virtio-disk1' \
|
|
-device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk1,\
|
|
id=virtio-disk1 \
|
|
-drive file.driver=gluster,file.volume=Volume3,file.path=/Image.qcow2,\
|
|
file.server.0.type=tcp,file.server.0.host=example.org,file.server.0.port=6000,\
|
|
file.server.1.type=tcp,file.server.1.host=example.org,file.server.1.port=24007,\
|
|
file.server.2.type=unix,file.server.2.socket=/path/to/sock,file.debug=4,\
|
|
format=qcow2,if=none,id=drive-virtio-disk2 \
|
|
-device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk2,\
|
|
id=virtio-disk2
|