From: Wayne Xia <xiawenc@linux.vnet.ibm.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Discuss] is it good to add codes providing information to libvirt about the qemu's capabilities
Date: Fri, 08 Jul 2011 17:08:10 +0800 [thread overview]
Message-ID: <4E16C8FA.8010603@linux.vnet.ibm.com> (raw)
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
reply other threads:[~2011-07-08 9:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E16C8FA.8010603@linux.vnet.ibm.com \
--to=xiawenc@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.