Skip to content

Conversation

psafont
Copy link
Member

@psafont psafont commented Oct 10, 2025

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.

…spend VDIs

This case was impossible because 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 then branch before this one.

I didn't see any code dealing with shared suspend images, so I'd rather
not have to avoid making the clone and deal with the shared situation.

Signed-off-by: Pau Ruiz Safont <[email protected]>
@psafont psafont added this pull request to the merge queue Oct 13, 2025
Merged via the queue into xapi-project:master with commit 1f32e4b Oct 13, 2025
15 checks passed
@psafont psafont deleted the dev/pau/no-running-clones branch October 13, 2025 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants