Re: [libvirt] [PATCH] nodesuspend: report unsupported if systemd & pm-utils aren't available

2019-05-24 Thread Michal Privoznik
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-

[libvirt] [PATCH] nodesuspend: report unsupported if systemd & pm-utils aren't available

2019-05-23 Thread Daniel P . Berrangé
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é --- src/util/virnodesus