Created attachment 411831 [details] /var/log/messages Description of problem: So the guest fail to start X Window after imported to RHEV, although its X Windows works well before conversion Version-Release number of selected component (if applicable): virt-v2v-0.5.2-1.el5 v2v-libvirt-0.8.0-2.el5 How reproducible: 100% Steps to Reproduce: 1.# virt-v2v -f /usr/share/doc/virt-v2v-0.5.2/virt-v2v.conf -ic esx://10.66.65.108/?no_verify=1 -o rhev -osd 10.66.90.115:/vol/ovirt1/auto/v2v/export ESX4.0-RHEL3.9-i386 unknown filesystem /dev/fd0 virt-v2v: No app in config matches distro='rhel' name='kernel' major='3' minor='9' arch='i686' virt-v2v: ESX4.0-RHEL3.9-i386 configured without virtio drivers 2.Import the VM to "Virtual Machine" tab 3.Run the VM 4.#startx Actual results: 1.Fail to start X Windows. 2.The video driver is still vmware Section "Device" Identifier "Videocard0" Driver "vmware" VendorName "Videocard vendor" BoardName "VMWare" EndSection Expected results: Start X Windows successfully Additional info: Info from guest: # uname -a Linux dhcp-66-82-108.nay.redhat.com 2.4.21-50.EL #1 Tue May 8 17:18:10 EDT 2007 i686 athlon i386 GNU/Linux
Created attachment 411832 [details] after conversion, /etc/X11/XF86Config
Created attachment 411833 [details] /var/log/XFree86.0.log
Same in ESX3.5-rhel39-i386
before conversion:there is no cirrus after conversion: # lspci |grep -i cirrus 00:02.0 VGA compatible controller: Cirrus Logic GD 5446 Though in guest, cirrus is indeed installed. And X Windows start successfully after I modified the XF86Config as: Section "Device" Identifier "Videocard0" Driver "cirrus" VendorName "Videocard vendor" BoardName "VMWare" EndSection So I think it should not only install cirrus, but modify the config file of X11.
For ESX4.0-RHEL39-x86_64, after conversion, the video driver will become "vesa" automatically.
Could you please attach the output of virt-v2v with LIBGUESTFS_TRACE=1, and also the contents of xorg.conf prior to conversion?
Created attachment 413047 [details] log from LIBGUESTFS_TRACE=1
Created attachment 413049 [details] Xorg.conf before conversion
Patch posted containing a fix for this: https://www.redhat.com/archives/libguestfs/2010-May/msg00049.html
For ESX3.5-RHEL54, the BoardName is still "VMWare".
Fixed in 0.5.4
(In reply to comment #11) > Fixed in 0.5.4 Hi Matt, In virt-v2v-0.5.4-1.el5, the video card driver can be converted to "cirrus" automatically, but pls pay attention to the BoardName, it's still "VMWare". Identifier "Videocard0" Driver "cirrus" * VendorName "Videocard vendor" * * BoardName "VMWare" * I guess it should be Identifier "Videocard0" Driver "cirrus" Or Identifier "Videocard0" Driver "cirrus" * VendorName "Videocard vendor" * * BoardName "Cirrus Logic GD544x"*
Yeah, that's a nit. Somebody's opened bug 595264 about that. Given that it doesn't cause a failure, I'd prefer to track updates to VendorName and BoardName separately.
(In reply to comment #13) > Yeah, that's a nit. Somebody's opened bug 595264 about that. Given that it > doesn't cause a failure, I'd prefer to track updates to VendorName and > BoardName separately. OK, so verified this bug on v2v-0.6.0-1.el5. Now the video card driver can be converted to "cirrus"
This was released in virt-v2v-0.6.0-6.el5