Guest code emulation by virtual machine function
Abstract
Systems and methods are provided for emulating guest code by a virtual machine function. An example method includes detecting, by a hypervisor, a request by a guest to access a resource. The guest includes a virtual machine function and kernel code, and runs on a virtual machine. The virtual machine and the hypervisor run on a host machine, which includes virtual machine function memory. The method also includes in response to detecting the request to access the resource, transferring, by the hypervisor, control of a virtual central processing unit (CPU) allocated to the guest to the virtual machine function. The method further includes receiving an indication that the virtual machine function has completed the access request on behalf of the guest. The virtual machine function may modify a state of the virtual CPU in virtual machine function memory. The method also includes synchronizing, by the hypervisor, a virtual machine function memory with the virtual CPU state.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 46 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of emulating guest code by a virtual machine function, comprising: detecting, by a hypervisor, a request by a guest to access a memory resource, the guest including the virtual machine function and kernel code and running on a virtual machine, and the virtual machine and the hypervisor running on a host machine; in response to detecting the request to access the memory resource: transferring, by the hypervisor, control of a virtual central processing unit (CPU) allocated to the guest to the virtual machine function; and activating a first set of hypervisor page tables associated with
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 11,354,047 B2 | Memory protection in virtualized computer systems using shadow page tables | 2022 | 0 |
References Cited — Backward Prior Art (46)
Non-Patent Literature (4)
- Adam Belay et al. "Dune: Safe User-level Access to Privileged CPU Features" Stanford University, http://www.scs.stanford.edu/˜abelay/pdf/belay:dune.pdf, accessed May 17, 2016, 14 pages.
- Jun Nakajima, "Re: [Qemu-Devel] Rfc: vHost user Enhancements for vm2vm Communication" https://lists.gnu.org/archive/html/qemu-devel/2015-09/msg00273.html, Intel Open Source Technology Center, Sep. 1, 2015, 3 pages.
- Wenhao Li et al. "Reducing World Switches in Virtualized Environment with Flexible Cross-world Calls" http://ipads.se.sjtu.edu.cn/_media/publications/crossover-isca15.pdf, Shanghai Key Laboratory of Scalable Computing and Systems Shanghai Jiao Tong University, Jun. 13-17, 2015, 13 pages.
- Yutao Liu et al. "Thwarting Memory Disclosure with Efficient Hypervisor-Enforced Intra-Domain Isolation" Shanghai Key Laboratory of Scalable Computing and Systems & Institute of Parallel and Distributed Systems Shanghai Jiao Tong University, Shanghai, China, Oct. 12-16, 2015, 13 pages.