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(a)redhat.com>
---
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(a)redhat.com>
--
Andrea Bolognani / Red Hat / Virtualization