dom0/pm-utils: after suspend start qubes_core_netvm instead of NetworkManager directly

Actually this is run for every VM with PCI device, so it can be AppVM, not
NetVM. qubes_core_netvm will check if it is NetVM before starting
NetworkManager.
This commit is contained in:
Marek Marczykowski 2011-10-07 21:11:08 +02:00
parent 218dd2c50c
commit 684578ba16

View File

@ -25,7 +25,7 @@ suspend_net()
resume_net()
{
for VM in `get_running_netvms`; do
qvm-run -u root --pass_io $VM "modprobe ehci_hcd; modprobe uhci_hcd; service NetworkManager start"
qvm-run -u root --pass_io $VM "modprobe ehci_hcd; modprobe uhci_hcd; service qubes_core_netvm start"
done
# Ignore exit status from netvm...
return 0