[libvirt] libvirt-guest.sh bug fixes

Michal Privoznik mprivozn at redhat.com
Mon Oct 10 08:55:12 UTC 2016


On 07.10.2016 15:56, Stefan Bader wrote:
> Two small changes, before I forget about submitting them...
> 
> First one affects all environments the same. The list of UIDs which
> is generated has each element on a separate line. And using quotes
> in the echo preserves those newlines. However the processing assumes
> one line per URI and all UIDs separated by spaces. So without dropping
> the quotes only one guest will get shutdown/suspended.
> 
> The second change is for Xen environments only. Domain-0 appears in
> the list of guests and it is a persistent one. So on shutdown, the
> script tries to stop Domain-0 (which is not working) and then waits
> the whole timeout for it to stop.
> 
> -Stefan
> 

Eric ACKed both of them and I've just pushed them.

Michal




More information about the libvir-list mailing list