RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1309619 - Wrong warning info "use standard VGA" shows when converting windows > 7 by virt-v2v
Summary: Wrong warning info "use standard VGA" shows when converting windows > 7 by vi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libguestfs
Version: 7.3
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard: V2V
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-18 10:22 UTC by mxie@redhat.com
Modified: 2016-11-03 17:58 UTC (History)
6 users (show)

Fixed In Version: libguestfs-1.32.2-6.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-03 17:58:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot1 (122.99 KB, image/png)
2016-02-18 10:22 UTC, mxie@redhat.com
no flags Details
log_win8.1_x64_rhev (424.10 KB, text/plain)
2016-02-18 10:23 UTC, mxie@redhat.com
no flags Details
w2012_libvirt (417.05 KB, text/plain)
2016-02-18 10:24 UTC, mxie@redhat.com
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:2576 0 normal SHIPPED_LIVE Moderate: libguestfs and virt-p2v security, bug fix, and enhancement update 2016-11-03 12:06:51 UTC

Description mxie@redhat.com 2016-02-18 10:22:40 UTC
Created attachment 1128178 [details]
screenshot1

Description of problem:
Wrong warning info "use standard VGA" shows when converting windows > 7 by virt-v2v

Version-Release number of selected component (if applicable):
virt-v2v-1.32.2-3.el7.x86_64
libguestfs-1.32.2-3.el7.x86_64


How reproducible:
100%

Steps to Reproduce:
1.Guest could be Win8 x86/x64, Win8.1 x86, Win10 x86/64, win2012,win2012R2, take win8.1 x64 guest as example

2.Convert win8.1 x64 guest to RHEV, the conversion log shows guest will be configured to use standard VGA.
# virt-v2v -o rhev -os 10.73.69.63:/home/nfs_export -n ovirtmgmt -b ovirtmgmt esx5.1-win8.1-x86_64 -of raw
[   0.0] Opening the source -i libvirt esx5.1-win8.1-x86_64
[   0.0] Creating an overlay to protect the source from being modified
[   0.4] Initializing the target -o rhev -os 10.73.69.63:/home/nfs_export
[   0.6] Opening the overlay
[   5.1] Inspecting the overlay
[   6.6] Checking for sufficient free disk space in the guest
[   6.6] Estimating space required on target for each disk
[   6.6] Converting Windows 8.1 Enterprise to run on KVM
virt-v2v: warning: there is no QXL driver for this version of Windows (6.3 
x86_64).  virt-v2v looks for this driver in /usr/share/virtio-win

The guest will be configured to use standard VGA.
virt-v2v: This guest has virtio drivers installed.
[   8.2] Mapping filesystem data to avoid copying unused and blank areas
[   8.9] Closing the overlay
[   9.1] Checking if the guest needs BIOS or UEFI to boot
[   9.1] Assigning disks to buses
[   9.1] Copying disk 1/1 to /tmp/v2v.Rd1qbP/d5b21b75-57d6-4b1a-bd40-e949232067df/images/cc2b7d44-9839-40b9-9fcb-36f4101a866b/a2443c9a-e43f-4034-865d-f1d662d415ac (raw)
    (100.00/100%)
[ 221.5] Creating output metadata
[ 221.6] Finishing off

2.After conversion,import guest from export domain to data domain(need to change the guest name due to bug1308778)

3.Check guest's display driver in device manager, the video driver is basic display which is not VGA, pls refer to screenshot1

4.Check guest's driver in virtio-win package, it has no video driver
# ls /usr/share/virtio-win/drivers/amd64/Win8.1/
netkvm.cat  netkvm.sys   vioscsi.inf  viostor.cat  viostor.sys
netkvm.inf  vioscsi.cat  vioscsi.sys  viostor.inf

5.Check guest's original video driver is also basic display

Actual results:
As above description

Expected results:
According to step4 and step5, because virtio-win package don't contain video driver about windows > 7, guest will use original video driver after converted by virt-v2v, pls update info "The guest will be configured to use standard VGA." in conversion log

Addtional info:
1.The bug also exists when convert windows >7 to libvirt, details please refer to attachment log "win2012_libvirt"

Comment 1 mxie@redhat.com 2016-02-18 10:23:18 UTC
Created attachment 1128179 [details]
log_win8.1_x64_rhev

Comment 2 mxie@redhat.com 2016-02-18 10:24:32 UTC
Created attachment 1128180 [details]
w2012_libvirt

Comment 4 Richard W.M. Jones 2016-02-18 10:35:56 UTC
Pretty sure that "Microsoft Basic Display Adapter" *is* VGA.  It's
using the emulated Cirrus card in standard VGA mode (not QXL).
So this isn't a bug.

