Invention Grant
- Patent Title: Guest code emulation by virtual machine function
-
Application No.: US15252065Application Date: 2016-08-30
-
Publication No.: US10176007B2Publication Date: 2019-01-08
- Inventor: Michael Tsirkin
- Applicant: Red Hat Israel, Ltd.
- Applicant Address: IL Ra'anana
- Assignee: Red Hat Israel, Ltd.
- Current Assignee: Red Hat Israel, Ltd.
- Current Assignee Address: IL Ra'anana
- Agency: Haynes and Boone, LLP
- Main IPC: G06F9/455
- IPC: G06F9/455

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.
Public/Granted literature
- US20180060103A1 GUEST CODE EMULATION BY VIRTUAL MACHINE FUNCTION Public/Granted day:2018-03-01
Information query