[libvirt] [PATCH] tools: fix variable scope in in check_guests_shutdown
Michal Privoznik
mprivozn at redhat.com
Mon Mar 19 12:07:46 UTC 2018
On 03/19/2018 12:44 PM, Christian Ehrhardt wrote:
> libvirt-guests.sh when run with more active guests than requested to
> shut down in parallel will run until it times out only shutting down
> the first set of guests.
>
> This patch fixes parallel shutdown by fixing a variable scope issue
> where check_guests_shutdown unintentionally reset $guests which
> prevented further progress.
>
> Fixes: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1688508
>
> Signed-off-by: Christian Ehrhardt <christian.ehrhardt at canonical.com>
> ---
> tools/libvirt-guests.sh.in | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Oops, yes.
ACKed and pushed.
Michal
More information about the libvir-list
mailing list