Comment 5 mxie@redhat.com 2016-02-19 08:26:43 UTC
(In reply to Richard W.M. Jones from comment #4)
> Pretty sure that "Microsoft Basic Display Adapter" *is* VGA.  It's
> using the emulated Cirrus card in standard VGA mode (not QXL).
> So this isn't a bug.

Hi rjones,

I research some info about "Microsoft Basic Display Adapter" on line, it said "
In Windows 8, The Microsoft Basic Display Driver (MSBDD) is the in-box display driver that replaces the XDDM VGA Save and VGA PnP drivers.", pls refer to link 
https://msdn.microsoft.com/en-us/library/windows/hardware/dn653353%28v=vs.85%29.aspx, is it that mean basic display driver is the updated version of VGA? I think if updating the conversion info to "The guest will be configured to use Basic Display Driver" is more clearly, thanks

Comment 6 Richard W.M. Jones 2016-02-19 08:54:30 UTC
I suppose we can change

  The guest will be configured to use standard VGA.

to

  The guest will use a basic VGA display driver.

Comment 7 Richard W.M. Jones 2016-02-19 09:00:40 UTC
For consistency with the other warnings, it now says:

  The guest will be configured to use a basic VGA display driver.

https://github.com/libguestfs/libguestfs/commit/2e87face9e0a1b2d9e426bb3a6dfbb07228be7d5

Comment 8 mxie@redhat.com 2016-03-30 07:32:15 UTC
Hi Richard,

When using virt-v2v-1.32.3-1.el7.x86_64 to convert guest win2003 and win2008, the virt-v2v warning about display has been changed as below which should be "The guest will be configured to use standard VGA." could you help to check this? Thanks

# virt-v2v -ic vpx://root.4.103/tzheng-demo/10.66.4.153/?no_verify=1 -b virbr0 esx5.1-win2008-i386 -of raw --password-file /tmp/passwd 
[   0.0] Opening the source -i libvirt -ic vpx://root.4.103/tzheng-demo/10.66.4.153/?no_verify=1 esx5.1-win2008-i386
[   1.1] Creating an overlay to protect the source from being modified
[   1.8] Initializing the target -o libvirt -os default
[   1.8] Opening the overlay
[  10.6] Inspecting the overlay
[  41.9] Checking for sufficient free disk space in the guest
[  41.9] Estimating space required on target for each disk
[  41.9] Converting Windows Server (R) 2008 Standard to run on KVM
virt-v2v: warning: there is no QXL driver for this version of Windows (6.0 
i386).  virt-v2v looks for this driver in /usr/share/virtio-win

The guest will be configured to use a basic VGA display driver.
virt-v2v: This guest has virtio drivers installed.
[  51.8] Mapping filesystem data to avoid copying unused and blank areas
[  52.9] Closing the overlay
[  53.2] Checking if the guest needs BIOS or UEFI to boot
[  53.2] Assigning disks to buses
[  53.2] Copying disk 1/1 to /var/lib/libvirt/images/esx5.1-win2008-i386-sda (raw)
    (100.00/100%)
[ 636.3] Creating output metadata
Pool default refreshed

Domain esx5.1-win2008-i386 defined from /tmp/v2vlibvirtcc3b78.xml

[ 642.4] Finishing off

Comment 9 Richard W.M. Jones 2016-03-31 13:08:23 UTC
The commit changed the message to:

  The guest will be configured to use a basic VGA display driver.

which is what it now says.  So that looks good to me.

Comment 10 mxie@redhat.com 2016-04-05 03:14:48 UTC
(In reply to Richard W.M. Jones from comment #9)
> The commit changed the message to:
> 
>   The guest will be configured to use a basic VGA display driver.
> 
> which is what it now says.  So that looks good to me.

Hi Richard,

For win2003 and win2008, the display driver is standard VGA.
For windows >7, the display driver is basic VGA, as comment5, we should  distinguish their display driver name during conversion, right?

Comment 11 Richard W.M. Jones 2016-04-05 08:09:45 UTC
It says "_a_ basic VGA" driver, ie. a simple, low resolution VGA driver.
It's not naming a particular Windows driver.

Comment 13 mxie@redhat.com 2016-07-07 11:00:49 UTC
Verify the bug again with builds:
virt-v2v-1.32.5-10.el7.x86_64
libguestfs-1.32.5-10.el7.x86_64
qemu-kvm-1.5.3-116.el7.x86_64
libvirt-2.0.0-1.el7.x86_64
virtio-win-1.8.0-5.el7.noarch
libguestfs-winsupport-7.2-1.el7.x86_64

Result now:

1.Convert win8, win8.1, win2012,win2012r2,win10 guests to rhev by virt-v2v, all their VGA info shows as below during conversion

The guest will be configured to use a basic VGA display driver.

2.Convert win2003 and win2008 guests to rhev by virt-v2v, all their VGA info shows as below during conversion

The guest will be configured to use a basic VGA display driver.

According to above result,comment10 and comment11, the bug has been fixed

So move the bug from ON_QA to VERIFIED

Comment 15 errata-xmlrpc 2016-11-03 17:58:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2016-2576.html


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