vmnetx
vmnetx copied to clipboard
Freeze VM on network errors
If network access fails during execution, we should freeze the VM and display a message until the network returns. The NetworkManager D-Bus API may be useful for this.
This mechanism could also be used to let the server demand re-authentication, e.g. if the host is resumed after being suspended for a long time.
/domain/devices/disk/driver/@error_policy can be set to stop to pause the VM after an I/O error. We can then fire network-disconnect/network-reconnect/startup-complete as appropriate.