主权项 |
1. A method for virtual machine migration, the method employing a first controller that controls a first virtualization platform, the first virtualization platform executing on a first host, the method further employing a second controller controlling a second virtualization platform, the second virtualization platform executing on a second host, the method comprising:
creating a planned virtual machine based on a first virtual machine, wherein the first virtualization platform enables a user to interact with the first virtual machine executing on the first host, wherein the first virtualization platform enables the user to interact with the planned virtual machine before the planned virtual machine has been realized into an executing second virtual machine, and wherein the planned virtual machine is managed as a virtual machine object; performing a configuration operation on the planned virtual machine, the configuration operation responsive to and corresponding to a user interaction with the first virtualization platform managing the planned virtual machine, the configuration operation comprising verifying the planned virtual machine by comparing the planned virtual machine with resource information describing resources available on the second host and prompting for user input when the comparing indicates a resource deficiency on the second host; and converting the planned virtual machine to the second virtual machine, wherein the configuration operation is performed prior to completion of the converting, wherein the converting creates the second virtual machine based on the configuration operation such that when the second virtual machine is executed by the second virtualization platform the second virtual machine is configured according to the configuration operation, and, while converting the planned virtual machine, allocating a resource to the second virtual machine according to the planned virtual machine. |