[libvirt] [PATCH 2/3] util: do not repeat the pm-is-supported string
Ján Tomko
jtomko at redhat.com
Wed Aug 14 09:29:40 UTC 2019
On Wed, Aug 14, 2019 at 11:05:39AM +0200, Andrea Bolognani wrote:
>On Tue, 2019-08-13 at 17:24 +0200, Ján Tomko wrote:
>> +++ b/src/util/virnodesuspend.c
>> case VIR_NODE_SUSPEND_TARGET_HYBRID:
>> - cmd = virCommandNewArgList("pm-is-supported", "--suspend-hybrid", NULL);
>> + cmd = virCommandNewArgList(binary, "--suspend-hybrid", NULL);
>> break;
>> default:
>> - return ret;
>> + return -1;
>> }
>
>Yeah, this last hunk should have been in the first patch O:-)
>
Oops, --amend vs. rebase --continue bit me again.
Jano
> Reviewed-by: Andrea Bolognani <abologna at redhat.com>
>
>--
>Andrea Bolognani / Red Hat / Virtualization
>
>--
>libvir-list mailing list
>libvir-list at redhat.com
>https://www.redhat.com/mailman/listinfo/libvir-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190814/621f07bd/attachment-0001.sig>
More information about the libvir-list
mailing list