mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-12 13:17:58 +03:00
0255660658
Some storage systems have internal support for snapshots. Libvirt should be able to select a correct snapshot when starting a VM. This patch adds a XML element to select a storage source snapshot for the RBD protocol which supports this feature.
13 lines
697 B
Plaintext
13 lines
697 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' \
|
|
-net none -serial none -parallel none
|