# US 2021/0342171 A1 · Processor feature id response for virtualization

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

- Number: US 2021/0342171 A1
- Document ID: US20210342171A1
- Status: Published application
- Kind: A1
- Application number: 17/334,761
- Filed: 2021-05-30
- Published: 2021-11-04
- Earliest claimed: 2018-05-25
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Bruce J. SHERWIN, JR.
- Web page: https://patentgrep.com/patent/US20210342171A1

## CPC

- G06F 9/45545: {Guest-host, i.e. hypervisor is an application program itself, e.g. VirtualBox}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 2009/45579: {I/O management, e.g. providing access to device drivers or storage}
- G06F 2009/45587: {Isolation or security of virtual machine instances}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The disclosed technology is generally directed to virtualization technology. The disclosed technology includes providing processor feature ID information requested by, or from, a virtual machine (VM), virtualized application, Virtualization Based Security (VBS) user mode process, VBS kernel mode process, or other guest partition, by a processor. Such information may be provided based on information provided a priori to the processor, for example, by a supervisory partition, such as a hypervisor. The disclosed technology also includes a supervisory partition, for example, that provides such information to the processor, and includes guest partitions that receive such information.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A method for supporting virtualization, comprising:
prior to receiving, by a physical processor, a request originated from a guest partition for a processor feature ID:
receiving, by the physical processor, processor feature ID information for the processor feature ID from a supervisory partition;
receiving, by the physical processor, the request originated from the guest partition for the processor feature ID; and
in response to the request, providing, by the physical processor without intervention of the supervisory partition, the requested processor feature ID to the guest partition based on the processor feature ID information for the processor feature ID that was previously received by the physical processor.

### Claim 22 (depends on 21)

The method of claim 21, wherein the processor feature ID information for the processor feature ID is received from the supervisory partition in conjunction with a setup operation for at least one of the guest partition, guest virtual processor, or guest virtual processor virtual trust level.

### Claim 23 (depends on 22)

The method of claim 22, wherein the setup operation of the at least one of the guest partition, guest virtual processor, or guest virtual processor virtual trust level includes at least one of a generation, instantiation, or startup of the at least one of the guest partition, guest virtual processor, or guest virtual processor virtual trust level.

### Claim 24 (depends on 21)

The method of claim 21, wherein the processor feature ID represents support of a first feature that is not natively supported by the physical processor, or a lack of support of a second feature that is natively supported by the physical processor.

### Claim 25 (depends on 21)

The method of claim 21, wherein the processor feature ID differs from a value assigned by a manufacturer of the physical processor.

### Claim 26 (depends on 21)

The method of claim 21, wherein the processor feature ID is specified for a Virtual Machine Control Structure (VMCS) or Virtual Machine Control Block (VMCB), and wherein a different processor feature ID is specified for a different VMCS or VMCB.

### Claim 27 (depends on 21)

The method of claim 21, wherein the processor feature ID is specified for a virtual processor or virtual processor's virtual trust level context, and wherein a different processor feature ID is specified for a different virtual processor or virtual processor's virtual trust level context.

### Claim 28

A computing device, comprising:
a memory and a processor that are respectively configured to store and execute instructions, including instructions for causing the computing device to perform operations, the operations comprising:
prior to a request from software executing in a guest partition for processor feature ID information, determining by a supervisory partition, the processor feature ID information that is to be returned by the processor in response to the request from the software executing in the guest partition for the processor feature ID information; and
providing, by the supervisory partition, the determined processor feature ID information to the processor for later use by the processor in responding to requests from the software for the processor feature ID information without intervention of the supervisory partition.

### Claim 29 (depends on 28)

The computing device of claim 28, wherein the processor feature ID is provided to the processor in conjunction with a setup operation for at least one of the guest partition or the software executing in the guest partition, and wherein the setup operation includes at least one of a generation, instantiation, or startup of the guest partition or the software executing in the guest partition.

### Claim 30 (depends on 28)

The computing device of claim 28, wherein the provided processor feature ID information includes a processor feature ID value.

### Claim 31 (depends on 28)

The computing device of claim 28, wherein the operations further comprise:
receiving, by the processor, the request from the software for the processor feature ID information; and
in response the request, providing, by the processor, the requested processor feature ID information based on the processor feature ID information provided by the supervisory partition.

### Claim 32 (depends on 28)

The computing device of claim 28, wherein the processor feature ID information includes a CPU ID value.

### Claim 33 (depends on 28)

The computing device of claim 28, wherein the processor feature ID information includes an indication of support for at least one feature that is not natively supported by the processor or an indication of a lack of support of at least one other feature that is natively supported by the processor.

### Claim 34

A method for operating a virtual machine on a computing device, comprising:
determining, by the virtual machine executing on the computing device, that a processor feature ID is to be obtained for use by the virtual machine;
sending, by the virtual machine, a request for the processor feature ID to a processor of the computing device; and
in response to the request, receiving the requested processor feature ID from the processor, wherein the received processor feature ID was provided by the processor, without intervention of a supervisory partition, based on processor feature ID information that was previously received by the processor from the supervisory partition.

### Claim 35 (depends on 34)

The method of claim 34, wherein the requested processor feature ID is received from the processor without a virtual machine exit.

### Claim 36 (depends on 34)

The method of claim 34, wherein the processor feature ID represents support of a first processor feature that is not natively supported by the processor represents a lack of support of a second processor feature that is natively supported by the processor.

### Claim 37 (depends on 34)

The method of claim 34, wherein the processor feature ID is specific to at least one of the virtual machine, virtual processor, or virtual processor's trust level, and wherein a different processor feature ID is specific to another virtual machine, virtual processor, or virtual processor's trust level on the computing device.

### Claim 38 (depends on 34)

The method of claim 34, wherein the processor feature ID differs from a value assigned by a manufacturer of the processor.

### Claim 39 (depends on 34)

The method of claim 34, wherein the processor feature ID includes a CPU ID value.

### Claim 40 (depends on 34)

The method of claim 34, wherein the processor feature ID was received in conjunction with a setup operation for at least one of the virtual machine, virtual processor, or virtual processor's trust level, and wherein the setup operation for the at least one of the virtual machine, virtual processor, or virtual processor's trust level includes at least one of a generation, instantiation, or startup of the virtual machine, virtual processor, or virtual processor's trust level.
