Confidential VM Live Migration via Trusted NIC Offload

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Live migration of virtual machines in confidential computing environments is hindered by multiple encryption operations, leading to delays and increased costs due to untrusted hypervisors, which require additional encryption and decryption steps, increasing the likelihood of incomplete migration and resource consumption.

Innovation Solution

Establish a secure communication channel between a secure hypervisor and a trusted network interface controller (NIC) to bypass intermediate encryption steps, allowing the NIC to access plaintext descriptors and perform cryptographic operations, thereby reducing encryption/decryption processes and enabling zero-copy data transfer.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If multiple encryption operations are performed to protect confidential information during live migration, then security is improved, but migration speed deteriorates

Engineering Contradiction:
ImprovesecurityVSAvoidmigration speed
Core Design Contradiction:
ReliabilityVSSpeed

Solution Approach 1:

The system segments the hypervisor functionality into untrusted components (for management) and trusted components (for cryptographic operations). The trusted hypervisor component performs encryption/decryption operations locally without requiring data to pass through multiple encryption layers, thereby maintaining security while reducing migration speed penalties.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

A trusted hypervisor component acts as an intermediary between the confidential VM and the untrusted hypervisor. This intermediary performs necessary cryptographic operations and validates security requirements, allowing the untrusted hypervisor to manage migration without directly handling plaintext confidential data, thus balancing security and performance.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If multiple encryption and decryption steps are performed, then data protection is improved, but resource consumption increases

Engineering Contradiction:
Improvedata protectionVSAvoidresource consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The system extracts the cryptographic operation workload from the general-purpose CPU and moves it to dedicated hardware security modules or specialized trusted execution environments within the hypervisor. This extraction reduces CPU resource consumption and energy usage while maintaining strong data protection through hardware-accelerated encryption/decryption operations.

Inventive Principle:
Principle #2Taking out (Extraction)

3Reliability

If software abstractions are used to protect confidential information, then security is improved, but migration delays increase

Engineering Contradiction:
ImprovesecurityVSAvoidmigration delays
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system replaces software-based cryptographic abstractions with hardware-enforced security mechanisms and direct memory access (DMA) operations. By substituting software processing with hardware-accelerated operations and eliminating unnecessary data copying through zero-copy techniques, the system maintains security protections while significantly reducing migration delays.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS20250343784A1Live migration for confidential compute environments
Publication Date: 2025.11.06 MELLANOX TECHNOLOGIES LTD(IL)
  • US20250343784A1 patent drawing
  • US20250343784A1 patent drawing
  • US20250343784A1 patent drawing

AI summary

Systems and methods are directed toward migration operations, such as live migration operations, associated with confidential computing environments. Responsive to a request to migrate data, a secure hypervisor may establish a secure communication channel to a network interface controller to pass one or more keys for accessing securely stored data. The secure hypervisor may generate a descriptor associated with a memory location of the data and then pass the descriptor to the network interface controller. As a result, encryption/decryption operations may be offloaded to the network interface controller, which may use the descriptor and key to migrate the data from a source location to a destination location.