Thread (33 messages) 33 messages, 3 authors, 2010-08-31

Re: [PATCH 21/26] KVM: PPC: Force enable nap on KVM

From: Alexander Graf <hidden>
Date: 2010-08-17 20:07:54
Also in: kvm

On 17.08.2010, at 20:28, Scott Wood wrote:
On Tue, 17 Aug 2010 15:57:56 +0200
Alexander Graf [off-list ref] wrote:
=20
quoted
There are some heuristics in the PPC power management code that try =
to find
quoted
out if the particular hardware we're running on supports proper power =
management
quoted
or just hangs the machine when going into nap mode.
=20
Since we know that KVM is safe with nap, let's force enable it in the =
PV code
quoted
once we're certain that we are on a KVM VM.
=20
Could this cause the cache to be flushed unnecessarily on e500?  Where
available, doze would probably be better for signalling the hypervisor
that the guest is idle.
You're right - this should be #ifdef'ed on Book3s. I'll add that as a =
patch on top, as Qemu on BookE doesn't expose KVM capabilities yet.


Alex
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help