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

Fix VM state functions #170

Merged
merged 3 commits into from
Oct 8, 2024
Merged

Conversation

rybnico
Copy link
Contributor

@rybnico rybnico commented Oct 8, 2024

The fix for #139 (#166) breaks some VirtualMachine state functions.

I have tried to implement the functions in a way that works with and without a VirtualMachine.QMPStatus. Without a QMPStatus, we can't be sure of the paused state (because the Status of a paused VM is still Running).

The condition in the IsPaused function checks whether the VM is running, not whether it's in a pause state.
@rybnico rybnico changed the title Fix vm is paused Fix VM state functions Oct 8, 2024
@luthermonson luthermonson merged commit d64b696 into luthermonson:main Oct 8, 2024
1 check passed
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.

2 participants