Dynamic memory locality for guest memory
Abstract
A method of migrating memory includes protecting, by a hypervisor, a first memory page from write operations, the first memory page being used for direct memory access (DMA) by a device and stored at a guest memory address that maps to a first host-physical address. A second memory page is stored at the first host-physical address, and the device is allowed DMA in an input/output memory management unit (IOMMU). The method also includes allocating a third memory page at a second host-physical address and copying data stored at the second memory page to the third memory page. The method further includes updating a mapping including the guest memory address to reference the second host-physical address and detecting that the first memory page is protected from write operations by the device. The method further includes pinning the second memory page to main memory of the host machine and storing the mapping.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 14.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of migrating memory, comprising: protecting, by a hypervisor, a first memory page from write operations, the first memory page being part of guest memory including a guest memory address allocated to a guest running on a virtual machine, the first memory page being used for direct memory access (DMA) by a device assigned to the virtual machine and stored at the guest memory address that maps to a first host-physical address, a second memory page being stored at the first host-physical address, and the device is allowed DMA in an input/output memory management unit (IOMMU); allocating
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (14 of 14 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (1)
- Gauthier Voron, Efficient Virtualization of Numa Architectures, Sorbonne University, Mar. 8, 2018, http://www.mnesic.fr/˜gvoron/research/thesis18manuscript.pdf.