Converting images in virtual environments
First Claim
1. A method for converting a first virtual image for a virtual machine formatted for a first virtual environment, the method comprising:
- creating a second virtual image, wherein the second virtual image is non-specific to any virtual environment;
determining whether a portion of files in a set of files to be copied from the first virtual image to the second virtual image should be replaced using a compatibility matrix to produce a determination, wherein the compatibility matrix comprises a set of source and target hypervisor-specific entries and that identifies changes between the first virtual environment and a second virtual environment;
responsive to a the determination that the portion of the files in the set of files should be replaced, taking an action that is one of;
copying to the second virtual image a replacement for the portion of the files to the second image using the compatibility matrix when it is determined that the portion of files in the set of files to be copied should be replaced; and
responsive to an absence of a determination the each file in the set of files should be replaced, copying theto the second virtual image each file to the second imagein the set of files to be copied that is not in the portion when it is determined that the portion of files in the set of files to be copied should not be replaced;
wherein at least one of the determining and copying steps is carried out in software executing in a hardware element.
0 Assignments
0 Petitions
Accused Products
Abstract
The different illustrative embodiments provide a method, computer program product, and apparatus for converting a first image for a virtual machine formatted for a first virtual environment. A second image is created, wherein the second image is non-specific to any virtual environment. A determination is made whether a portion of files to be copied from the first virtual image to the second virtual image should be replaced using a compatibility matrix, wherein the compatibility matrix identifies changes between the first virtual environment and a second virtual environment. A replacement for the portion of the files is copied to the second image using the compatibility matrix responsive to a determination that the portion of the files in the set of files should be replaced. The file is copied to the second image responsive to an absence of a determination that the each file in the set of files should be replaced.
-
Citations
23 Claims
-
1. A method for converting a first virtual image for a virtual machine formatted for a first virtual environment, the method comprising:
-
creating a second virtual image, wherein the second virtual image is non-specific to any virtual environment; determining whether a portion of files in a set of files to be copied from the first virtual image to the second virtual image should be replaced using a compatibility matrix to produce a determination, wherein the compatibility matrix comprises a set of source and target hypervisor-specific entries and that identifies changes between the first virtual environment and a second virtual environment; responsive to a the determination that the portion of the files in the set of files should be replaced, taking an action that is one of; copying to the second virtual image a replacement for the portion of the files to the second image using the compatibility matrix when it is determined that the portion of files in the set of files to be copied should be replaced; and responsive to an absence of a determination the each file in the set of files should be replaced, copying theto the second virtual image each file to the second imagein the set of files to be copied that is not in the portion when it is determined that the portion of files in the set of files to be copied should not be replaced; wherein at least one of the determining and copying steps is carried out in software executing in a hardware element. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 21)
-
-
10. A computer program product comprising:
-
a computer readable storage medium; computer readable program code, stored on the computer readable storage medium, for creating a second virtual image, wherein the second virtual image is non-specific to any virtual environment; computer readable program code, stored on the computer readable storage medium, for determining whether a portion of files in a set of files to be copied from the a first virtual image to the second virtual image should be replaced using a compatibility matrix to produce a determination, wherein the compatibility matrix comprises a set of source and target hypervisor-specific entries and that identifies changes between the a first virtual environment and a second virtual environment; computer readable program code, stored on the computer readable storage medium, responsive to the determination to take an action that is one of; for copying to the second virtual image a replacement for the portion of the files to the second image using the compatibility matrix responsive to a determination that the portion of the files in the set of files should be replaced when it is determined that the portion of files in the set of files to be copied should be replaced; and computer readable program code, stored on the computer readable storage medium, for copying the to the second virtual image each file to the second image responsive to an absence of a determination the each file in the set of files should be replaced in the set of files to be copied that is not in the portion when it is determined that the portion of files in the set of files to be copied should not be replaced. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 22)
-
-
18. An apparatus comprising:
-
a bus system; a storage device connected to the bus system, wherein the storage device includes program code; and a processor unit connected to the bus system, wherein the processing unit executes the program code to create a second virtual image, wherein the second virtual image is non-specific to any virtual environment, determine whether a portion of files in a set of files to be copied from the a first virtual image to the second virtual image should be replaced using a compatibility matrix to produce a determination, wherein the compatibility matrix comprises a set of source and target hypervisor-specific entries and that identifies changes between the a first virtual environment and a second virtual environment, based on the determination, take an action that is one of;
copy to the second virtual image a replacement for the portion of the files to the second image using the compatibility matrix responsive to a determination that the portion of the files in the set of files should be replaced when it is determined that the portion of files in the set of files to be copied should be replaced, and copy the to the second virtual image each file to the second image responsive to an absence of a determination the each file in the set of files should be replaced in the set of files to be copied that is not in the portion when it is determined that the portion of files in the set of files to be copied should not be replaced. - View Dependent Claims (19, 20, 23)
-
Specification