Method and apparatus for supporting address translation in a virtual machine environment
1 Assignment
0 Petitions
Accused Products
Abstract
In one embodiment, a method includes receiving control transitioned from a virtual machine (VM) due to a privileged event pertaining to a translation-lookaside buffer (TLB), and determining which entries in a guest translation data structure were modified by the VM. The determination is made based on metadata extracted from a shadow translation data structure maintained by a virtual machine monitor (VMM) and attributes associated with entries in the shadow translation data structure. The method further includes synchronizing entries in the shadow translation data structure that correspond to the modified entries in the guest translation data structure with the modified entries in the guest translation data structure.
133 Citations
22 Claims
-
1-14. -14. (canceled)
-
15. A method comprising:
-
creating a shadow page table (PT) hierarchy based on a guest PT hierarchy used by a guest operating system for address translation operations; and deriving metadata from the shadow PT hierarchy to determine subsequently which entries of the guest PT hierarchy that are represented in the shadow PT hierarchy were modified, the metadata comprising an active entry list identifying mappings that map pages used by the guest operating system in forming the guest PT hierarchy, and one or more active directory lists identifying higher level mapping structures referencing a lower level structure through which the shadow PT hierarchy is to be accessed. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
-
22-30. -30. (canceled)
Specification