From: Scott Wood <scottwood@freescale.com>
To: Alexander Graf <agraf@suse.de>
Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org,
David Gibson <david@gibson.dropbear.id.au>
Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH] ppcr: Avoid decrementer related kvm exits
Date: Tue, 25 Oct 2011 14:38:34 -0500 [thread overview]
Message-ID: <4EA7103A.8080809@freescale.com> (raw)
In-Reply-To: <600B92AB-F318-4F7B-BF88-C142BB2676F3@suse.de>
On 10/14/2011 01:44 AM, Alexander Graf wrote:
> Wouldn't a simple
>
> if (kvm_enabled()) {
> return;
> }
>
> in the beginning of the function make more sense? There's no code connecting the in-qemu and the in-kvm decrementors atm, so any logic applying to the in-qemu one is moot for kvm.
On book3e at least, we can use sregs to set the decrementer, and we
probably want this to happen on reset.
-Scott
next prev parent reply other threads:[~2011-10-25 19:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-14 5:19 [Qemu-devel] [PATCH] ppcr: Avoid decrementer related kvm exits David Gibson
2011-10-14 5:30 ` Alexander Graf
2011-10-14 6:36 ` [Qemu-devel] [Qemu-ppc] " David Gibson
2011-10-14 6:44 ` Alexander Graf
2011-10-14 6:46 ` David Gibson
2011-10-17 5:25 ` David Gibson
2011-10-25 19:38 ` Scott Wood [this message]
2011-10-28 7:27 ` Alexander Graf
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=4EA7103A.8080809@freescale.com \
--to=scottwood@freescale.com \
--cc=agraf@suse.de \
--cc=david@gibson.dropbear.id.au \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@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.