Re: [PATCH v2 04/11] virDomainDriverGenerateMachineName: Factor out embed path hashing

2020-03-30 Thread Daniel P . Berrangé
On Thu, Mar 26, 2020 at 04:15:08PM +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 > Reviewed-by: Andrea Bolognani > Reviewed-by: Daniel Henrique Barboza > --

[PATCH v2 04/11] virDomainDriverGenerateMachineName: Factor out embed path hashing

2020-03-26 Thread Michal Privoznik
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 Reviewed-by: Andrea Bolognani Reviewed-by: Daniel Henrique Barboza --- src/hypervisor/domain_driver.c | 42 ++ src/h