Invention Grant
- Patent Title: Techniques for virtualizing PF-VF mailbox communication in SR-IOV devices
-
Application No.: US16817653Application Date: 2020-03-13
-
Publication No.: US11586567B2Publication Date: 2023-02-21
- Inventor: Radu Rugina , Vivek Mohan Thampi
- Applicant: VMWARE, INC.
- Applicant Address: US CA Palo Alto
- Assignee: VMWARE, INC.
- Current Assignee: VMWARE, INC.
- Current Assignee Address: US CA Palo Alto
- Agency: Kim & Stewart LLP
- Priority: IN202041000663 20200107
- Main IPC: G06F9/455
- IPC: G06F9/455 ; G06F13/20 ; G06F11/07

Abstract:
A virtual machine (VM) has direct access to an I/O device having physical and virtual functions and a mailbox register, and includes a guest driver for controlling the virtual functions. The VM runs on system software that includes a physical driver for controlling the physical function (PF) and maintains VM page tables, which include an entry that references a memory space into which the mailbox register is mapped. The system software registers a callback function with the physical driver, which the physical driver invokes upon receiving a trigger for communication with the guest driver. In response, the system software alters the page tables so that access to the mailbox register causes a PF intercept, and the callback function handles the communication with the guest driver. After completion of the communication, the system software alters the page tables so that access to the mailbox register does not cause a PF intercept.
Public/Granted literature
- US20210209040A1 TECHNIQUES FOR VIRTUALIZING PF-VF MAILBOX COMMUNICATION IN SR-IOV DEVICES Public/Granted day:2021-07-08
Information query