Patent ID: 11868792
Assignee: DYNAVISOR, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 11:
12. A system, comprising:
a guest user process of a guest having a guest hybrid address space, the guest hybrid address space including extended page table pointer switching, wherein the guest hybrid address space has at least a guest kernel and a host kernel;
a native device driver running in a hypervisor of a host having a host hybrid address space, wherein the native device driver has a plurality of entry points;
a device virtualization using context switching between guest user processes of the guest;
a virtual address mapping for the guest hybrid address space and the host hybrid address space, wherein the host builds two extended page tables for the guest hybrid address space, a first extended page table having phantom page numbers mapped into a host physical address for guest kernel mappings, and a second extended page table having phantom page numbers mapped into the host physical address for the host kernel mappings; and
a virtual device driver which runs on the guest, wherein the virtual device driver is cloned from the native device driver;
wherein the guest user process makes a first direct call into an entry point of the plurality of entry points in the native device driver, wherein making the first direct call includes:
receiving the first direct call at the virtual device driver of the guest from the guest user process calling, by the virtual device driver, into the host through a guest trap door page and a host trap door page; and
receiving the first direct call at the entry point of the native device driver.