Description of problem: The X server of Xen rhel5.11 can't start successfully after converted by virt-p2v Version-Release number of selected component (if applicable): # rpm -q libguestfs virt-v2v virt-p2v libguestfs-1.32.3-1.el7.x86_64 virt-v2v-1.32.3-1.el7.x86_64 virt-p2v-1.28.1-1.51.4.el7.iso How reproducible: 100% Steps to Reproduce: 1. Prepare a Xen rhel5.11 VM as xen server and make sure it has two disks. 2. Install a new vm into disk 2 on the above xen server. Actually i use the xen vm which created when verifing bug 1283588. 3. Attach virt-p2v iso to the xen vm and boot it by cdrom. 4. Use virt-p2v to convert the xen host to libvirt 5. Start the vm. Actual results: The x server can't startup sucessfully. I checked the xml of the generated guest, the video type is *qxl*, but driver is "cirrus" in /etc/X11/xorg.conf in the guest. <graphics type='vnc' port='-1' autoport='yes'/> <video> <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> Expected results: The driver should be qxl in /etc/X11/xorg.conf and x server should startup sucessfully. Additional info: I replaced disk 2 with a blank disk, or with another image has os installed, or remove disk 2. And can't reproduce it.
Created attachment 1133148 [details] virt-p2v log
Some observations: The guest has xorg-x11-drv-qxl installed. That doesn't matter because QXL can fall back to emulating VESA VGA. /files/etc/X11/xorg.conf/Device/Driver exists. virt-v2v modifies /files/etc/X11/xorg.conf/Device/Driver with no error. I'll have to try reproducing this one.
Created attachment 1133602 [details] /etc/X11/xorg.conf file
Out of development time for RHEL 7.4. Moving to RHEL 7.5.
This bug will be addressed in next major release.
Lets close it for now. Please reopen if there is customer case. Thanks.