[libvirt] [PATCH] nodesuspend: report unsupported if systemd & pm-utils aren't available
Michal Privoznik
mprivozn at redhat.com
Fri May 24 14:40:38 UTC 2019
On 5/23/19 5:59 PM, Daniel P. Berrangé wrote:
> When libvirtd is run inside a container it is normal that neither
> systemd nor pm-utils will be available. In this case there is no way to
> suspend the host, so libvirt should just report the feature unsupported
> instead of raising an error.
>
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
> src/util/virnodesuspend.c | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
ACK
Michal
More information about the libvir-list
mailing list