]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainGetMachineName: Access embeddedRoot from driver rather than cfg
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 23 Mar 2020 07:48:38 +0000 (08:48 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 7 Apr 2020 13:26:23 +0000 (15:26 +0200)
commitbe0e31157257446bdba71cd850a5cf95dd155449
treee302b83db74fd42b701296554690f1997935c7ee
parent5bc3299447d741261eaa75e3e0da4791dc70dfaf
qemuDomainGetMachineName: Access embeddedRoot from driver rather than cfg

The cfg->root is going away, therefore get the info right from
the driver structure.

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_domain.c