Memory Overcommit by Using an Emulated IOMMU in a Computer System with a Host IOMMU
AssigneeRed Hat Israel, Ltd.
InventorsMichael Tsirkin, Christopher M. Wright
Life of this patent
Estimating the term…
Loading patent…
AssigneeRed Hat Israel, Ltd.
InventorsMichael Tsirkin, Christopher M. Wright
Estimating the term…
A method and system for managing direct memory access (DMA) in a computer system that hosts virtual machines and allows memory overcommit. The computer receives an indication that a bus address is to be used by a device to perform DMA to a buffer. In response to the indication, the computer determines a host device identifier for the device, and pins a memory page addressed by a host address that is associated with the bus address and a guest address. The computer also records, in a host I/O memory management unit (IOMMU), a mapping of the bus address and the host device identifier to the host address. After the device completes the DMA, the computer removes the mapping from the host IOMMU to prevent further direct access to the host address.
A method, implemented by a computer programmed to perform the following, comprising:
A system comprising:
A computer readable storage medium including instructions that, when executed by a processing system, cause the processing system to perform a method comprising:
The computer readable storage medium aim 14, wherein recording a mapping further comprises:
Dependencies are inferred from the claim text.