Facilitating execution of MMIO based instructions
Abstract
A hypervisor of a host receives an indication of an exit from a guest to the hypervisor and a memory-mapped input output (MMIO) address that caused the exit to hypervisor. The hypervisor walks a page table of the guest to identify a guest address associated with the MMIO address that caused the exit to the hypervisor. The hypervisor decodes an instruction of the guest referenced by the guest address to determine a type of operation that the guest intended to execute and a location of MMIO information. The hypervisor records, in a page table entry for the MMIO address of a host page table, an association with the type of operation and the location of the MMIO information. The hypervisor executes the operation on behalf of the guest based on the type of the operation and the MMIO information.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method, comprising: receiving, by a host processing device executing a hypervisor, an indication of an initial exit from a guest to the hypervisor and a memory-mapped input output (MMIO) address that caused the initial exit to the hypervisor; walking, by the hypervisor, a page table in the guest memory to identify a guest address associated with the MMIO address that caused the initial exit to the hypervisor; decoding, by the processing device executing the hypervisor, an instruction of the guest referenced by the guest address to determine a type of operation that the guest intended to exec
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 10,248,468 B2 | Using hypervisor for PCI device memory mapping | 2019 | 1 |
| US 2017199768 A1 | Using hypervisor for pci device memory mapping | — | 17 |
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- [Patch] KVM: MMU: Avoid Fast Page Fault Fixing Mmio Page Fault, https://Ikml.org/Ikml/2013/7/18/6, Xiao Guangrong, Jul. 18, 2013, 1 page.
- KVM: MMU: Fast Page Fault, https://Iwn.net/Articles/4893071, Mar. 29, 2012, Xiao Guangrong, 3 pages.
- Tsirkin et al., Re: [Patch RFC] kvm: add PV MMIO EVENTFD, Linux Virtualization, www.spinics.net, Apr. 14, 2013,/C.S.G retrieved on Apr. 22, 2015, 2 pages, Internet: <http://www.spinics.net/lists/linux-virtualization/msg19785.html>.
- USPTO, Advisory Action for U.S. Appl. No. 14/043,132, dated Jun. 20, 2017.
- USPTO, Final Office Action for U.S. Appl. No. 14/043,132, dated Apr. 4, 2017.