Method and Apparatus for Supporting Address Translation in a Multiprocessor Virtual Machine Environment
    2.
    发明申请
    Method and Apparatus for Supporting Address Translation in a Multiprocessor Virtual Machine Environment 审中-公开
    在多处理器虚拟机环境中支持地址转换的方法和装置

    公开(公告)号:US20110016290A1

    公开(公告)日:2011-01-20

    申请号:US12460105

    申请日:2009-07-14

    IPC分类号: G06F12/10

    摘要: In one embodiment, a method includes receiving control of a first processor transitioned from a virtual machine due to a privileged event pertaining to a translation-lookaside buffer, and determining which entries in a guest translation data structure were modified by the virtual machine. The determination is made based on metadata extracted from a shadow translation data structure maintained by a virtual machine monitor and attributes associated with entries in the shadow translation data structure. The metadata includes an active entry list identifying mappings that map pages used by a guest operating system in forming the guest 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, and determining which entries to keep in the active entry list, based at least in part on attributes associated with corresponding entries in the shadow translation data structure identifying which of the plurality of processors owns each entry in the active entry list.

    摘要翻译: 在一个实施例中,一种方法包括接收由于与翻译后备缓冲器有关的特权事件而从虚拟机转换的第一处理器的控制,以及确定客体翻译数据结构中的哪些条目被虚拟机修改。 基于从由虚拟机监视器维护的阴影翻译数据结构提取的元数据和与阴影翻译数据结构中的条目相关联的属性进行确定。 元数据包括标识映射的活动条目列表,其映射由客户操作系统在形成客体翻译数据结构中使用的页面。 所述方法还包括将所述客体翻译数据结构中与修改的条目相对应的影子翻译数据结构中的条目与访客翻译数据结构中的修改的条目同步,以及至少基于 部分地关于与阴影翻译数据结构中的对应条目相关联的属性,其识别多个处理器中的哪个处理器拥有活动条目列表中的每个条目。