Red Hat Bugzilla – Bug 1309619
Wrong warning info "use standard VGA" shows when converting windows > 7 by virt-v2v
Last modified: 2016-11-03 13:58:59 EDT
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"
Created attachment 1128179 [details] log_win8.1_x64_rhev
Created attachment 1128180 [details] w2012_libvirt
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.
(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
I suppose we can change The guest will be configured to use standard VGA. to The guest will use a basic VGA display driver.
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
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@10.66.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@10.66.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
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.
(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?
It says "_a_ basic VGA" driver, ie. a simple, low resolution VGA driver. It's not naming a particular Windows driver.
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
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