US 7,395,405 B2
Method and apparatus for supporting address translation in a virtual machine environment
Andrew V. Anderson, Hillsboro, Oreg. (US); and Alain Kägi, Portland, Oreg. (US)
Assigned to Intel Corporation, Santa Clara, Calif. (US)
Filed on Jan. 28, 2005, as Appl. No. 11/45,524.
Prior Publication US 2006/0174053 A1, Aug. 03, 2006
Int. Cl. G06F 12/00 (2006.01); G06F 21/00 (2006.01); G06F 9/26 (2006.01); G06F 9/34 (2006.01); G06F 9/455 (2006.01)
U.S. Cl. 711—206  [711/6; 711/202; 711/203; 711/205; 711/207; 711/210; 718/1] 23 Claims
OG exemplary drawing
 
1. A method comprising:
receiving control transitioned from a virtual machine (VM) due to a privileged event pertaining to a translation-lookaside buffer (TLB);
determining which entries in a guest translation data structure were modified by the VM, 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; and
synchronizing a first set of the entries in the shadow translation data structure with the modified entries in the guest translation data structure, without processing a second set of the entries from the shadow translation data structure,
wherein the first set of the entries in the shadow translation data structure includes entries that correspond to the modified entries from the guest translation data structure, and the second set of the entries in the shadow translation data structure includes entries that do not correspond to the modified entries from the guest translation data structure.