bug 11514: VM transition form Stopped to Error state should be considered as VM.DESTROY

status 11514: resolved fixed
Reviewed-by: Nitin
This commit is contained in:
kishan 2011-09-21 20:50:22 +05:30
parent 3425161580
commit 1970956d3e
1 changed files with 3 additions and 0 deletions

View File

@ -144,6 +144,9 @@ public interface VirtualMachine extends RunningOn, ControlledEntity, StateObject
if (oldState == State.Stopped && newState == State.Destroyed) {
return true;
}
if (oldState == State.Stopped && newState == State.Error) {
return true;
}
return false;
}
}