# US 2026/0037296 A1 · Passing single-root input-output virtualization functions to nested virtual machines

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0037296 A1
- Document ID: US20260037296A1
- Status: Published application
- Kind: A1
- Application number: 19/355,325
- Filed: 2025-10-10
- Published: 2026-02-05
- Earliest claimed: 2023-01-11
- Assignees: Red Hat, Inc.
- Applicants: Red Hat, Inc.
- Inventors: Michael Tsirkin
- Web page: https://patentgrep.com/patent/US20260037296A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 2009/45566: {Nested virtual machines}
- G06F 2009/45579: {I/O management, e.g. providing access to device drivers or storage}
- G06F 2009/45583: {Memory management, e.g. access or allocation}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Passing communication to or from nested virtual machines can involve one or more mappings. In one example, a host hypervisor can receive, from a physical function of a host computing device, a request generated by a nested virtual function of a nested virtual machine hosted by a guest virtual machine. The request can involve a first guest virtual function of the guest virtual machine, while the nested virtual function can be mapped to a second guest virtual function of the guest virtual machine. The host hypervisor can translate, using a set of mappings stored in a host page table, a guest memory address for the first guest virtual function to a host memory address for the first guest virtual function. The host hypervisor can forward the request to the first guest virtual function using the host memory address determined through translation.

## Claims

### Claim 1

A system comprising:
a processing device; and
a memory device including instructions that are executable by the processing device for causing a host hypervisor to perform operations comprising:
receiving, from a physical function of a host computing device, a request generated by a nested virtual function of a nested virtual machine hosted by a guest virtual machine, the request involving a first guest virtual function of the guest virtual machine, wherein the nested virtual function is mapped to a second guest virtual function of the guest virtual machine;
translating, using a set of mappings stored in a host page table, a guest memory address for the first guest virtual function to a host memory address for the first guest virtual function; and
forwarding the request to the first guest virtual function using the host memory address.

### Claim 2 (depends on 1)

The system of claim 1, wherein the operations further comprise:
generating a shadow table in the host page table to mirror at least a portion of a guest page table, wherein the guest page table comprises the guest memory address corresponding to the first guest virtual function.

### Claim 3 (depends on 2)

The system of claim 2, wherein generating the shadow table in the host page table to mirror at least a portion of the guest page table further comprises:
generating a mapping of the set of mappings that links a first virtual function number corresponding to the guest memory address to a second virtual function number corresponding to the host memory address.

### Claim 4 (depends on 1)

The system of claim 1, wherein the operations further comprise:
generating a shadow table in the host page table to store a subset of the set of mappings, wherein the subset of the set of mappings is associated with the nested virtual function, and wherein the shadow table mirrors at least a portion of a nested page table stored in the nested virtual machine.

### Claim 5 (depends on 1)

The system of claim 1, wherein the host memory address is a first host memory address, and wherein the operations further comprise:
receiving, from the first guest virtual function, a response generated based on the request;
translating a nested memory address corresponding to the nested virtual function to a second host memory address; and
forwarding, using the second host memory address, the response to the nested virtual function.

### Claim 6 (depends on 1)

The system of claim 1, wherein each mapping of the set of mappings stored in the host page table links a respective memory address of a virtualized layer of the guest virtual machine to a corresponding memory address of a physical layer of the host computing device.

### Claim 7 (depends on 1)

The system of claim 1, wherein the host memory address corresponding to the first guest virtual function is inaccessible to the nested virtual function.

### Claim 8

A method comprising:
receiving, from a physical function of a host computing device, a request generated by a nested virtual function of a nested virtual machine hosted by a guest virtual machine, the request involving a first guest virtual function of the guest virtual machine, wherein the nested virtual function is mapped to a second guest virtual function of the guest virtual machine;
translating, using a set of mappings stored in a host page table, a guest memory address for the first guest virtual function to a host memory address for the first guest virtual function; and
forwarding the request to the first guest virtual function using the host memory address.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
generating a shadow table in the host page table to mirror at least a portion of a guest page table, wherein the guest page table comprises the guest memory address corresponding to the first guest virtual function.

### Claim 10 (depends on 9)

The method of claim 9, wherein generating the shadow table in the host page table to mirror at least a portion of the guest page table further comprises:
generating a mapping of the set of mappings that links a first virtual function number corresponding to the guest memory address to a second virtual function number corresponding to the host memory address.

### Claim 11 (depends on 8)

The method of claim 8, further comprising:
generating a shadow table in the host page table to store a subset of the set of mappings, wherein the subset of the set of mappings is associated with the nested virtual function, and wherein the shadow table mirrors at least a portion of a nested page table stored in the nested virtual machine.

### Claim 12 (depends on 8)

The method of claim 8, wherein the host memory address is a first host memory address, and wherein the method further comprises:
receiving, from the first guest virtual function, a response generated based on the request;
translating a nested memory address corresponding to the nested virtual function to a second host memory address; and
forwarding, using the second host memory address, the response to the nested virtual function.

### Claim 13 (depends on 8)

The method of claim 8, wherein each mapping of the set of mappings stored in the host page table links a respective memory address of a virtualized layer of the guest virtual machine to a corresponding memory address of a physical layer of the host computing device.

### Claim 14 (depends on 8)

The method of claim 8, wherein the host memory address corresponding to the first guest virtual function is inaccessible to the nested virtual function.

### Claim 15

A non-transitory computer-readable medium comprising program code executable by a processing device for causing the processing device to perform operations comprising:
receiving, from a physical function of a host computing device, a request generated by a nested virtual function of a nested virtual machine hosted by a guest virtual machine, the request involving a first guest virtual function of the guest virtual machine, wherein the nested virtual function is mapped to a second guest virtual function of the guest virtual machine;
translating, using a set of mappings stored in a host page table, a guest memory address for the first guest virtual function to a host memory address for the first guest virtual function; and
forwarding the request to the first guest virtual function using the host memory address.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the operations further comprise:
generating a shadow table in the host page table to mirror at least a portion of a guest page table, wherein the guest page table comprises the guest memory address corresponding to the first guest virtual function.

### Claim 17 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein generating the shadow table in the host page table to mirror at least a portion of the guest page table further comprises:
generating a mapping of the set of mappings that links a first virtual function number corresponding to the guest memory address to a second virtual function number corresponding to the host memory address.

### Claim 18 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the operations further comprise:
generating a shadow table in the host page table to store a subset of the set of mappings, wherein the subset of the set of mappings is associated with the nested virtual function, and wherein the shadow table mirrors at least a portion of a nested page table stored in the nested virtual machine.

### Claim 19 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the host memory address is a first host memory address, and wherein the operations further comprise:
receiving, from the first guest virtual function, a response generated based on the request;
translating a nested memory address corresponding to the nested virtual function to a second host memory address; and
forwarding, using the second host memory address, the response to the nested virtual function.

### Claim 20 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the host memory address corresponding to the first guest virtual function is inaccessible to the nested virtual function.
