A virtual device receives this message when the user attempts to restart the computer. A virtual device, such as the keyboard device, that can restart the computer should do so.
Set_Device_Focus
A virtual device receives this message when the execution focus moves from one virtual machine to another. The virtual device restores the hardware device to the state associated with the virtual machine. If the virtual device used I/O trapping to manage the virtual machine when it did not have the execution focus, the virtual device should remove as much I/O trapping as possible, and let the virtual machine run as fast as possible.