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

Handle "paused" VM state for up and halt actions #295

Merged
merged 1 commit into from
Mar 28, 2017

Conversation

legal90
Copy link
Collaborator

@legal90 legal90 commented Mar 25, 2017

At the moment VM could not be started/stopped/deleted if it is in :paused state (don't mix it up with :suspended). prlctl doesn't allow that by some reason:

$ prlctl stop paused-vm-name
Stopping the VM...
Failed to stop the VM: Unable to complete the operation. This operation cannot be completed because the virtual machine "paused-vm-name is in the "paused" state.

$ prlctl delete paused-vm-name
Removing the VM...
Failed to remove the VM: Unable to perform the action because the virtual machine is busy. The virtual machine is currently running. Please try again later.

This PR fixes the related issue - the VM will be resumed before the halt action. Also, on the up action it will be just resumed to avoid further errors while redundant re-configuration.

@legal90 legal90 merged commit cb9cc53 into Parallels:master Mar 28, 2017
@legal90 legal90 deleted the fix-paused branch March 28, 2017 12:22
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