Virtual Machine Migration via Instruction Fault Trapping
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing virtual machine migration systems are overly constrained by requiring compatibility between physical machines' processors, which can lead to unnecessary limitations in migration flexibility and potential illegal instruction faults when virtual machines are moved to machines with incompatible processors.
Innovation Solution
The system includes a virtual machine monitor (VMM) with control logic that traps instruction faults, determines if the offending instruction is supported by other processors in the system, and migrates the virtual machine to a compatible machine, while creating constraints to prevent future migrations to incompatible machines, thereby ensuring execution without faults.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If migration constraints require processor compatibility between physical machines, then reliability is improved, but adaptability deteriorates
Solution Approach 1:
The migration constraint is made dynamic rather than static. Instead of pre-defining processor compatibility requirements, the system evaluates compatibility at migration time by checking whether the source processor supports the instruction set of the destination processor. This allows the constraint to adapt to actual instruction compatibility rather than requiring strict processor architecture matching, thereby improving migration flexibility while maintaining execution reliability.
Solution Approach 2:
The compatibility checking criterion is changed from processor architecture compatibility to instruction set compatibility. By shifting the parameter being checked from processor type to specific instruction support, the system allows migrations between different processor architectures as long as the destination processor can execute the source processor's instructions, thus resolving the contradiction between reliability and adaptability.
2Object-affected harmful factors
If processor compatibility constraints are enforced, then illegal instruction faults are prevented, but migration flexibility is reduced
Solution Approach 1:
The harmful aspect of processor compatibility constraints is extracted and replaced with a more precise instruction-level compatibility check. Instead of enforcing broad processor architecture compatibility that limits migration, the system only checks whether specific instructions can be executed on the destination processor, removing unnecessary constraints while preventing illegal instruction faults.
Solution Approach 2:
The system performs preliminary compatibility checking by examining whether the source processor supports the destination processor's instruction set before allowing migration. This preliminary action ensures that illegal instruction faults are prevented while enabling migrations that would be blocked by stricter processor compatibility rules, thus maintaining both reliability and flexibility.
Data Source
AI summary
A virtual machine is migrated from a first physical machine to a second physical machine in response to a failure of an instruction to execute. A migration constraint also is created which limits future migration of the virtual machine by a placement controller to only those physical machines that can execute the failed instruction.


