]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_conf: Track embed root dir
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 11 Mar 2020 17:33:34 +0000 (18:33 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 18 Mar 2020 14:32:51 +0000 (15:32 +0100)
commit06a19921b6a522cd7b4d352c9320909752947de3
tree0b29fb074a3d790e85a20144faa81c714b32065b
parentac36a824641862dcac057c6403b27ab1e91874f5
qemu_conf: Track embed root dir

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@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
src/qemu/qemu_conf.c
src/qemu/qemu_conf.h