Timer offsetting mechanism 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);
calculating an offset value;
receiving, during operation of the VM, a request for a current value of a timer;
adjusting the current value of the timer based on the offset value; and
providing the adjusted timer value to the VM.
1 Assignment
0 Petitions
Accused Products
Abstract
In one embodiment, a method includes receiving a request to transition control to a virtual machine (VM) from a virtual machine monitor (VMM), calculating an offset value, receiving, during operation of the VM, a request for a current value of the timer, adjusting the current value of the timer based on the offset value, and providing the adjusted timer value to the VM.
37 Citations
29 Claims
-
1. A method comprising:
-
receiving a request to transition control to a virtual machine (VM) from a virtual machine monitor (VMM);
calculating an offset value;
receiving, during operation of the VM, a request for a current value of a timer;
adjusting the current value of the timer based on the offset value; and
providing the adjusted timer value to the VM. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. An apparatus comprising:
-
a virtual machine monitor (VMM);
a data structure controlled by the VMM, the data structure storing an offset value for a virtual machine (VM); and
timer access logic to calculate the offset value upon receiving a request to transition control to the VM from the VMM, and to provide a value of the timer to the VM during an operation of the VM, the value of the timer being adjusted based on the offset value. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A system comprising:
-
a memory to store a set of fields associated with timer offsetting for a virtual machine (VM); and
a processor, coupled to the memory, to use the set of fields associated with timer offsetting to calculate an offset value, and to provide, during operation of the VM, a timer value, adjusted based on the offset value, to the VM in response to a request of the VM for a current value of a timer. - View Dependent Claims (20, 21, 22, 23, 24)
-
-
25. A machine-readable 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);
calculating an offset value;
receiving, during operation of the VM, a request for a current value of a timer;
adjusting the current value of the timer based on the offset value; and
providing the adjusted timer value to the VM. - View Dependent Claims (26, 27, 28, 29)
-
Specification