Invention Grant
- Patent Title: Tracking virtual machine memory modified by a single root I/O virtualization (SR-IOV) device
-
Application No.: US14539528Application Date: 2014-11-12
-
Publication No.: US09898430B2Publication Date: 2018-02-20
- Inventor: Bhavesh Davda , Xin Xu , Guolin Yang
- Applicant: VMware, Inc.
- Applicant Address: US CA Palo Alto
- Assignee: VMware, Inc.
- Current Assignee: VMware, Inc.
- Current Assignee Address: US CA Palo Alto
- Main IPC: G06F13/28
- IPC: G06F13/28 ; G06F13/24 ; G06F9/455

Abstract:
Techniques for tracking, by a host system, virtual machine (VM) memory modified by a physical input/output (I/O) device that supports I/O virtualization are provided. In one embodiment, a hypervisor of the host system can receive a hardware interrupt from the physical I/O device, where the hardware interrupt indicates that a virtual function (VF) of the physical I/O device has completed a direct memory access (DMA) write to a guest memory space of a VM running on the host system. In response to the hardware interrupt, the hypervisor can invoke a function implemented by a physical function (PF) driver of the physical I/O device, where the function is configured to inspect the VF's state in order to identify memory portions modified by the DMA write. The hypervisor can then mark, in a hypervisor-level page table, one or more memory pages corresponding to the identified memory portions as dirty pages.
Public/Granted literature
- US20160132443A1 TRACKING VIRTUAL MACHINE MEMORY MODIFIED BY A SINGLE ROOT I/O VIRTUALIZATION (SR-IOV) DEVICE Public/Granted day:2016-05-12
Information query