# US 9,355,033 B2 · Supporting multiple types of guests by a hypervisor

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

- Number: US 9,355,033 B2
- Document ID: US9355033B2
- Status: Granted
- Kind: B2
- Application number: 13/789,083
- Filed: 2013-03-07
- Published: 2014-04-10
- Granted: 2016-05-31
- Earliest claimed: 2012-10-08
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Michael K. Gschwind
- Web page: https://patentgrep.com/patent/US9355033B2

## CPC

- G06F 12/08: in hierarchically structured memory systems, e.g. virtual memory systems
- G06F 12/10: Address translation
- G06F 12/1009: using page tables, e.g. page table structures
- G06F 2212/151: Emulated environment, e.g. virtual machine
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system configuration is provided that includes multiple partitions that have differing translation mechanisms associated therewith. For instance, one partition has associated therewith a single level translation mechanism for translating guest virtual addresses to host physical addresses, and another partition has a nested level translation mechanism for translating guest virtual addresses to host physical addresses. The different translation mechanisms and partitions are supported by a single hypervisor. Although the hypervisor is a paravirtualized hypervisor, it provides full virtualization for those partitions using nested level translations.

## Claims

### Claim 1

A method of facilitating translation of memory addresses, said method comprising:
providing, by a hypervisor executing within a computing environment, a first type of translation support for a first type of guest operating system supported by the hypervisor, the first type of translation support comprising a paravirtualization support in which the first type of guest operating system assists in handling address translation faults corresponding to host translations of guest memory addresses by at least updating, at least in part, an address translation data structure of the host; and
providing, by the hypervisor, a second type of translation support for a second type of guest operating system supported by the hypervisor, the second type of translation support comprising a virtualization support in which address translation faults corresponding to host translations of guest memory addresses are handled by a component of the computing environment other than the second type of guest operating system, wherein the second type of guest operating system does not update the address translation data structure of the host.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first type of guest operating system uses a single level of address translation to translate a first guest virtual address, and the second type of guest operating system uses a nested level of address translation to translate a second guest virtual address.

### Claim 3 (depends on 2)

The method of claim 2, wherein the single level of address translation comprises using a hash structure to translate the first guest virtual address to a first host physical address.

### Claim 4 (depends on 3)

The method of claim 3, wherein the nested level of address translation comprises using a first structure to translate the second guest virtual address to a guest physical address and a second structure to translate the guest physical address to a second host physical address.

### Claim 5 (depends on 4)

The method of claim 4, wherein the first structure comprises a hierarchical structure and the second structure comprises one of a hierarchical structure, a hash structure or an offset structure.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
determining that an address translation fault has occurred, the address translation fault corresponding to an address translation relating to the second type of guest operating system; and
providing an indication of the address translation fault to an adjunct component coupled to the second type of guest operating system and the hypervisor, the adjunct component to assist in handling the address translation fault.

### Claim 7 (depends on 6)

The method of claim 6, wherein the address translation fault results from translation from a guest physical address to a host physical address.

### Claim 8 (depends on 1)

The method of claim 1, wherein the hypervisor comprises a paravirtualized hypervisor, the paravirtualized hypervisor also supporting full virtualization.

### Claim 9 (depends on 1)

The method of claim 1, further comprising configuring by the hypervisor the computing environment to indicate a first type of translation structure to be used for translations for the first type of guest operating system, and a second type of translation structure to be used for translations for the second type of guest operating system.

### Claim 10 (depends on 9)

The method of claim 9, wherein the first type of translation structure is the same as the second type of translation structure, or wherein the first type of translation structure differs from the second type of translation structure.
