From: Andrew Jones <drjones@redhat.com>
To: "Alex Bennée" <alex.bennee@linaro.org>
Cc: kvm@vger.kernel.org
Subject: Re: [kvm-unit-tests PATCH v2 4/4] arm/run: clean-up setting of accel options
Date: Tue, 7 Jul 2015 13:40:01 +0200 [thread overview]
Message-ID: <20150707114001.GC3381@hawk.localdomain> (raw)
In-Reply-To: <1436252613-1540-5-git-send-email-alex.bennee@linaro.org>
On Tue, Jul 07, 2015 at 08:03:33AM +0100, Alex Bennée wrote:
> It would be nice to use --no-kvm but that flags a warning on pure-TCG
> builds. We echo the fact we are using TCG for the benefit of interactive
> use.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>
> ---
> v2
> - rm redundant M= statement
> ---
> arm/run | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/arm/run b/arm/run
> index 493ce0d..7266004 100755
> --- a/arm/run
> +++ b/arm/run
> @@ -32,6 +32,12 @@ if ! $qemu -machine '?' 2>&1 | grep 'ARM Virtual Machine' > /dev/null; then
> fi
>
> M='-machine virt'
> +if [ $usingkvm = 1 ]; then
The "1" string here again
> + M+=",accel=kvm"
> +else
> + echo "Running with TCG"
> + M+=',accel=tcg'
> +fi
>
> if ! $qemu $M -device '?' 2>&1 | grep virtconsole > /dev/null; then
> echo "$qpath doesn't support virtio-console for chr-testdev. Exiting."
> @@ -44,7 +50,6 @@ if $qemu $M -chardev testdev,id=id -initrd . 2>&1 \
> exit 2
> fi
>
> -M='-machine virt,accel=kvm:tcg'
> chr_testdev='-device virtio-serial-device'
> chr_testdev+=' -device virtconsole,chardev=ctd -chardev testdev,id=ctd'
>
> --
> 2.4.5
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2015-07-07 11:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-07 7:03 [kvm-unit-tests PATCH v2 0/4] A couple of small fixes Alex Bennée
2015-07-07 7:03 ` [kvm-unit-tests PATCH v2 1/4] README: add some CONTRIBUTING notes Alex Bennée
2015-07-07 11:43 ` Andrew Jones
2015-07-07 7:03 ` [kvm-unit-tests PATCH v2 2/4] configure: emit HOST=$host to config.mak Alex Bennée
2015-07-07 11:43 ` Andrew Jones
2015-07-07 7:03 ` [kvm-unit-tests PATCH v2 3/4] arm/run: introduce usingkvm var and use it Alex Bennée
2015-07-07 11:36 ` Andrew Jones
2015-07-07 7:03 ` [kvm-unit-tests PATCH v2 4/4] arm/run: clean-up setting of accel options Alex Bennée
2015-07-07 11:40 ` Andrew Jones [this message]
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=20150707114001.GC3381@hawk.localdomain \
--to=drjones@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=kvm@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox