Bug 612386 - [RFE]V2V should support to convert Win7
[RFE]V2V should support to convert Win7
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: virt-v2v (Show other bugs)
5.5
All Linux
medium Severity high
: rc
: ---
Assigned To: Matthew Booth
Virtualization Bugs
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-08 01:06 EDT by Rita Wu
Modified: 2013-07-02 21:40 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-07-08 04:55:51 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Rita Wu 2010-07-08 01:06:29 EDT
Description of problem:
Currently there is no package and file about Win7 specified in /etc/virt-v2v.conf and /var/lib/virt-v2v/software, so we cannot convert Win7 successfully. 

...
 <!-- Windows -->
  <app os='windows' major='5' minor='1' arch='i386' name='viostor'>
    <path>windows/xp/i386/viostor.sys</path>
  </app>
  <app os='windows' major='5' minor='2' arch='i386' name='viostor'>
    <path>windows/2003/i386/viostor.sys</path>
  </app>
  <app os='windows' major='5' minor='2' arch='x86_64' name='viostor'>
    <path>windows/2003/x86_64/viostor.sys</path>
  </app>
  <app os='windows' major='6' arch='i386' name='viostor'>
    <path>windows/2008/i386/viostor.sys</path>
  </app>
  <app os='windows' major='6' arch='x86_64' name='viostor'>
    <path>windows/2008/x86_64/viostor.sys</path>
  </app>
  <!-- RHSrvAny is compiled as a 32 bit app even on 64 bit Windows -->
  <app os='windows' name='rhsrvany'>
    <path>windows/rhsrvany.exe</path>
  </app>
...

# cat /var/lib/virt-v2v/software/windows/
2003/          firstboot.bat  rhsrvany.exe   
2008/          rhev-apt.exe   xp/
# cat /var/lib/virt-v2v/software/windows/2008/
i386/   x86_64/ 


Version-Release number of selected component (if applicable):
virt-v2v-0.6.1-1.el5


How reproducible:
always

Steps to Reproduce:

  
Actual results:


Expected results:


Additional info:
Comment 1 Richard W.M. Jones 2010-07-08 03:53:37 EDT
I think you may be confused about this.  "Windows 7"
has the internal release number 6.1 and is therefore
covered by the W2K8 drivers.

Did you try updating an actual Windows 7 machine?

Try running virt-inspector on the image to find out the
real Windows internal version.
Comment 3 Rita Wu 2010-07-08 04:55:51 EDT
Hi Richard,

Thanks for your info. the internal version of Win7 is 6.1(the same as Window2008r2).And I retest it, v2v can convert win7 successfully.

#virt-inspector --perl win7-32.raw
$VAR1 = '/dev/sda2';
$VAR2 = {
          'arch' => 'i386',
          'apps' => [],
          'os' => 'windows',
          'major_version' => '6',
          'root_device' => '/dev/sda2',
          'filesystems' => {
                             '/dev/sda2' => {
                                              'arch' => 'i386',
                                              'windows_registered_owner' => 'root-32',
                                              'content' => 'windows-root',
                                              'is_root' => 1,
                                              'windows_current_type' => 'Multiprocessor Free',
                                              'windows_system_hive' => '/Windows/System32/config/SYSTEM',
                                              'windows_installation_type' => 'Client',
                                              'os_minor_version' => '1',
                                              'fsos' => 'windows',
                                              'systemroot' => '/Windows',
                                              'windows_software_hive' => '/Windows/System32/config/SOFTWARE',
                                              'windows_software_type' => 'System',
                                              'windows_registered_organization' => '',
                                              'windows_current_build' => '7600',
                                              'windows_edition_id' => 'Ultimate',
                                              'is_mountable' => 1,
                                              'os_major_version' => '6',
                                              'product_name' => 'Windows 7 Ultimate',
                                              'boot_ini' => undef,
                                              'fstype' => 'ntfs'
                                            }
                           },
          'root' => $VAR2->{'filesystems'}{'/dev/sda2'},
          'minor_version' => '1',
          'mounts' => {
                        '/' => '/dev/sda2'
                      },
          'product_name' => 'Windows 7 Ultimate'
        };

Note You need to log in before you can comment on or make changes to this bug.