Interposition method suitable for hardware-assisted virtual machine
Abstract
One embodiment of the present invention is a method of interposing operations in a computational system that includes a virtualization system executable on an underlying hardware processor that natively supports one or more instructions that transition between host and guest execution modes. The method includes introducing a hooked vector into a supervisor register block of the hardware processor, wherein the hooked vector displaces a system call handler vector otherwise set by a guest computation; read and write protecting at least the hooked vector containing portion of the supervisor register block; initiating execution of a code sequence of the guest computation on the hardware processor using one of the instructions that transition between the host and guest execution modes thereof, wherein the code sequence includes a system call and wherein upon initiation of the system call, the hardware processor transfers execution to a substitute handler in accordance with the hooked vector; and responsive to execution of the substitute handler, initiating a hooked operation and transferring control to the guest system call handler.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of interposing operations in a computational system that includes a virtualization system executable on an underlying hardware processor that natively supports one or more instructions that transition between host and guest execution modes, the method comprising: introducing a hooked vector into a supervisor register block of the hardware processor, wherein the hooked vector displaces a system call handler vector otherwise set by a guest computation to activate a system call handler; read and write protecting at least the hooked vector containing portion of the supervisor register blo
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (5)
- Adams, Keith and Agesen, Ole, "A Comparison of Software and Hardware Techniques for x86 Virtualization", ASPLOS, Oct. 21-25, 2006, 12 pages.
- Ferrie, Peter, "Attacks on Virtual Machine Emulators", Symantec Advanced Threat Research, pp. 1-13 , 2007.
- Gulbrandsen, John, "Why is SYSENTER faster?", Summit Soft Consulting Articles, Jun. 11, 2008, pp. 1-10, .summitsoftconsulting.com/SysCallOpts.htm.
- Hand, Steven et al., "hardware virtualization with Xen", Login:, Feb. 2007, pp. 21-27.
- Intel Corporation, "Intel Virtualization Technology Hardware-Assisted Virtualization for Today's Business" Technology Brief, 2006, 4 pages.