VM Migration via Hot-Plug Events for Direct I/O

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Virtual machines with direct I/O control of hardware resources face challenges in efficient live migration between physical machines due to performance overhead and error issues.

Innovation Solution

The use of hot-plug events enables the migration of virtual machines with direct I/O control by simulating hardware resource changes, allowing for seamless transfer between physical machines while maintaining operational efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If virtual machines have direct I/O control of hardware resources, then performance is improved, but live migration capability deteriorates

Engineering Contradiction:
ImproveperformanceVSAvoidlive migration capability
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The system performs preliminary actions by generating hot-plug events before and during migration. A hot-remove event is generated before migration to release hardware resource bindings, and a hot-add event is generated during migration to re-bind resources to the target physical machine. This preliminary preparation enables seamless migration while maintaining direct I/O control performance.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

Hot-plug events serve as an intermediary mechanism between the virtual machine migration process and the hardware resource management system. These events mediate the transition of direct I/O control from the source to the target physical machine, allowing migration to occur without losing the performance benefits of direct hardware access.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If virtual machines use virtualized I/O to access hardware resources, then live migration capability is improved, but performance deteriorates

Engineering Contradiction:
Improvelive migration capabilityVSAvoidperformance
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The system dynamically switches between different I/O access modes during migration. Virtual machines can operate with direct I/O control during normal operation for maximum performance, then transition to a migration-friendly state through hot-plug events, and finally restore direct I/O control after migration completes. This dynamic approach allows both high performance and migration capability.

Inventive Principle:
Principle #15Dynamics

3Productivity

If hot-plug events are used during migration, then migration efficiency is improved, but system complexity increases

Engineering Contradiction:
Improvemigration efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The hot-plug event mechanism leverages existing operating system capabilities and hardware event handling infrastructure. Rather than creating a completely new migration system, the patent uses self-service approaches by relying on the OS's native hot-plug event processing, device driver responses, and resource management mechanisms already present in the system.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS8910152B1Migrating a virtual machine by using a hot-plug event
Publication Date: 2014.12.09 NETFLIX INC
  • US8910152B1 patent drawing
  • US8910152B1 patent drawing
  • US8910152B1 patent drawing

AI summary

To migrate a virtual machine from a first physical machine to a second physical machine, a hot-plug event notification is issued to an operating system of the virtual machine in response to an indication that the virtual machine is to be migrated. After issuing the hot-plug event notification, migration of the virtual machine to the second physical machine is performed.