Virtual Machine Device ID Consistency During Cloning

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Cloned virtual machines often become inoperable due to changes in virtual hardware configurations, requiring manual reconfiguration to align with guest software expectations, as the new virtual hardware is recognized as a new device by the guest operating system.

Innovation Solution

The implementation of a VM action monitor and virtual device monitor that detect changes during the cloning process, automatically reconfigure virtual hardware components, such as network drivers, to ensure consistency and functionality without manual intervention by maintaining stored configurations and device identifiers.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If virtual hardware configuration is modified during cloning to give the clone its own identity, then the clone can reside on the network with the original VM, but the guest operating system recognizes the new virtual hardware as a new device and generates a new handle, rendering it inaccessible to other guest software

Engineering Contradiction:
Improvenetwork coexistenceVSAvoidsoftware compatibility
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent applies preliminary action by detecting the cloning operation before the guest OS fully initializes the new virtual hardware, and proactively preserving the original device handle through the cloning process. The handle preservation mechanism is established in advance to prevent the OS from generating a new handle that would break software compatibility.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary mechanism (the handle preservation layer between the virtual hardware and guest software) that mediates between the need for unique virtual hardware identification and the need for software compatibility. This intermediary ensures that while the virtual hardware has unique identity (MAC address), the software interface (handle) remains consistent.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If manual configuration is performed to align virtual hardware with guest software expectations, then the cloned VM becomes operable, but the process requires manual intervention and time

Engineering Contradiction:
Improveoperational functionalityVSAvoidconfiguration time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent implements self-service by enabling the cloning system to automatically preserve device handles and maintain software compatibility without requiring manual configuration. The handle preservation mechanism operates autonomously during the cloning process, making the cloned VM immediately operable upon creation.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent applies preliminary action by pre-establishing the handle preservation mechanism before the cloning operation completes, ensuring that the cloned VM is operational immediately without requiring post-cloning manual configuration time.

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If the guest operating system generates a new handle for the new virtual hardware configuration, then the hardware has unique identification, but the new handle is inaccessible to other guest software configured to work with the original device

Engineering Contradiction:
Improvedevice identificationVSAvoidsoftware accessibility
Core Design Contradiction:
Adaptability or versatilityVSEase of operation

Solution Approach 1:

The patent introduces an intermediary handle preservation mechanism that sits between the virtual hardware identification system and the guest software interface. This intermediary allows the virtual hardware to have unique identification (through MAC address) while maintaining the original device handle for software accessibility, effectively decoupling hardware identity from software interface.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent applies preliminary action by establishing the handle preservation mechanism before the guest OS generates a new handle, preventing the creation of an incompatible new handle in the first place. This proactive approach ensures software accessibility is maintained from the outset.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS9547514B2Maintaining virtual hardware device ID in a virtual machine
Publication Date: 2017.01.17 VMWARE INC
  • US9547514B2 patent drawing
  • US9547514B2 patent drawing
  • US9547514B2 patent drawing

AI summary

An example method to maintain services in a cloned virtual machine (VM) includes detecting a cloning operation of a virtual machine, the cloning operation causing the cloned virtual machine to be generated from a source virtual machine having a first virtual network interface card (VNIC) with a first machine access control (MAC) address, the cloned virtual machine having a second VNIC with a second MAC address unique from the first MAC address, and causing a device identifier associated with the second VNIC of the cloned virtual machine to be changed to match a device identifier associated with the first VNIC of the source virtual machine, the device identifier of the cloned virtual machine being generated by a guest operating system running in the cloned virtual machine upon detection of the presence of the second VNIC with the second MAC address.