Bug 739847

Summary: Win7 x64 guest is described as Windows 2008 R2 after imported to RHEVM
Product: Red Hat Enterprise Linux 6 Reporter: yuping zhang <yupzhang>
Component: virt-v2vAssignee: Matthew Booth <mbooth>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 6.2CC: rwu, tzheng, whuang
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-20 08:39:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Screenshot none

Description yuping zhang 2011-09-20 08:21:12 UTC
Created attachment 523974 [details]
Screenshot

Description of problem:
Convert win7-64b guest to rhev with virt-v2v,and import it, the Operating System displayed "Windows 2008 R2" in RHEVM
The ovf file :
...
 <Content ovf:id="out" xsi:type="ovf:VirtualSystem_Type">
        <Name>esx4.1-win7-x86_64</Name>
        <TemplateId>00000000-0000-0000-0000-000000000000</TemplateId>
        <TemplateName>Blank</TemplateName>
        <Description>Imported with virt-v2v</Description>
        <Domain/>
...
 <Section ovf:id="9fd2f2b0-132d-486a-86e8-764b0d34720e" ovf:required="false" xsi:type="ovf:OperatingSystemSection_Type">
          <Info>Guest Operating System</Info>
          <Description>Windows2008R2x64</Description>
        </Section>
....


Version-Release number of selected component (if applicable):
virt-v2v-0.8.3-5.el6.x86_64
libvirt-0.9.4-11.el6.x86_64
libguestfs-1.7.17-26.el6.x86_64

How reproducible:
always

Steps to Reproduce:

Actual results:

Expected results:
It should be described as Win 7 x64

Additional info:
1.Win 7 32b is described as Windows 7.
2.The RHEVM can support win7 64b guest:
...
 Windows7(11, OsType.Windows, false),
 Windows7x64(12, OsType.Windows, true),
...

Comment 2 Matthew Booth 2011-09-20 08:39:38 UTC
This is a known limitation of libguestfs inspection in RHEL 6. It shouldn't have any major detrimental effects.

FWIW, we don't really detect 32 bit Windows 7 either. However, as 32 bit Win2k8r2 doesn't exist, we assume it's Windows 7 if it's 32 bit.