Patent ID: 8949498
Filing Date: 2015-02-03
Classification: G06F

Abstract:
1. A method for computing, comprising: running a plurality of virtual machines on a computer having one or more cores and a memory and a peripheral device that is coupled to the one or more cores; upon occurrence of an event originating at the peripheral device and pertaining to a given virtual machine, identifying at the peripheral device whether the given virtual machine is active or swapped out; raising a hardware interrupt immediately upon identifying by the peripheral device that the given virtual machine is active; upon identifying by the peripheral device that the given virtual machine is swapped out, writing an interrupt message from the peripheral device to a pre-assigned interrupt address in the memory; and when the given virtual machine is able to receive the interrupt, after writing of the interrupt message, copying a context of the given virtual machine from the memory to a given core on which the given virtual machine is running, and automatically raising a hardware interrupt on the given core responsively to the interrupt message in the memory.