mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 20:01:16 +00:00
b7d1bee2b9
To be able to express some use cases of the RBD backing with libvirt, we need to be able to specify a config file for the RBD client to qemu as that is one of the commonly used options.
15 lines
794 B
Plaintext
15 lines
794 B
Plaintext
LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test QEMU_AUDIO_DRV=none \
|
|
/usr/bin/qemu -S -M pc -m 214 -smp 1 -nographic -monitor \
|
|
unix:/tmp/test-monitor,server,nowait -no-acpi -boot c -usb \
|
|
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
|
|
-drive 'file=rbd:pool/image:auth_supported=none:\
|
|
mon_host=mon1.example.org\:6321\;mon2.example.org\:6322\;\
|
|
mon3.example.org\:6322,if=virtio,format=raw' \
|
|
-drive file=rbd:pool/image@asdf:auth_supported=none,if=virtio,format=raw \
|
|
-drive 'file=rbd:pool/image@foo:auth_supported=none:\
|
|
mon_host=mon1.example.org\:6321\;mon2.example.org\:6322\;\
|
|
mon3.example.org\:6322,if=virtio,format=raw' \
|
|
-drive file=rbd:pool/image@foo:auth_supported=none:\
|
|
conf=/blah/test.conf,if=virtio,format=raw \
|
|
-net none -serial none -parallel none
|