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

VM shutdown is not clean #396

Closed
marmarek opened this Issue Mar 8, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@marmarek
Member

marmarek commented Mar 8, 2015

Reported by joanna on 27 Dec 2011 21:31 UTC
Every time I shutdown my system I get an error message that netvm cannot be shutdown because there are other VMs connected to it.

  1. Maybe there is a missing '=' in the --exclude option in the command below:
qvm-run -q --shutdown --all --wait --exclude $NETVM
  1. Even if we fixed the command above, it still doesn't solve the more generic problem when there are more than one NetVM, and also some more ProxyVMs, etc.

So, I think that qvm-run --shutdown should automatically take care about figuring out the VMs hierarchy (in terms of net service) and shut them down in an appropriate order.

Also, perhaps we should move the qvm-run --shutdown logic into a separate tool qvm-shutdown, as this logic got too shutdown-specific?

Migrated-From: https://wiki.qubes-os.org/ticket/396

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by marmarek on 16 Jan 2012 02:37 UTC
All VMs can be stopped simultaneously (including ProxyVMs, NetVMs), netfront/back module should deal with it.
Fixed here:
http://git.qubes-os.org/gitweb/?p=marmarek/core.git;a=commit;h=cd64f8287cb29c1a5b9333284c1bf5a29f498bd7

Member

marmarek commented Mar 8, 2015

Comment by marmarek on 16 Jan 2012 02:37 UTC
All VMs can be stopped simultaneously (including ProxyVMs, NetVMs), netfront/back module should deal with it.
Fixed here:
http://git.qubes-os.org/gitweb/?p=marmarek/core.git;a=commit;h=cd64f8287cb29c1a5b9333284c1bf5a29f498bd7

@marmarek marmarek closed this Mar 8, 2015

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