]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit45c5eb67da5a668abe79c23a7e64dbc87a600f90
treeb2b9ff85ecb5b35d246d68da94b20cb9f9912bff
parent3fe913e7c550a869e250d04c34410f7a6e263f7c
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