Patent ID: 11880301
Assignee: VMWARE LLC
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A method comprising:
for each PCIe (Peripheral Component Interconnect Express) device function that is present in a virtual machine (VM) running on a host system:
reserving, by a hypervisor of the host system, a host physical memory page for the PCIe device function in a host physical memory of the host system; and
creating, in second-level page tables of the hypervisor, a mapping between the host physical memory page and a guest physical memory page of the VM that is addressed by a ECAM (Enhanced Configuration Access Mechanism) address of the PCIe device function,

wherein the created mapping specifies that the host physical memory page is writable, and
wherein the created mapping causes a guest operating system (OS) of the VM to directly retrieve contents of the host physical memory page upon accessing the ECAM address of the PCIe device function, without trapping into the hypervisor.