summaryrefslogtreecommitdiff
path: root/include/asm-powerpc/kvm_host.h
diff options
context:
space:
mode:
authorHollis Blanchard <hollisb@us.ibm.com>2008-04-25 22:55:49 (GMT)
committerAvi Kivity <avi@qumranet.com>2008-05-04 11:44:44 (GMT)
commit45c5eb67da5a668abe79c23a7e64dbc87a600f90 (patch)
treeb2b9ff85ecb5b35d246d68da94b20cb9f9912bff /include/asm-powerpc/kvm_host.h
parent3fe913e7c550a869e250d04c34410f7a6e263f7c (diff)
downloadlinux-45c5eb67da5a668abe79c23a7e64dbc87a600f90.tar.xz
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>
Diffstat (limited to 'include/asm-powerpc/kvm_host.h')
-rw-r--r--include/asm-powerpc/kvm_host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-powerpc/kvm_host.h b/include/asm-powerpc/kvm_host.h
index 04ffbb8..81a69d7 100644
--- a/include/asm-powerpc/kvm_host.h
+++ b/include/asm-powerpc/kvm_host.h
@@ -59,6 +59,7 @@ struct kvm_vcpu_stat {
u32 emulated_inst_exits;
u32 dec_exits;
u32 ext_intr_exits;
+ u32 halt_wakeup;
};
struct tlbe {