]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Force enable nap on KVM
authorAlexander Graf <agraf@suse.de>
Tue, 17 Aug 2010 09:41:44 +0000 (11:41 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:15 +0000 (10:52 +0200)
commiteff701a86ab25b826077133148e3d80e09c1ecef
treeefc7e87eb5026732633f655d7270b66c7f586ec1
parenteb324f90a9e034786e5dc31116bb3f85446d9c6b
KVM: PPC: Force enable nap on KVM

There are some heuristics in the PPC power management code that try to find
out if the particular hardware we're running on supports proper power management
or just hangs the machine when going into nap mode.

Since we know that KVM is safe with nap, let's force enable it in the PV code
once we're certain that we are on a KVM VM.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kernel/kvm.c