# US 2024/0192981 A1 · Exitless guest to host notification

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

- Number: US 2024/0192981 A1
- Document ID: US20240192981A1
- Status: Published application
- Kind: A1
- Application number: 18/285,212
- Filed: 2021-06-25
- Published: 2024-06-13
- Earliest claimed: 2021-06-25
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Wei WANG; Kun TIAN; Gilbert NEIGER; Rajesh SANKARAN; Asit MALLICK; Jr-Shian TSAI; Jacob Jun PAN; Mesut ERGIN
- Web page: https://patentgrep.com/patent/US20240192981A1

## CPC

- G06F 9/30076: {to perform miscellaneous control operations, e.g. NOP}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/30145: {Instruction analysis, e.g. decoding, instruction word fields}
- G06F 9/30189: {according to execution mode, e.g. mode flag}
- G06F 9/455: Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F 2009/45579: {I/O management, e.g. providing access to device drivers or storage}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments of exitless guest to host (G2H) notification are described. In some embodiments, G2H is provided via an instruction. An exemplary processor includes decoder circuitry to decode a single instruction, the single instruction to include a field for an opcode; and execution processing resources to execute the decoded single instruction according to the at least the opcode to cause an exitless guest to host notification from a virtual processor to a physical or virtual processor.

## Claims

### Claim 1

An apparatus comprising:
decoder circuitry to decode a single instruction, the single instruction to include a field for an opcode; and
execution processing resources to execute the decoded single instruction according to the at least the opcode to cause an exitless guest to host notification from a virtual processor to a physical or virtual processor.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the opcode of the instruction is to indicate is a virtual machine function instruction and an implicit register value is to indicate exitless guest to host notification from a virtual processor to a physical or virtual processor.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the execution processing resources, in response to the decoded single instruction, are further to index an inter-virtual machine inter-processor interrupt (IVIT) data structure using an index to acquire a destination identifier from an entry of the IVIT data structure, set a vector value in a posted-interrupt requests field of the destination as indicated by the entry of the IVIT data structure, and send an inter-processor interrupt with physical vector as identified in a descriptor to a destination processor.

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein the destination identifier is an address of a posted interrupt descriptor.

### Claim 5 (depends on 3)

The apparatus of claim 3, wherein the destination identifier is an address of a user posted interrupt descriptor.

### Claim 6 (depends on 3)

The apparatus of claim 3, wherein an index is to be provided by a field of the instruction.

### Claim 7 (depends on 3)

The apparatus of claim 3, wherein the inter-processor interrupt is to be sent to an programmable interrupt controller.

### Claim 8

A method comprising:
decoding a single instruction, the single instruction to include a field for an opcode; and
processing the decoded single instruction according to the at least the opcode to cause an exitless guest to host notification from a virtual processor to a physical or virtual processor.

### Claim 9 (depends on 8)

The method of claim 8, wherein the opcode of the instruction is to indicate is a virtual machine function instruction and an implicit register value is to indicate exitless guest to host notification from a virtual processor to a physical or virtual processor.

### Claim 10 (depends on 8)

The method of claim 8, wherein the processing further comprises:
indexing an inter-virtual machine inter-processor interrupt (IVIT) data structure using an index to acquire a destination identifier from an entry of the IVIT data structure,
setting a vector value in a posted-interrupt requests field of the destination as indicated by the entry of the IVIT data structure, and
sending an inter-processor interrupt with physical vector to a destination processor.

### Claim 11 (depends on 10)

The method of claim 10, wherein the destination identifier is an address of a posted interrupt descriptor.

### Claim 12 (depends on 10)

The method of claim 10, wherein the destination identifier is an address of a user posted interrupt descriptor.

### Claim 13 (depends on 10)

The method of claim 10, wherein an index is to be provided by a field of the instruction.

### Claim 14 (depends on 10)

The method of claim 10, wherein the inter-processor interrupt sent to an programmable interrupt controller.

### Claim 15

A method comprising:
translating a single instruction from a first instruction set architecture into one or more instructions of a second instruction set architecture, the single instruction to include a field for an opcode;
decoding the one or more instructions of the second instruction set architecture; and
processing the decoded single instruction according to the at least the opcode to cause an exitless guest to host notification from a virtual processor to a physical or virtual processor.

### Claim 16 (depends on 15)

The method of claim 15, wherein the opcode of the instruction is to indicate is a virtual machine function instruction and an implicit register value is to indicate exitless guest to host notification from a virtual processor to a physical or virtual processor.

### Claim 17 (depends on 15)

The method of claim 15, processing further comprises:
indexing an inter-virtual machine inter-processor interrupt (IVIT) data structure using an index to acquire a destination identifier from an entry of the IVIT data structure,
setting a vector value in a posted-interrupt requests field of the destination as indicated by the entry of the IVIT data structure, and
sending an inter-processor interrupt with physical vector to a destination processor.

### Claim 18

A system comprising:
a first processor core including:
decoder circuitry to decode a single instruction, the single instruction to include a field for an opcode; and
execution processing resources to execute the decoded single instruction according to the at least the opcode to cause an exitless guest to host notification from a virtual processor to a second processor core; and
memory coupled to the processor core to store the single instruction.

### Claim 19 (depends on 18)

The system of claim 18, wherein the execution processing resources, in response to the decoded single instruction, are further to index an inter-virtual machine inter-processor interrupt (IVIT) data structure using an index to acquire a destination identifier from an entry of the IVIT data structure, set a vector value in a posted-interrupt requests field of the destination as indicated by the entry of the IVIT data structure, and send an inter-processor interrupt with physical vector to a destination processor.

### Claim 20 (depends on 19)

The system of claim 19, wherein the inter-processor interrupt is to be sent to a programmable interrupt controller of the second processor core.
