VM shutdown is not clean
|Reported by:||joanna||Owned by:||joanna|
|Priority:||minor||Milestone:||Release 1 Beta 3|
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
2) 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?