# US 2010/0169882 A1 · Multiple Layers of Virtualization in a Computing System

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

- Number: US 2010/0169882 A1
- Document ID: US20100169882A1
- Status: Published application
- Kind: A1
- Application number: 12/347,524
- Filed: 2008-12-31
- Published: 2010-07-01
- Earliest claimed: 2008-12-31
- Assignees: International Business Machines Corporation
- Inventors: Shmuel Ben-Yehuda; Anthony Nicholas Liguori; Orit Luba Wasserman; Ben-Ami Yassour
- Web page: https://patentgrep.com/patent/US20100169882A1

## CPC

- G06F 9/45537: {Provision of facilities of other operating environments, e.g. WINE (I/O emulation G06F13/105)}
- G06F 2009/45566: {Nested virtual machines}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In accordance with one embodiment, a method of nesting a second virtual machine (VM) on a first VM running on a physical machine is provided. The method comprises receiving a first instruction from the physical machine, wherein the first instruction originates from the first VM, wherein a first control structure is associated with the first VM, and wherein a second control structure is associated with the second VM; creating a secondary control structure based on the second control structure associated with the second VM; providing the first instruction and the secondary control structure to the physical machine, wherein the physical machine executes the first instruction according to information included in the secondary control structure; and updating the secondary control structure to correspond to current state or execution environment of the physical machine.

## Claims

### Claim 1

A method of nesting a second virtual machine (VM) on a first VM running on a physical machine, the method comprising:
receiving a first instruction from the physical machine, wherein the first instruction originates from the first VM, wherein a first control structure is associated with the first VM, and wherein a second control structure is associated with the second VM;
creating a secondary control structure based on the second control structure associated with the second VM;
providing the first instruction and the secondary control structure to the physical machine, wherein the physical machine executes the first instruction according to information included in the secondary control structure; and
updating the secondary control structure to correspond to current state or execution environment of the physical machine.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first instruction is modified to be compatible with the physical machine.

### Claim 3 (depends on 1)

The method of claim 1, wherein the first instruction is modified to improve performance of the physical machine.

### Claim 4 (depends on 1)

The method of claim 1, wherein the physical machine operates in a first or second mode, wherein in the first mode, the physical machine executes a first type of instructions and in the second mode the physical machine executes a second type of instructions with the support of a VM.

### Claim 5 (depends on 4)

The method of claim 4, wherein the physical machine switches to the second mode prior to the receiving.

### Claim 6 (depends on 5)

The method of claim 5, wherein the physical machine switches to the first mode after executing the first instruction.

### Claim 7 (depends on 6)

The method of claim 6, wherein a physical address of the first VM is replaced by a physical address of the second VM.

### Claim 8 (depends on 1)

The method of claim 1, further comprising creating a secondary page table associated with the second VM.
