×

Para-virtualization in a nested virtualization environment using reduced number of nested VM exits

  • US 8,495,628 B2
  • Filed: 08/23/2009
  • Issued: 07/23/2013
  • Est. Priority Date: 08/23/2009
  • Status: Expired due to Fees
First Claim
Patent Images

1. A para-virtualization method comprising:

  • implementing a virtual machine (VM) for guest software running on first host software, wherein the guest software causes a first VM exit to the first host software from the guest software, due to a privileged instruction;

    determining whether the first host software is running directly on hardware having a processor and a memory by way of the first host software submitting a request for hardware identity information during a startup process, wherein the identity information indicates if the first host software is running directly on the hardware or on a second host software; and

    managing the privileged instruction without causing a second VM exit to the second host software from the first host software, in response to determining that the first host software is executed over the second host software that is running directly on the hardware,wherein the second host software loads a first control structure into the memory, in response to determining that the first host software is running on the second host software,wherein the first host software loads a second control structure into the memory, in response to determining that the guest software is running on the first host software, andwherein the second host software loads a third control structure into the memory and updates value of the second control structure with value stored in the third control structure, in response to the first VM exit caused by the guest software due to the privileged instruction,wherein the address of the second control structure in the memory is known to the second host software such that control for handling the privileged instruction is transferred to the first host software and so that the first host software directly accesses the second control structure instead of having the second host software access the second control structure, since the value of the second control structure has been previously updated with the value stored in the third control structure.

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