]> xenbits.xensource.com Git - libvirt.git/commit
qemu: domain: Use 'raw' for 'volume' disks without format
authorPeter Krempa <pkrempa@redhat.com>
Thu, 31 Jan 2019 14:37:53 +0000 (15:37 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 4 Feb 2019 12:42:11 +0000 (13:42 +0100)
commit3bc3cca7bb43101730c94bc82762e5744420215a
tree8bebb0e5215eb8acafb477d0c466d48c78413d4f
parent2f78ca803afb0be9091788cb3b115b480b9c812e
qemu: domain: Use 'raw' for 'volume' disks without format

Storage pools might want to specify format of the image when translating
the volume thus we can't add any default format when parsing the XML.

Add a explicit format when starting the VM and format is not present
neither by user specifying it nor by the storage pool translation
function.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_domain.c
tests/qemuxml2argvdata/disk-source-pool-mode.args
tests/qemuxml2argvdata/disk-source-pool.args