[PATCH 1/2] qemu_conf: Track embed root dir

Andrea Bolognani abologna at redhat.com
Wed Mar 18 13:50:14 UTC 2020


On Fri, 2020-03-13 at 17:59 +0100, Michal Privoznik wrote:
> When initializing virQEMUDriverConfig structure we are given the
> root directory for possible embed connection. Save it for future
> use. While we could get it later from @uri member, it's not as
> easy as dereferencing a pointer (virURIParse() +
> virURIGetParam() + error reporting).
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/qemu/qemu_conf.c | 2 ++
>  src/qemu/qemu_conf.h | 2 ++
>  2 files changed, 4 insertions(+)

Reviewed-by: Andrea Bolognani <abologna at redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list