]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: ppc: Handle guest idle by emulating MSR[WE] writes
authorHollis Blanchard <hollisb@us.ibm.com>
Fri, 25 Apr 2008 22:55:49 +0000 (17:55 -0500)
committerAvi Kivity <avi@qumranet.com>
Sun, 4 May 2008 11:44:44 +0000 (14:44 +0300)
commite7ef1e9a3ba54e92e05e5ee4965a8f42bd79bc24
treeb2b9ff85ecb5b35d246d68da94b20cb9f9912bff
parentd8f28ab6f9d6b0464a27ca0d65f1c9c6867e7a47
KVM: ppc: Handle guest idle by emulating MSR[WE] writes

This reduces host CPU usage when the guest is idle. However, the guest must
set MSR[WE] in its idle loop, which Linux did not do until 2.6.26.

Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/powerpc/kvm/booke_guest.c
arch/powerpc/kvm/powerpc.c
include/asm-powerpc/kvm_host.h
include/asm-powerpc/kvm_ppc.h