[libvirt] [PATCH] qemu: Reject SDL graphic if it's not supported by qemu

Daniel P. Berrange berrange at redhat.com
Tue Jan 11 14:12:54 UTC 2011


On Wed, Jan 12, 2011 at 01:01:25AM +1100, Justin Clift wrote:
> On 12/01/2011, at 12:39 AM, Richard W.M. Jones wrote:
> > On Tue, Jan 11, 2011 at 09:21:26PM +0800, Osier Yang wrote:
> >> So, it means the newer qemu-kvm (of RHEL) doesn't support sdl
> >> anymore. Didn't send the patch to Red Hat internal list,
> >> as the patch won't conflict with upstream.
> >> 
> >> IMHO it's not reasonable that we have "sdl" xml in domain
> >> config, but no according command line of qemu, and pretend
> >> everything is fine.
> >> 
> >> Any good idea? Thanks
> > 
> > qemu needs to support capabilities ...
> > 
> > Been discussed with upstream qemu many times and no movement
> > on it.
> 
> Is it feasible (or even useful) to create a library or utility called
> "qemu-capabilities", who's sole purpose is to interrogate a qemu
> installation and then provide us a list of its capabilities?

This doesn't really solve anything. libvirt already has such a
"library", it is simply part of oura internal API. The problem
is that QEMU itself needs to expose information that does not
currently exist clearly anywhere.

Daniel




More information about the libvir-list mailing list