From: Chen Gang <gang.chen.5i5j@gmail.com>
To: Michael Tokarev <mjt@tls.msk.ru>, qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org
Subject: Re: [Qemu-trivial] [PULL 01/11] vl: Report accelerator not supported for target more nicely
Date: Tue, 08 Apr 2014 15:18:44 +0800 [thread overview]
Message-ID: <5343A2D4.2070703@gmail.com> (raw)
In-Reply-To: <1396940651-10513-2-git-send-email-mjt@msgid.tls.msk.ru>
Thanks, and I will/should finish the left trivial patches within this
week (2014-04-13)
On 04/08/2014 03:04 PM, Michael Tokarev wrote:
> From: Chen Gang <gang.chen.5i5j@gmail.com>
>
> When you ask for an accelerator not supported for your target, you get
> a bogus "accelerator does not exist" message:
>
> $ qemu-system-arm -machine none,accel=kvm
> KVM not supported for this target
> "kvm" accelerator does not exist.
> No accelerator found!
>
> Suppress it.
>
> Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
> Reviewed-by: Markus Armbruster <armbru@redhat.com>
> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
> ---
> vl.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/vl.c b/vl.c
> index 9975e5a..db9ea90 100644
> --- a/vl.c
> +++ b/vl.c
> @@ -2740,7 +2740,7 @@ static int configure_accelerator(QEMUMachine *machine)
> if (!accel_list[i].available()) {
> printf("%s not supported for this target\n",
> accel_list[i].name);
> - continue;
> + break;
> }
> *(accel_list[i].allowed) = true;
> ret = accel_list[i].init(machine);
>
--
Chen Gang
Open, share, and attitude like air, water, and life which God blessed
WARNING: multiple messages have this Message-ID (diff)
From: Chen Gang <gang.chen.5i5j@gmail.com>
To: Michael Tokarev <mjt@tls.msk.ru>, qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org
Subject: Re: [Qemu-devel] [PULL 01/11] vl: Report accelerator not supported for target more nicely
Date: Tue, 08 Apr 2014 15:18:44 +0800 [thread overview]
Message-ID: <5343A2D4.2070703@gmail.com> (raw)
In-Reply-To: <1396940651-10513-2-git-send-email-mjt@msgid.tls.msk.ru>
Thanks, and I will/should finish the left trivial patches within this
week (2014-04-13)
On 04/08/2014 03:04 PM, Michael Tokarev wrote:
> From: Chen Gang <gang.chen.5i5j@gmail.com>
>
> When you ask for an accelerator not supported for your target, you get
> a bogus "accelerator does not exist" message:
>
> $ qemu-system-arm -machine none,accel=kvm
> KVM not supported for this target
> "kvm" accelerator does not exist.
> No accelerator found!
>
> Suppress it.
>
> Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
> Reviewed-by: Markus Armbruster <armbru@redhat.com>
> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
> ---
> vl.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/vl.c b/vl.c
> index 9975e5a..db9ea90 100644
> --- a/vl.c
> +++ b/vl.c
> @@ -2740,7 +2740,7 @@ static int configure_accelerator(QEMUMachine *machine)
> if (!accel_list[i].available()) {
> printf("%s not supported for this target\n",
> accel_list[i].name);
> - continue;
> + break;
> }
> *(accel_list[i].allowed) = true;
> ret = accel_list[i].init(machine);
>
--
Chen Gang
Open, share, and attitude like air, water, and life which God blessed
next prev parent reply other threads:[~2014-04-08 7:19 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-08 7:04 [Qemu-trivial] [PULL for-2.0 00/11] Trivial patches for 2014-04-08 Michael Tokarev
2014-04-08 7:04 ` [Qemu-devel] " Michael Tokarev
2014-04-08 7:04 ` [Qemu-trivial] [PULL 01/11] vl: Report accelerator not supported for target more nicely Michael Tokarev
2014-04-08 7:04 ` [Qemu-devel] " Michael Tokarev
2014-04-08 7:18 ` Chen Gang [this message]
2014-04-08 7:18 ` Chen Gang
2014-04-08 7:04 ` [Qemu-trivial] [PULL 02/11] qga: trivial fix for unclear documentation of guest-set-time Michael Tokarev
2014-04-08 7:04 ` [Qemu-devel] " Michael Tokarev
2014-04-08 7:04 ` [Qemu-trivial] [PULL 03/11] configure: Fix indentation of help for --enable/disable-debug-info Michael Tokarev
2014-04-08 7:04 ` [Qemu-devel] " Michael Tokarev
2014-04-08 7:04 ` [Qemu-trivial] [PULL 04/11] net: Report error when device / hub combo is not found Michael Tokarev
2014-04-08 7:04 ` [Qemu-devel] " Michael Tokarev
2014-04-08 7:04 ` [Qemu-trivial] [PULL 05/11] hw/ide/ahci.c: Avoid shift left into sign bit Michael Tokarev
2014-04-08 7:04 ` [Qemu-devel] " Michael Tokarev
2014-04-08 7:04 ` [Qemu-trivial] [PULL 06/11] int128.h: Avoid undefined behaviours involving signed arithmetic Michael Tokarev
2014-04-08 7:04 ` [Qemu-devel] " Michael Tokarev
2014-04-08 7:04 ` [Qemu-trivial] [PULL 07/11] xbzrle.c: Avoid undefined behaviour with " Michael Tokarev
2014-04-08 7:04 ` [Qemu-devel] " Michael Tokarev
2014-04-08 7:04 ` [Qemu-trivial] [PULL 08/11] scripts: add sample model file for Coverity Scan Michael Tokarev
2014-04-08 7:04 ` [Qemu-devel] " Michael Tokarev
2014-04-08 7:04 ` [Qemu-trivial] [PULL 09/11] configure: Remove redundant message for -Werror Michael Tokarev
2014-04-08 7:04 ` [Qemu-devel] " Michael Tokarev
2014-04-08 7:04 ` [Qemu-trivial] [PULL 10/11] doc: grammify "allows to" Michael Tokarev
2014-04-08 7:04 ` [Qemu-devel] " Michael Tokarev
2014-04-08 7:04 ` [Qemu-trivial] [PULL 11/11] Fix grammar in comment Michael Tokarev
2014-04-08 7:04 ` [Qemu-devel] " Michael Tokarev
2014-04-08 8:10 ` [Qemu-trivial] [Qemu-devel] [PULL for-2.0 00/11] Trivial patches for 2014-04-08 Peter Maydell
2014-04-08 8:10 ` Peter Maydell
2014-04-08 8:52 ` [Qemu-trivial] " Michael Tokarev
2014-04-08 8:52 ` Michael Tokarev
2014-04-08 9:41 ` [Qemu-trivial] " Peter Maydell
2014-04-08 9:41 ` Peter Maydell
2014-04-08 10:57 ` [Qemu-trivial] " Markus Armbruster
2014-04-08 10:57 ` Markus Armbruster
2014-04-08 11:58 ` [Qemu-trivial] " Michael Tokarev
2014-04-08 11:58 ` Michael Tokarev
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=5343A2D4.2070703@gmail.com \
--to=gang.chen.5i5j@gmail.com \
--cc=mjt@tls.msk.ru \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@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.