On Wed, 2020-03-25 at 11:18 +0100, Michal Privoznik wrote: > The code that generates "qemu-embed-$hash" is going to be useful > in more places. Separate it out into a function. > > Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> > --- > src/hypervisor/domain_driver.c | 42 ++++++++++++++++++++++------------ > src/hypervisor/domain_driver.h | 4 ++++ > src/libvirt_private.syms | 1 + > 3 files changed, 33 insertions(+), 14 deletions(-) [...] > +char * > +virDomainDriverHashRoot(const char *drivername, > + const char *root) virDomainDriverGenerateRootHash(), perhaps? Regardless, Reviewed-by: Andrea Bolognani <abologna@xxxxxxxxxx> -- Andrea Bolognani / Red Hat / Virtualization