[libvirt] [PATCH RFC 04/40] qemu: domain: Split out setup of virStorageSource from qemu driver config

Eric Blake eblake at redhat.com
Fri Oct 18 19:48:18 UTC 2019


On 10/18/19 11:10 AM, Peter Krempa wrote:
> qemuDomainPrepareDiskSourceData historically prepared everything but
> we'we split out the majority of the functionality so that it sets up

we've

> predominantely only according to the configuration of the disk. There

predominately

> was one leftover bit of setting the gluster debug level from the config.
> 
> Split this out into a separate function so that
> qemuDomainPrepareDiskSourceData only perpares based on the disk.

prepares

> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>   src/qemu/qemu_domain.c | 51 +++++++++++++++++++++++++++++-------------
>   src/qemu/qemu_domain.h |  4 +---
>   tests/qemublocktest.c  |  2 +-
>   3 files changed, 38 insertions(+), 19 deletions(-)
> 
ACK

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




More information about the libvir-list mailing list