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 1753085 - Set qxl as default video mode for SUSE guest after converting to libvirt by v2v
Summary: Set qxl as default video mode for SUSE guest after converting to libvirt by v2v
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libguestfs
Version: 7.8
Hardware: x86_64
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard: V2V
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-18 03:57 UTC by mxie@redhat.com
Modified: 2020-03-31 19:55 UTC (History)
9 users (show)

Fixed In Version: libguestfs-1.40.2-8.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1753083
Environment:
Last Closed: 2020-03-31 19:55:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:1082 0 None None None 2020-03-31 19:55:41 UTC

Description mxie@redhat.com 2019-09-18 03:57:55 UTC
Have same problem on rhel7;
virt-v2v-1.40.2-7.el7.x86_64
libguestfs-1.40.2-7.el7.x86_64

+++ This bug was initially created as a clone of Bug #1753083 +++

Description of problem:
Set qxl as default video mode for SUSE guest after converting to libvirt by v2v

Version-Release number of selected component (if applicable):
virt-v2v-1.40.2-14.module+el8.1.0+4230+0b6e3259.x86_64
libguestfs-1.40.2-14.module+el8.1.0+4230+0b6e3259.x86_64


How reproducible:
100%

Steps to Reproduce:
1.Convert a SUSE guest from VMware to libvirt by virt-v2v
# virt-v2v -ic vpx://root.73.141/data/10.73.75.219/?no_verify=1 -it vddk -io vddk-libdir=/home/vmware-vix-disklib-distrib -io  vddk-thumbprint=1F:97:34:5F:B6:C2:BA:66:46:CB:1A:71:76:7D:6B:50:1E:03:00:EA  esx6.7-opensuse15-x86_64  --password-file /tmp/passwd  -v -x |& tee > suse-guest-to-libvirt.log


2.Check the guest's video mode is cirrus which has deprecated in both RHV and virt-manager now
# virsh dumpxml esx6.7-opensuse15-x86_64 |grep video -A 1
    <video>
      <model type='cirrus' vram='16384' heads='1' primary='yes'/>
--
    </video>
    <memballoon model='virtio'>

Actual results:
Setting cirrus as default video mode for SUSE guest after converting to libvirt is inappropriate

Expected results:
As description

Additional info:
Although sles11sp4 guest will has graphic problem with qxl but sles11 has ended general support in 31 Mar 2019,pls refer to https://www.suse.com/lifecycle/

Comment 2 Richard W.M. Jones 2019-09-18 09:54:29 UTC
Really trivial upstream patch:
https://github.com/libguestfs/libguestfs/commit/612f170e6062f2ff74643b6096b7e0765b52cfbd

Comment 4 liuzi 2019-10-11 02:44:02 UTC
Verify bug with builds:
virt-v2v-1.40.2-8.el7.x86_64
libguestfs-1.40.2-8.el7.x86_64

Steps:
1.Convert a SUSE guest from VMware to libvirt by virt-v2v
#  virt-v2v -ic vpx://root.73.141/data/10.73.75.219/?no_verify=1 esx6.7-opensuse15-x86_64  --password-file /home/passwd
[   0.0] Opening the source -i libvirt -ic vpx://root.73.141/data/10.73.75.219/?no_verify=1 esx6.7-opensuse15-x86_64
[   2.3] Creating an overlay to protect the source from being modified
[   3.5] Opening the overlay
[  18.8] Inspecting the overlay
[ 209.6] Checking for sufficient free disk space in the guest
[ 209.6] Estimating space required on target for each disk
[ 209.6] Converting openSUSE Leap 15.0 to run on KVM
virt-v2v: This guest has virtio drivers installed.
[1240.3] Mapping filesystem data to avoid copying unused and blank areas
[1244.4] Closing the overlay
[1244.6] Assigning disks to buses
[1244.6] Checking if the guest needs BIOS or UEFI to boot
[1244.6] Initializing the target -o libvirt -os default
[1244.7] Copying disk 1/1 to /var/lib/libvirt/images/esx6.7-opensuse15-x86_64-sda (raw)
    (100.00/100%)
[1711.3] Creating output metadata
Pool default refreshed

Domain esx6.7-opensuse15-x86_64 defined from /tmp/v2vlibvirt7522f3.xml

[1711.6] Finishing off

2.Check the guest's video mode
# virsh dumpxml  esx6.7-opensuse15-x86_64   |grep video -A4
    <video>
      <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </memballoon>
    <rng model='virtio'>

Result:
Setting QXL as default video mode for SUSE guest after converting to libvirt,so change the bug from ON_QA to VERIFIED.

Comment 6 errata-xmlrpc 2020-03-31 19:55:04 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://access.redhat.com/errata/RHBA-2020:1082


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