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

Freezing a running VM #2936

Closed
IPv777 opened this Issue Jul 23, 2017 · 5 comments

Comments

Projects
None yet
5 participants
@IPv777

IPv777 commented Jul 23, 2017

Qubes OS version (e.g., R3.2):

R3.2

Affected TemplateVMs (e.g., fedora-23, if applicable):

All


Expected behavior:

Please add a feature to freeze a running VM, and restore it later

@jpouellet

This comment has been minimized.

Show comment
Hide comment
@jpouellet

jpouellet Jul 24, 2017

Contributor

From #832 (comment) @marmarek wrote:

Yes, shutdown is much easier to implement. For suspend/restore you need not only to restore VM internal state (memory etc - handled by Xen tools), but also all related VM connections - networking, GUI, qrexec services running when VM was hibernated etc.
Also, VM suspend support in Xen/Linux historically was quite buggy - this is for example why Disposable VMs have only 1 vCPU assigned, otherwise it crashed frequently. Probably situation have improved since previous tests, but still I suspect it will be less stable.

Contributor

jpouellet commented Jul 24, 2017

From #832 (comment) @marmarek wrote:

Yes, shutdown is much easier to implement. For suspend/restore you need not only to restore VM internal state (memory etc - handled by Xen tools), but also all related VM connections - networking, GUI, qrexec services running when VM was hibernated etc.
Also, VM suspend support in Xen/Linux historically was quite buggy - this is for example why Disposable VMs have only 1 vCPU assigned, otherwise it crashed frequently. Probably situation have improved since previous tests, but still I suspect it will be less stable.

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Jul 25, 2017

Member

Possibly a wontfix for the reason @jpouellet cited.

Member

andrewdavidwong commented Jul 25, 2017

Possibly a wontfix for the reason @jpouellet cited.

@captain

This comment has been minimized.

Show comment
Hide comment
@captain

captain Aug 1, 2017

That's a shame, as this seems like a fantastic feature to have. These days of runaway web plugins sucking up 100% CPU and massive amounts of memory, the ability to PAUSE the entire thing, to enable other activities, and then resume it, once you're ready to have it continue, is extremely attractive. Maybe there's some other way to implement similar behavior....

captain commented Aug 1, 2017

That's a shame, as this seems like a fantastic feature to have. These days of runaway web plugins sucking up 100% CPU and massive amounts of memory, the ability to PAUSE the entire thing, to enable other activities, and then resume it, once you're ready to have it continue, is extremely attractive. Maybe there's some other way to implement similar behavior....

@jpouellet

This comment has been minimized.

Show comment
Hide comment
@jpouellet

jpouellet Aug 1, 2017

Contributor

Ah, suspending and pausing are not the same thing. I thought you meant serializing all VM state to disk and resuming execution at a later time. Just unscheduling it (to not consume CPU, but still reside in memory) is easy, and can be done with the pause button in qubes manager.

Contributor

jpouellet commented Aug 1, 2017

Ah, suspending and pausing are not the same thing. I thought you meant serializing all VM state to disk and resuming execution at a later time. Just unscheduling it (to not consume CPU, but still reside in memory) is easy, and can be done with the pause button in qubes manager.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Aug 1, 2017

Member
Member

marmarek commented Aug 1, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment