All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Discuss] is it good to add codes providing information to libvirt about the qemu's capabilities
@ 2011-07-08  9:08 Wayne Xia
  0 siblings, 0 replies; only message in thread
From: Wayne Xia @ 2011-07-08  9:08 UTC (permalink / raw)
  To: qemu-devel

   Currently libvirt seems to invoke qemu by "qemu -help" onetime, and
then analysis the output text to find whether one type of device the
qemu could support. For example, if "qemu -help" prints a text with
"-sdl" then libvirt thought the qemu could accept that.
    But here comes a problem: the output text seems not to adjust its
output according to the qemu's compile configuration, so it is possible
libvirt invoke qemu with -sdl but get "qemu exit" response that "SDL
support is disabled". By default, the sdl is disabled, and the libvirt
thought it is on.
    I wonder if it is a good idea to modify the help function in vl.c,
to let it adjust -help output according to the configuration, but this
would hide some option of "-help" invocation.



-- 
Best Regards

Wayne Xia
mail:xiawenc@linux.vnet.ibm.com
tel:86-010-82450803

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-07-08  9:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-08  9:08 [Qemu-devel] [Discuss] is it good to add codes providing information to libvirt about the qemu's capabilities Wayne Xia

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.