Bug 641774

Summary: Graphical console unsupported for SDL guest
Product: Red Hat Enterprise Linux 6 Reporter: wangyimiao <yimwang>
Component: libvirtAssignee: Osier Yang <jyang>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: dallan, eblake, jyang, llim, xen-maint, yoyzhang
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-26 03:23:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description wangyimiao 2010-10-11 05:21:25 UTC
Description of problem:
Have not pop-up a Graphical console to support SDL guest and the virt-manager Graphical console shown 'Graphical console not supported for guest',we can not log in guest via Graphical console.

Version-Release number of selected component (if applicable):
libvirt-0.8.1-27.el6.x86_64
qemu-img-0.12.1.2-2.113.el6.x86_64
qemu-kvm-0.12.1.2-2.113.el6.x86_64
kernel-2.6.32-71.el6.x86_64

How reproducible:
5/5

Steps to Reproduce:
1.defined a guest with: 
........................
 <graphics type='sdl' display=':0.0' xauth='/root/.Xauthority'/>
........................

2.start guest with sdl

# virsh start rh5
Domain rh5 started
  
Actual results:
Have not pop-up a Graphical console to support SDL guest and the virt-manager Graphical console shown 'Graphical console not supported for guest'. 

Expected results:
Pop-up a Graphical console to support SDL guest or virt-manager Graphical console should support for SDL guest.

Comment 1 wangyimiao 2010-10-11 05:24:08 UTC
This is a medium issue and it can be fixed on 6.1.

Comment 2 Osier Yang 2011-01-25 12:46:08 UTC
Yimiao, could you try to reproduce it? I think we have fixed it, as if you use SDL as graphic for newer qemu-kvm, we need to reject it.

* Fri Jan 15 2010 Eduardo Habkost <ehabkost> -
qemu-kvm-0.12.1.2-2.5.el6
- Remove unneeded/unsupported features: [bz#555336]
  - make default options explicit
  - remove sdl support

SDL is removed from qemu-kvm since 0.12.1.2-2.5.el6, and we rejected SDL graphic use if the underly qemu doens't support it. see:

http://www.redhat.com/archives/libvir-list/2011-January/msg00460.html

Comment 3 Osier Yang 2011-01-25 12:51:16 UTC
I mean on the newest libvirt, if it rejects SDL, it's fixed.

Comment 4 wangyimiao 2011-01-26 02:10:02 UTC
Follow the comment 3,test passed on build:
libvirt-0.8.7-3.el6.x86_64
qemu-kvm-0.12.1.2-2.129.el6.x86_64
qemu-img-0.12.1.2-2.129.el6.x86_64
kernel-2.6.32-94.el6.x86_64.

Steps:
1.defined a guest with: 
........................
 <graphics type='sdl' display=':0.0' xauth='/root/.Xauthority'/>
........................

2.start guest with sdl

# virsh start vm2
error: Failed to start domain vm2
error: unsupported configuration: sdl not supported by '/usr/libexec/qemu-kvm'

Comment 5 Osier Yang 2011-01-26 03:23:39 UTC

*** This bug has been marked as a duplicate of bug 633326 ***