发明授权
- 专利标题: Fast stub and frame technology for virtual machine optimization
- 专利标题(中): 用于虚拟机优化的快速存根和框架技术
-
申请号: US11530080申请日: 2006-09-08
-
公开(公告)号: US07581085B1公开(公告)日: 2009-08-25
- 发明人: Alexey B. Koryakin , Nikolay N. Dobrovolskiy , Andrey A. Omelyanchuk , Maxim A. Kuzkin , Alexander G. Tormasov , Serguei M. Beloussov , Stanislav S. Protassov
- 申请人: Alexey B. Koryakin , Nikolay N. Dobrovolskiy , Andrey A. Omelyanchuk , Maxim A. Kuzkin , Alexander G. Tormasov , Serguei M. Beloussov , Stanislav S. Protassov
- 申请人地址: VG Tortola
- 专利权人: Parallels Software International, Inc.
- 当前专利权人: Parallels Software International, Inc.
- 当前专利权人地址: VG Tortola
- 代理机构: Bardmesser Law Group
- 主分类号: G06F7/38
- IPC分类号: G06F7/38 ; G06F9/00 ; G06F9/44 ; G06F15/00
摘要:
A method and system for handling of potential unsafe instructions and/or for handling transfers of control in a Virtual Machine, that includes generating a frame composed of pages of analyzed code based on original guest code; identifying instructions within the frame that transfer control (or are otherwise unsafe); replacing instructions that transfer the control with an interrupt that transfers control to a stub in non-privileged code; wherein the stub checks whether the control transfer (or instruction) is safe or unsafe, and (i) for unsafe control transfers/unsafe instructions, switches the context to Virtual Machine Monitor; and (ii) for safe control transfers, executes the control transfer in non-privileged mode. The instructions that transfer control can include any of JMP, CALL, RET and RET(n). The instructions that transfer control can also include interrupts.
信息查询