Bug 1314739 - The X server of Xen rhel5.11 can't start successfully after converted by virt-p2v
Summary: The X server of Xen rhel5.11 can't start successfully after converted by virt...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: libguestfs
Version: 8.1
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard: P2V
Depends On:
Blocks: 1473046
TreeView+ depends on / blocked
 
Reported: 2016-03-04 11:39 UTC by Xiaodai Wang
Modified: 2020-03-04 15:40 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-23 09:39:33 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
virt-p2v log (780.00 KB, application/x-tar)
2016-03-04 11:42 UTC, Xiaodai Wang
no flags Details
/etc/X11/xorg.conf file (568 bytes, text/plain)
2016-03-07 03:18 UTC, Xiaodai Wang
no flags Details

Description Xiaodai Wang 2016-03-04 11:39:17 UTC
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.

Comment 1 Xiaodai Wang 2016-03-04 11:42:34 UTC
Created attachment 1133148 [details]
virt-p2v log

Comment 3 Richard W.M. Jones 2016-03-04 12:42:32 UTC
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.

Comment 4 Xiaodai Wang 2016-03-07 03:18:27 UTC
Created attachment 1133602 [details]
/etc/X11/xorg.conf file

Comment 5 Richard W.M. Jones 2017-03-28 14:28:22 UTC
Out of development time for RHEL 7.4.  Moving to RHEL 7.5.

Comment 6 Jaroslav Suchanek 2019-12-04 15:30:37 UTC
This bug will be addressed in next major release.

Comment 7 Jaroslav Suchanek 2020-01-23 09:39:33 UTC
Lets close it for now. Please reopen if there is customer case. Thanks.


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