]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: domain: Split out setup of virStorageSource from qemu driver config
authorPeter Krempa <pkrempa@redhat.com>
Tue, 8 Oct 2019 12:58:48 +0000 (14:58 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 21 Oct 2019 14:28:02 +0000 (16:28 +0200)
commitaef87271bee5742943eaef89fa02ee4d0bafb363
treeeae01dc276dbdd2b089822162bbf533a6714764b
parente1b5a7b38382a218882fe008676307e3c19ad3c1
qemu: domain: Split out setup of virStorageSource from qemu driver config

qemuDomainPrepareDiskSourceData historically prepared everything but
we've split out the majority of the functionality so that it sets up
predominately only according to the configuration of the disk. There
was one leftover bit of setting the gluster debug level from the config.

Split this out into a separate function so that
qemuDomainPrepareDiskSourceData only prepares based on the disk.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
ACKed-by: Eric Blake <eblake@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
tests/qemublocktest.c