Safe execution of virtual machine callbacks in a hypervisor
AssigneeVMware, Inc.
InventorsNadav AMIT, Michael WEI, Cheng Chun TU
Life of this patent
Estimating the term…
Loading patent…
AssigneeVMware, Inc.
InventorsNadav AMIT, Michael WEI, Cheng Chun TU
Estimating the term…
A hypervisor communicates with a guest operating system running in a virtual machine supported by the hypervisor using a hyper-callback whose functions are based on the particular guest operating system running the virtual machine and are triggered by one or more events in the guest operating system. The functions are modified to make sure they are safe to execute and to allow only limited access to the guest operating system. Additionally, the functions are converted to byte code corresponding to a simplified CPU and memory model and are safety checked by the hypervisor when registered with the hypervisor. The functions are executed by the hypervisor without any context switch between the hypervisor and guest operating system, and when executed, provide information about the particular guest operating system, allowing the hypervisor to improve operations such as page reclamation, virtual CPU scheduling, I/O operations, and tracing of the guest operating system.
In a system having one or more processors and a memory coupled to the one or more processors and containing a hypervisor that supports a virtual machine running a guest operating system, a method for communicating information specific to the guest operating system to the hypervisor, said method comprising:
A non-transitory computer-readable medium comprising computer program code executable in a system having one or more processors and a memory coupled to the one or more processors and containing a hypervisor that supports a virtual machine running a guest operating system, wherein the computer program code when executed carries out a method for communicating information specific to the guest operating system to the hypervisor, said method comprising:
A system comprising:
Dependencies are inferred from the claim text.