IP Library Granted Patent US 8,869,139
Granted Patent B2
US 8,869,139 · App. 13/530,780 · Granted Oct 21, 2014

System and method for converting a physical disk to a virtual disk

Inventors: Bich C. Le (San Jose, CA); Dilip Khandekar (Pune, IN); Sirishkumar Raghuram (San Jose, CA)
Assignee: Vmware, Inc.
G06F17/30067G06F2009/45562G06F9/45558
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,869,139
App. No.
13/530,780
Granted
Oct 21, 2014
Kind
B2
Abstract

A method for converting a disk of a physical computer into a virtual disk for use by a virtual machine is described. Contents of the disk of the physical computer are copied into an image file, wherein the image file has a different sector-by-sector organization of the contents than the disk but a logically equivalent file system organization. Hardware configuration information from the image file is then extracted, wherein the hardware configuration information relates to hardware of the physical computer and, based on a comparison of the extracted hardware configuration information and a virtual hardware configuration of the virtual machine, hardware-dependent files in the image file are replaced with substitute files that are compatible with the virtual hardware configuration of the virtual machine.

Claims (29)

1. A method for converting a disk of a physical computer into a virtual disk for use by a virtual machine comprising:

copying contents of the disk of the physical computer into an image file, wherein the image file has a different sector-by-sector organization of the contents than the disk of the physical computer but has a logically equivalent file system organization of the disk of the physical computer;

extracting hardware configuration information from the image file, wherein the hardware configuration information relates to hardware of the physical computer; and

replacing, based on a comparison of the extracted hardware configuration information and a virtual hardware configuration of the virtual machine, hardware-dependent file in the image file with substitute files that are compatible with the virtual hardware configuration of the virtual machine.

2. The method of claim 1 , further comprising modifying a configuration file corresponding to the virtual machine to be compatible with at least a portion of the hardware configuration information of the physical computer, wherein the configuration file defines a virtual hardware profile of the virtual machine and is separate from the image file.

3. The method of claim 2 , wherein modifying the configuration file includes reconfiguring network bindings of the virtual machine to be consistent with network bindings of the physical computer.

4. The method of claim 1 , wherein the extracted hardware configuration information includes an indication of a patch-level of an operating system stored in the disk of the physical computer.

5. The method of claim 1 , wherein the substitute files are stored in a copy-on-write file that is combined with the image file to represent the virtual disk.

6. The method of claim 1 , wherein the method is performed without utilizing a running virtual machine to mount the image file in order to replace the hardware dependent files.

7. The method of claim 1 , wherein the extracting step is performed without requiring an application running on the physical computer to query the physical computer.

8. A non-transitory computer-readable storage medium storing instructions that, when executed on a computer processor, causes the computer processor to convert a disk of a physical computer into a virtual disk for use by a virtual machine by performing the steps of:

copying contents of the disk of the physical computer into an image file, wherein the image file has a different sector-by-sector organization of the contents than the disk of the physical computer but a logically equivalent file system organization of the disk of the physical computer;

extracting hardware configuration information from the image file, wherein the hardware configuration information relates to hardware of the physical computer; and

replacing, based on a comparison of the extracted hardware configuration information and a virtual hardware configuration of the virtual machine, hardware-dependent files in the image file with substitute files that are compatible with the virtual hardware configuration of the virtual machine.

9. The non-transitory computer-readable storage medium of claim 8 , further storing instructions that, when executed on the computer processor, causes the computer processor to perform the step of modifying a configuration file corresponding to the virtual machine to be compatible with at least a portion of the hardware configuration information of the physical computer, wherein the configuration file defines a virtual hardware profile of the virtual machine and is separate from the image file.

10. The non-transitory computer-readable storage medium of claim 9 , wherein modifying the configuration file includes reconfiguring network bindings of the virtual machine to be consistent with network bindings of the physical computer.

11. The non-transitory computer-readable storage medium of claim 8 , wherein the extracted hardware configuration information an indication of a patch-level of an operating system stored in the disk of the physical computer.

12. The non-transitory computer-readable storage medium of claim 8 , wherein the substitute files are stored in a copy-on-write file that is combined with the image file to represent the virtual disk.

13. The non-transitory computer-readable storage medium of claim 8 , wherein the steps are performed without utilizing a running virtual machine to mount the image file in order to replace the hardware-dependent files.

14. The non-transitory computer-readable storage medium of claim 8 , wherein the extracting step is performed without requiring an application running on the physical computer to query the physical computer.

15. A computer system for converting a disk of a physical computer into a virtual disk for use by a virtual machine, wherein the system comprises a processor configured to perform the steps of:

copying contents of the disk of the physical computer into an image file, wherein the image file has a different sector-by-sector organization of the contents than the disk of the physical computer but a logically equivalent file system organization of the disk of the physical computer;

extracting hardware configuration information from the image file, wherein the hardware configuration information relates to hardware of the physical computer; and

replacing, based on a comparison of the extracted hardware configuration information and a virtual hardware configuration of the virtual machine, hardware-dependent files in the image file with substitute files that are compatible with the virtual hardware configuration of the virtual machine.

16. The computer system of claim 15 , wherein the process is further configured to perform the step of modifying a configuration file corresponding to the virtual machine to be compatible with at least a portion of the hardware configuration information of the physical computer, wherein the configuration file defines a virtual hardware profile of the virtual machine and is separate from the image file.

17. The computer system of claim 16 , wherein modifying the configuration file includes reconfiguring network bindings of the virtual machine to be consistent with network bindings of the physical computer.

18. The computer system of claim 15 , wherein the extracted hardware configuration information an indication of a patch-level of an operating system stored in the disk of the physical computer.

19. The computer system of claim 15 , wherein the substitute files are stored in a copy-on-write file that is combined with the image file to represent the virtual disk.

20. The computer system of claim 15 , wherein the processor performs the steps without utilizing a running virtual machine to mount the image file in order to replace the hardware dependent files.

Continuity (3)
Continuation 10611815 · Jun 30, 2003
Provisional Application 60462445 · Apr 11, 2003
Related Publication 20120265959A1 · Oct 18, 2012