On Wed, 2020-03-25 at 11:18 +0100, Michal Privoznik wrote: > The cfg->root is going away, therefore get the info right from > the driver structure. > > Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> > --- > src/qemu/qemu_domain.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Andrea Bolognani <abologna@xxxxxxxxxx> Note that, even after this patch, there are multiple cases where drv->embeddedRoot is accessed directly instead of going through virQEMUDriverGetEmbedRoot(). Can you please post a separate patch taking care of that? -- Andrea Bolognani / Red Hat / Virtualization