arm-autonomy/xenguest-manager: fix xenguest initscript stop sequence

This patch fixes an issue where xenguest initscript stop sequence was not
properly identifying the running guests.

Issue-Id: SCM-2772
Signed-off-by: Hugo L'Hostis <hugo.lhostis@arm.com>
Change-Id: I3ad88e00f48fab07f99936a10c0d1deb7459e83b
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Hugo L'Hostis authored and Jon Mason committed 2021-06-08 10:20:29 -04:00
1 parent 10e5981995
commit 65d41185b0
1 file changed
+1 -1
@@ -66,7 +66,7 @@ case "$1" in
stop)
echo "Stopping xenguest"
# update guest list
guestlist=$(xenguest-manager status | grep Running | cut -d ":" -f1)
guestlist=$(xenguest-manager status | grep Running | cut -d " " -f1)
for f in ${guestlist}; do
xenguest-manager shutdown "${f}" --kill
done