Re: [PATCH 3/9] virDomainDriverGenerateMachineName: Factor out embed path hashing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux