×

Timer offsetting mechanism in a virtual machine environment

  • US 8,146,078 B2
  • Filed: 10/29/2004
  • Issued: 03/27/2012
  • Est. Priority Date: 10/29/2004
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • receiving a request to transition control of a guest software from a virtual machine monitor (VMM) to an existing first virtual machine (VM), the first VM and VMM residing at an application server of a computer system;

    transitioning control to the first VM upon receiving the request from the VMM;

    calculating an offset value, the offset value being an aggregate value of time intervals during which the first VM being used was not running due to an execution of the VMM or a second VM, wherein calculating the offset value comprises determining a difference between a timer value read upon receiving the request to transition control to the VM and a timer value saved upon detecting a prior event associated with a transition of control from the VM to the VMM, and subtracting the difference from a value of a timer offset field;

    during execution of the first VM, adjusting a current value of a timer based on the difference between the current value and the calculated offset value; and

    providing the adjusted timer value to the first VM.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×