Invention Grant
- Patent Title: Memory efficient host virtual address management for hypercalls
-
Application No.: US16829398Application Date: 2020-03-25
-
Publication No.: US11221869B2Publication Date: 2022-01-11
- Inventor: Michael Tsirkin
- Applicant: RED HAT, INC.
- Applicant Address: US NC Raleigh
- Assignee: RED HAT, INC.
- Current Assignee: RED HAT, INC.
- Current Assignee Address: US NC Raleigh
- Agency: Lowenstein Sandler LLP
- Main IPC: G06F9/455
- IPC: G06F9/455 ; G06F12/1009 ; G06F12/02

Abstract:
Systems and methods for managing host virtual addresses in a hypercall are disclosed. In one implementation, a processing device may receive, by a hypervisor managing a virtual machine (VM), a hypercall initiated by the VM, wherein a first parameter of the hypercall specifies a guest physical address (GPA) of a memory buffer and a second parameter of the hypercall specifies a host virtual address (HVA) of the memory buffer. The processing device may also translate the GPA to a first host physical address (HPA) and may translate the HVA to a second HPA. The processing device may further compare the first HPA to the second HPA and responsive to determining that the first HPA matches the second HPA, the processing device may execute the hypercall using the HVA.
Public/Granted literature
- US20210303325A1 MEMORY EFFICIENT HOST VIRTUAL ADDRESS MANAGEMENT FOR HYPERCALLS Public/Granted day:2021-09-30
Information query