Commit 1f32e4b
authored
xapi_vm_clone: Remove impossible, confusing case when dealing with suspend VDIs (#6704)
This case was impossible due to 2 reasons:
1. the polymorphic variant `Runnning used had a typo
2. the reference for the suspend VDI is only present when the VM is
suspended, and otherwise is Ref.null. This means that when the VM is
running, the code takes the case before this one.
I didn't see any code dealing with shared suspend images, so I'd rather
avoid making the clone and deal with the shared situation.1 file changed
+0
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
507 | 507 | | |
508 | 508 | | |
509 | 509 | | |
510 | | - | |
511 | | - | |
512 | | - | |
513 | 510 | | |
514 | 511 | | |
515 | 512 | | |
| |||
0 commit comments