# US 2026/0099586 A1 · Virtual machine host fast-switch between standard and confidential vm hosting modes

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

- Number: US 2026/0099586 A1
- Document ID: US20260099586A1
- Status: Published application
- Kind: A1
- Application number: 18/906,508
- Filed: 2024-10-04
- Published: 2026-04-09
- Earliest claimed: 2024-10-04
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Alexander Daniel GREST; Benjamin Christopher PYE; Michael MCREYNOLDS; Jonathan Edward LANGE; Kevin XU; Naga Kiran GOVINDARAJU; Olivia Doan Anh THAI; Pushkar Vijay Chitnis; Venkat Rao MANDAVA; Bruce J. SHERWIN, JR.; Matthew Cushman BODDEWYN
- Web page: https://patentgrep.com/patent/US20260099586A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 21/54: by adding security routines or objects to programs
- G06F 12/1408: {by using cryptography (for digital transmission H04L9/00)}
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 21/572: {Secure firmware programming, e.g. of basic input output system [BIOS]}
- G06F 2009/45575: {Starting, stopping, suspending or resuming virtual machine instances}
- G06F 2009/45587: {Isolation or security of virtual machine instances}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A fast-switch mode is disclosed for switching a virtual machine (VM) host computer system between standard and confidential VM hosting modes. During initialization of a hypervisor during cold-boot of a VM host, the host enables the fast-switch mode, including allocating a contiguous memory portion to an address translation lookup table. The VM host initially operates in the standard VM hosting mode without a secure virtualization feature enabled. The VM host later switches to the confidential VM hosting mode by activating the secure virtualization feature and utilizing the address translation lookup table. Alternatively, The VM host initially operates in the confidential VM hosting mode without the secure virtualization feature enabled, and later switches to the standard VM hosting mode by deactivating the secure virtualization feature. In one example, the address translation lookup table is a reverse map table (RMP), and the secure virtualization feature is secure encrypted virtualization-secure nested paging (SEV-SNP).

## Claims

### Claim 1

A method implemented in a virtual machine (VM) host computer system (VM host) that includes a processor system and a memory, comprising:
determining, during initialization of a hypervisor during cold-boot of the VM host, the VM host is to operate in a fast-switch mode for switching between a first VM hosting mode and a second VM hosting mode;
enabling the fast-switch mode at the VM host, including allocating a contiguous portion of the memory to an address translation lookup table;
proceeding to operate in the first VM hosting mode after enabling the fast-switch mode, including hosting a first VM with a secure virtualization feature disabled in the processor system;
determining the VM host is to be switched to the second VM hosting mode; and
switching to the second VM hosting mode, including enabling the secure virtualization feature in the processor system, wherein the secure virtualization feature utilizes the address translation lookup table within the contiguous portion of the memory.

### Claim 2 (depends on 1)

The method of claim 1, when operating in the first VM hosting mode also includes:
creating a root partition at the VM host; and
booting a host operating system (OS) within the root partition.

### Claim 3 (depends on 2)

The method of claim 2, wherein switching to the second VM hosting mode includes:
tearing down the root partition before enabling the secure virtualization feature in the processor system; and
re-creating the root partition after enabling the secure virtualization feature in the processor system.

### Claim 4 (depends on 2)

The method of claim 2, wherein switching to the second VM hosting mode includes:
setting a configuration value at the VM host; and
restarting the hypervisor at the VM host, wherein, based on the configuration value, the hypervisor enables the secure virtualization feature in the processor system.

### Claim 5 (depends on 1)

The method of claim 1, wherein switching to the second VM hosting mode includes tearing down the first VM before enabling the secure virtualization feature in the processor system.

### Claim 6 (depends on 1)

The method of claim 1, wherein enabling the secure virtualization feature in the processor system comprises the hypervisor making a call into a firmware in the processor system.

### Claim 7 (depends on 1)

The method of claim 1, wherein the method further comprises operating a second VM after switching to the second VM hosting mode.

### Claim 8 (depends on 1)

The method of claim 1, wherein determining the VM host is to operate in the fast-switch mode includes reading a first configuration value stored on a storage medium in the VM host and determining the VM host is to be switched to the second VM hosting mode includes reading a second configuration value stored on the storage medium in the VM host.

