[libvirt] Exposing qemu support for SDL via capabilities

Richard W.M. Jones rjones at redhat.com
Fri Jul 8 15:14:28 UTC 2011

On Fri, Jul 08, 2011 at 09:19:46AM -0500, Adam Litke wrote:
> Hi all,
> In order to nicely support domains that use qemu's SDL support,
> libvirt-cim is looking for a way to confirm if the underlying qemu
> emulator can support SDL.  Libvirt already knows this information
> internally.  It seems to me that the best way to provide this
> information is by reporting it as a guest feature via the capabilities
> API call.  I was thinking the node '/capabilities/guest/features/sdl'
> could be added when qemu supports SDL.
> Is this a good idea?

Seems like clearly a good idea to me.  (Although I don't have
to code it :-)

Would it be worth having a separate <graphics> element underneath
features, so the path would be /capabilities/guest/features/graphics/sdl ?


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org

More information about the libvir-list mailing list