Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leverage the VM-lock in SetVmTicket #371

Merged
merged 1 commit into from
May 30, 2022
Merged

Leverage the VM-lock in SetVmTicket #371

merged 1 commit into from
May 30, 2022

Conversation

ahadas
Copy link
Member

@ahadas ahadas commented May 12, 2022

Previously, we used optimisic locking to see if the user that tries to
connect to the VM can do that or not. However, now that we lock the VM
using VmManager's lock, we don't need that anymore - we can rather
inspect VmDynamic in the command itself to discover it.

Signed-off-by: Arik Hadas ahadas@redhat.com

@ahadas
Copy link
Member Author

ahadas commented May 13, 2022

/ost

@ahadas
Copy link
Member Author

ahadas commented May 14, 2022

/ost

@ahadas ahadas requested a review from emesika May 19, 2022 17:56
@ahadas ahadas changed the title test Leverage the VM-lock in SetVmTicket May 19, 2022
Previously, we used optimisic locking to see if the user that tries to
connect to the VM can do that or not. However, now that we lock the VM
using VmManager's lock, we don't need that anymore - we can rather
inspect VmDynamic in the command itself to discover it.

Signed-off-by: Arik Hadas <ahadas@redhat.com>
@ahadas
Copy link
Member Author

ahadas commented May 19, 2022

/ost

@ahadas ahadas added the virt label May 26, 2022
@ahadas ahadas merged commit 9eb0071 into oVirt:master May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants