aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorHollis Blanchard <hollisb@us.ibm.com>2008-07-25 14:54:49 -0400
committerAvi Kivity <avi@qumranet.com>2008-10-15 04:15:16 -0400
commit6a0ab738ef42d87951b3980f61b1f4cbb14d4171 (patch)
tree8650adf6b8c2df9817c7d6dff2a2f8a4b4904abc /arch/powerpc/include
parentb5e2fec0ebc3fcaff954092bb69444a67a904c0a (diff)
KVM: ppc: guest breakpoint support
Allow host userspace to program hardware debug registers to set breakpoints inside guests. Signed-off-by: Jerone Young <jyoung5@us.ibm.com> Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/kvm_host.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/kvm_host.h b/arch/powerpc/include/asm/kvm_host.h
index 2655e2a4831e..23bad40b0ea6 100644
--- a/arch/powerpc/include/asm/kvm_host.h
+++ b/arch/powerpc/include/asm/kvm_host.h
@@ -86,6 +86,11 @@ struct kvm_vcpu_arch {
86 86
87 u32 host_stack; 87 u32 host_stack;
88 u32 host_pid; 88 u32 host_pid;
89 u32 host_dbcr0;
90 u32 host_dbcr1;
91 u32 host_dbcr2;
92 u32 host_iac[4];
93 u32 host_msr;
89 94
90 u64 fpr[32]; 95 u64 fpr[32];
91 u32 gpr[32]; 96 u32 gpr[32];