发明授权
US08397050B2 Simulator and simulating method for running guest program in host
有权
在主机中运行客人程序的模拟器和模拟方法
- 专利标题: Simulator and simulating method for running guest program in host
- 专利标题(中): 在主机中运行客人程序的模拟器和模拟方法
-
申请号: US12633299申请日: 2009-12-08
-
公开(公告)号: US08397050B2公开(公告)日: 2013-03-12
- 发明人: Xiao Tao Chang , Huayong Wang , Kun Wang , Yu Zhang
- 申请人: Xiao Tao Chang , Huayong Wang , Kun Wang , Yu Zhang
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理商 Derek S. Jennings; Geil Zerick
- 优先权: CN200810185788 20081210
- 主分类号: G06F12/10
- IPC分类号: G06F12/10
摘要:
A Simulator and a simulating method for running a guest program in a host are disclosed. The simulator includes: an initialization device configured for setting content of a hypervisor page table in the host, the hypervisor page table mapping a guest physical address space to a host physical address space. The simulator further includes a binary translation device configured for employing a program logical address to perform a memory access in code translation. The simulator also includes a miss handling device configured for updating a guest translation look-aside buffer by treating a miss in a host translation look-aside buffer caused by the execution of the translated code as a miss in the guest translation look-aside buffer, wherein the host translation look-aside buffer is configured to buffer entries for mapping addresses in a guest program logical address space to addresses in the guest physical address space. The simulator further includes an update tracing device configured for, in response to the update to the guest translation look-aside buffer, perform the update to the host translation look-aside buffer. Also disclosed is a method for running a guest program in a host.
公开/授权文献
信息查询