[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] [PATCH] ppcr: Avoid decrementer related kvm
From: |
Scott Wood |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] [PATCH] ppcr: Avoid decrementer related kvm exits |
Date: |
Tue, 25 Oct 2011 14:38:34 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2 |
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