Virtual Machine Migration Using Address Mapping Instead of Memory Copy

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional virtual machine live migration technologies face issues such as long migration durations, unreliable data transfer, and potential suspension or failure due to network interruptions, especially in server architectures where memory data is iteratively copied, leading to delays and instability.

Innovation Solution

A method involving the transfer of status information and address mapping from a source to a target device, allowing the target device to run a virtual machine that directly accesses physical addresses without transferring memory data, utilizing high-speed communication buses and address mapping techniques to accelerate and stabilize the migration process.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If memory data is iteratively copied during virtual machine migration, then the virtual machine can be migrated between devices, but the migration duration becomes long and the system becomes unstable due to network interruptions

Engineering Contradiction:
Improvemigration stabilityVSAvoidmigration time
Core Design Contradiction:
ReliabilityVSDuration of action of moving object

Solution Approach 1:

The patent extracts the essential migration requirements (status information and address mapping) from the complete memory data set. By transferring only the critical control information rather than the entire memory state, the system achieves rapid migration without the instability and time consumption associated with iterative memory copying.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent performs preliminary setup by establishing address mapping relationships between source and target devices before migration. The status information and address mapping are prepared in advance, allowing the virtual machine to be quickly activated at the target device without requiring real-time memory synchronization during the migration process.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If memory data is transferred during virtual machine migration, then the virtual machine state can be preserved, but the data transfer volume becomes large causing delays

Engineering Contradiction:
Improvevirtual machine state continuityVSAvoiddata transfer time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts only the essential state information (register data, configuration parameters, and address mapping) from the complete memory data. This selective extraction maintains virtual machine state continuity while reducing data transfer volume from gigabytes to kilobytes, eliminating the time delays associated with transferring large memory datasets.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Instead of copying the entire memory data set, the patent creates a lightweight copy of only the critical status information and address mapping structures. This selective copying approach preserves the necessary virtual machine state while minimizing the amount of data that needs to be transferred during migration.

Inventive Principle:
Principle #26Copying

3Productivity

If status information and address mapping are transferred without memory data, then migration speed increases, but the system complexity increases due to address mapping management

Engineering Contradiction:
Improvemigration speedVSAvoidaddress mapping complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent introduces an address mapping table as an intermediary structure that bridges the source and target device address spaces. This mapping table translates virtual addresses to physical addresses across devices, managing the complexity of cross-device addressing while enabling fast migration without requiring direct memory access or complex hardware modifications.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent replaces the mechanical approach of physically copying memory data with an information-based system using status registers and address mapping tables. This substitution eliminates the need for data-intensive memory operations and replaces them with lightweight information transfer and address translation, significantly improving migration speed while keeping complexity manageable through software-based address management.

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

Data Source

PatentUS20250362946A1Method and apparatus for migrating virtual machine, device, and storage medium
Publication Date: 2025.11.27 HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
  • US20250362946A1 patent drawing
  • US20250362946A1 patent drawing
  • US20250362946A1 patent drawing

AI summary

A method for migrating a virtual machine including: receiving, at a target device, status information of a source virtual machine from a source device. The method further includes: obtaining an address mapping corresponding to the source virtual machine. The address mapping includes a mapping between a virtual address of the source virtual machine and a physical address of the source virtual machine. The method further includes: implementing, based on the status information and the address mapping, virtual machine migration by running, at the target device, a target virtual machine that accesses the physical address.