[libvirt] [PATCH 3/3] util: be quiet when pm-is-supported is unavailable

Andrea Bolognani abologna at redhat.com
Wed Aug 14 09:07:00 UTC 2019


On Tue, 2019-08-13 at 17:24 +0200, Ján Tomko wrote:
> Look up the binary name upfront to avoid the error:
> Cannot find 'pm-is-supported' in path: No such file or directory
> 
> In that case, we just assume nodesuspend is not available.
> 
> Signed-off-by: Ján Tomko <jtomko at redhat.com>
> ---
>  src/util/virnodesuspend.c | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)

Reviewed-by: Andrea Bolognani <abologna at redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list