]> xenbits.xensource.com Git - libvirt.git/commit
Revert "qemu_conf: Track embed root dir"
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 23 Mar 2020 07:59:29 +0000 (08:59 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 7 Apr 2020 13:26:25 +0000 (15:26 +0200)
commit6297560761adf660497ab0053af18bab159f6b2f
tree243e80d4d1e207de55345a0ea6929621fd1e4d9a
parentbe0e31157257446bdba71cd850a5cf95dd155449
Revert "qemu_conf: Track embed root dir"

This reverts commit 06a19921b6a522cd7b4d352c9320909752947de3.

What I haven't realized when writing this ^^ commit is that the
virQEMUDriver structure already stores the root directory path.
And since the pointer is immutable it can be accessed right from
the structure and thus there is no need to duplicate it in the
driver config.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/qemu/qemu_conf.c
src/qemu/qemu_conf.h