### Claim 9 (depends on 1)

The method of claim 1, wherein enabling the fast-switch mode at the VM host also includes:
discovering a security coprocessor to support the secure virtualization feature; and
loading a firmware into the security coprocessor.

### Claim 10 (depends on 9)

The method of claim 9, wherein switching to the second VM hosting mode also includes updating the firmware in the security coprocessor.

### Claim 11 (depends on 1)

The method of claim 1, wherein enabling the fast-switch mode at the VM host also includes:
discovering a security management operating mode of a central processing unit, and
loading security firmware for execution in the security management operating mode.

### Claim 12 (depends on 11)

The method of claim 11, wherein switching to the second VM hosting mode also includes updating the security firmware to be executed in that security management operating mode.

### Claim 13 (depends on 1)

The method of claim 1, wherein the address translation lookup table is a reverse map table (RMP), and the secure virtualization feature is secure encrypted virtualization-secure nested paging (SEV-SNP).

### Claim 14 (depends on 1)

The method of claim 1, wherein the first VM hosting mode is a standard VM hosting mode and the second VM hosting mode is a confidential VM hosting mode.

### Claim 15

A method implemented in a virtual machine (VM) host computer system (VM host) that includes a processor system and a memory, comprising:
determining, during initialization of a hypervisor during cold-boot of the VM host and based on reading a first configuration value stored on a storage medium in the VM host, the VM host is to operate in a fast-switch mode for switching between a standard VM hosting mode and a confidential VM hosting mode;
enabling the fast-switch mode at the VM host, including allocating a contiguous portion of the memory to an address translation lookup table;
proceeding to operate in the confidential VM hosting mode after enabling the fast-switch mode, including hosting a confidential VM with a secure virtualization feature enabled in the processor system, wherein the secure virtualization feature utilizes the address translation lookup table within the contiguous portion of the memory;
determining, based on reading a second configuration value stored on the storage medium in the VM host, that the VM host is to be switched to the standard VM hosting mode; and
switching to the standard VM hosting mode, including disabling the secure virtualization feature in the processor system.

### Claim 16 (depends on 15)

The method of claim 15, when operating in the standard VM hosting mode also includes:
creating a root partition at the VM host; and
booting a host operating system (OS) within the root partition.

### Claim 17 (depends on 16)

The method of claim 16, wherein switching to the standard VM hosting mode includes:
the host OS calling the hypervisor; and
the hypervisor disabling the secure virtualization feature in the processor system based on the host OS calling the hypervisor.

### Claim 18 (depends on 15)

The method of claim 15, wherein switching to the standard VM hosting mode includes tearing down the confidential VM before disabling the secure virtualization feature in the processor system.

### Claim 19 (depends on 15)

The method of claim 15, wherein the address translation lookup table is a reverse map table (RMP), and the secure virtualization feature is secure encrypted virtualization-secure nested paging (SEV-SNP).

### Claim 20

A virtual machine (VM) host computer system (VM host), comprising:
a processor system;
a memory; and
a computer storage medium that stores computer-executable instructions that are executable by the processor system to at least:
determine, during initialization of a hypervisor during cold-boot of the VM host, that the VM host is to operate in a fast-switch mode for switching between a standard VM hosting mode and a confidential VM hosting mode;
enable the fast-switch mode at the VM host, including allocating a contiguous portion of the memory to a reverse map table (RMP);
proceed to operate in the standard VM hosting mode after enabling the fast-switch mode, including hosting a standard VM with a secure encrypted virtualization-secure nested paging (SEV-SNP) feature disabled in the processor system;
determine that the VM host is to be switched to the confidential VM hosting mode after operating in the standard VM hosting mode;
switch to the confidential VM hosting mode, including enabling the SEV-SNP feature in the processor system, wherein the SEV-SNP feature utilizes the RMP within the contiguous portion of the memory;
determine that the VM host is to be switched to the standard VM hosting mode after operating in the confidential VM hosting mode; and
switch to the standard VM hosting mode, including disabling the SEV-SNP feature in the processor system.
