Commit c3b285d
committed
CA-418960: VM with vTPM Delete doesn't remove the snapshot
The snapshot of VM with vTPM are VM object in `Suspended state,
During destory of the VM object, it would expect the VM in state
of `Halted, thus, cuase the snapshot can not be destoryed.
Instead of expect the VM in `Halted state, the VM is espected in
not alive state, e.g: `Suspended or `Halted
Signed-off-by: Lin Liu <Lin.Liu01@cloud.com>1 parent 9903379 commit c3b285d
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | | - | |
| 88 | + | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
0 commit comments