-
公开(公告)号:US11726807B2
公开(公告)日:2023-08-15
申请号:US15588392
申请日:2017-05-05
Applicant: VMware, Inc.
Inventor: Nadav Amit , Michael Wei , Cheng Chun Tu
CPC classification number: G06F9/45558 , G06F21/53 , G06F21/60 , G06F2009/45587
Abstract: 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.