Neel Natu b15a09c05e Add an ioctl to suspend a virtual machine (VM_SUSPEND). The ioctl can be called
from any context i.e., it is not required to be called from a vcpu thread. The
ioctl simply sets a state variable 'vm->suspend' to '1' and returns.

The vcpus inspect 'vm->suspend' in the run loop and if it is set to '1' the
vcpu breaks out of the loop with a reason of 'VM_EXITCODE_SUSPENDED'. The
suspend handler waits until all 'vm->active_cpus' have transitioned to
'vm->suspended_cpus' before returning to userspace.

Discussed with:	grehan
2014-03-26 23:34:27 +00:00
..
2013-01-01 18:29:25 +00:00
2013-12-25 19:38:16 +00:00
2014-01-21 21:13:13 +00:00
2014-02-01 09:27:57 +00:00
2014-03-21 15:30:31 +00:00
2013-05-30 08:02:00 +00:00
2013-05-12 22:22:12 +00:00
2014-01-26 23:40:31 +00:00
2012-10-18 15:39:29 +00:00
2013-05-12 22:22:12 +00:00
2014-03-22 17:28:14 +00:00
2014-03-14 20:54:15 +00:00