Hide Forgot
Description of problem: libvirt unsupported graphics types include 'sdl', 'rdp', 'desktop'. 'sdl' error message has been fixed in bug 633326. However, the error message for 'rdp' and 'desktop' are different from 'sdl' Version-Release number of selected component (if applicable): libvirt-0.8.7-3.el6 qemu-kvm-0.12.1.2-2.129.el6 How reproducible: Always Steps to Reproduce: 1. Configure rdp and desktop respectively by changing the guest's XML from <graphics type='vnc port='-1' autoport='yes' listen='0.0.0.0' keymap='en-us'/> to <graphics type='rdp'> <graphics type='desktop'> 2. Start the guest and check error message Actual results: # virsh start cc error: Failed to start domain cc error: internal error unsupported graphics type 'desktop' # virsh start cc error: Failed to start domain cc error: internal error unsupported graphics type 'rdp' Expected results: Output the uniform error message with 'sdl'. Additional info: The error message for 'sdl' are: # virsh start cc error: Failed to start domain cc error: unsupported configuration: sdl not supported by '/usr/libexec/qemu-kvm'
patch posted to upstream to fix the problem: http://www.redhat.com/archives/libvir-list/2011-January/msg00883.html
http://post-office.corp.redhat.com/archives/rhvirt-patches/2011-January/msg01408.html patch sent to rhvirt-patches.
Verified with passed with below environment: # uname -a Linux dhcp-65-85.nay.redhat.com 2.6.32-99.el6.x86_64 #1 SMP Fri Jan 14 10:46:00 EST 2011 x86_64 x86_64 x86_64 GNU/Linux libvirt-0.8.7-4.el6.x86_64 kernel-2.6.32-99.el6.x86_64 qemu-kvm-0.12.1.2-2.129.el6.x86_64 -----desktop---- In guest xml ... <graphics type='desktop'> ... # virsh start <guest> error: Failed to start domain <guest> error: unsupported configuration: unsupported graphics type 'desktop' ----rdp------- In guest xml, ... <graphics type='rdp'> ... # virsh start <guest> error: Failed to start domain <guest> error: unsupported configuration: unsupported graphics type 'rdp'
Tested with libvirt-0.8.7-17.el6.x86_64 qemu-kvm-0.12.1.2-2.158.el6.x86_64 kernel-2.6.32-131.0.1.el6.x86_64 ---error message---- # virsh start cc error: Failed to start domain cc error: internal error unsupported graphics type 'desktop' # virsh start cc error: Failed to start domain cc error: internal error unsupported graphics type 'rdp' # virsh start cc error: Failed to start domain cc error: unsupported configuration: sdl not supported by '/usr/libexec/qemu-kvm' Meet the expected result . So keep the VERIFIED status .
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0596.html