dispvm: clean the VM in case of failed savefile creation
Otherwise further tries to regenerate savefile would fail.
This commit is contained in:
parent
8aaef404de
commit
23ae0ed990
@ -55,6 +55,7 @@ sleep 1
|
||||
touch $2
|
||||
if ! virsh -c xen:/// save $1 $2; then
|
||||
rm -f $QMEMMAN_STOP
|
||||
qvm-kill $1
|
||||
exit 1
|
||||
fi
|
||||
rm -f $QMEMMAN_STOP
|
||||
|
Loading…
Reference in New Issue
Block a user