Method and apparatus for facilitating recognition of an open event window during operation of guest software in a virtual machine environment
First Claim
Patent Images
1. A method comprising:
- receiving a request to transition control to a virtual machine (VM) from a virtual machine monitor (VMM);
determining that the request to transition control is associated with a request to be informed of an open event window of the VM, based on accessing a pending event indicator maintained by the VMM and determining that the pending event indicator maintained by the VMM is set to a delivery value;
transitioning control to the VM;
performing an event window check to determine whether the VM has an open event window;
if the event window check indicates that the VM has an open event window, transitioning control to the VMM; and
if the VM does not have an open event window, repeating the event window check after each instruction executed by the VM until determining that the VM has an open event window.
1 Assignment
0 Petitions
Accused Products
Abstract
In one embodiment, a method includes transitioning control to a virtual machine (VM) upon receiving a request from a virtual machine monitor (VMM), determining that the request to transition control is associated with a request to be informed of an open event window, performing an event window check to determine whether an even window of the VM is open, and transitioning control to the VMM if the event window check indicates that the event window of the VM is open.
-
Citations
12 Claims
-
1. A method comprising:
-
receiving a request to transition control to a virtual machine (VM) from a virtual machine monitor (VMM); determining that the request to transition control is associated with a request to be informed of an open event window of the VM, based on accessing a pending event indicator maintained by the VMM and determining that the pending event indicator maintained by the VMM is set to a delivery value; transitioning control to the VM; performing an event window check to determine whether the VM has an open event window; if the event window check indicates that the VM has an open event window, transitioning control to the VMM; and if the VM does not have an open event window, repeating the event window check after each instruction executed by the VM until determining that the VM has an open event window. - View Dependent Claims (2, 3, 4, 5)
-
-
6. An apparatus comprising:
-
a data structure controlled by a virtual machine monitor (VMM), the data structure storing a pending event indicator associated with a pending event; and open window logic, coupled to the data structure controlled by the VMM, to receive a request to transition control from the VMM to a virtual machine (VM), determine that the request to transition control is associated with a request to be informed of an open event window of the VM, based on accessing a pending event indicator maintained by the VMM and determining that the pending event indicator maintained by the VMM is set to a delivery value, transition control to the VM, determine whether an event window of the VM is open, transition control to the VMM if the event window of the VM is open; and if the VM does not have an open event window, repeat the event window check after each instruction executed by the VM until determining that the VM has the open event window. - View Dependent Claims (7, 8)
-
-
9. A system comprising:
-
a memory to store one or more pending event indicators; and a processor, coupled to the memory, to use the one or more pending event indicators to; receive a request to transition control from a virtual machine monitor (VMM) to a virtual machine (VM); determine that the request to transition control is associated with a request to be informed of an open event window of the VM, based on accessing the pending event indicator maintained by the VMM and determining that the pending event indicator maintained by the VMM is set to a delivery value; transition control to the VM in response to the request to transition control to the VM from the VMM; perform an event window check to determine whether an event window of the VM is open; transition control to the VMM if the event window check indicates that the event window of the VM is open; and if the VM does not have an open event window, repeat the event window check after each instruction executed by the VM until determining that the VM has the open event window. - View Dependent Claims (10)
-
-
11. A machine-readable storage medium containing instructions which, when executed by a processing system, cause the processing system to perform a method, the method comprising:
-
receiving a request to transition control to a virtual machine (VM) from a virtual machine monitor (VMM); determining that the request to transition control is associated with a request to be informed of an open event window of the VM, based on accessing a pending event indicator maintained by the VMM and determining that the pending event indicator maintained by the VMM is set to a delivery value; transitioning control to the VM; performing an event window check to determine whether the VM has an open event window; if the event window check indicates that the VM has an open event window, transitioning control to the VMM; and if the VM does not have an open event window, repeating the event window check after each instruction executed by the VM until determining that the VM has an open event window. - View Dependent Claims (12)
-
Specification