diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kvm/booke.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c index 322da7d2334a..b4ab86cdb51d 100644 --- a/arch/powerpc/kvm/booke.c +++ b/arch/powerpc/kvm/booke.c | |||
@@ -735,6 +735,8 @@ static int kvmppc_handle_debug(struct kvm_run *run, struct kvm_vcpu *vcpu) | |||
735 | struct debug_reg *dbg_reg = &(vcpu->arch.shadow_dbg_reg); | 735 | struct debug_reg *dbg_reg = &(vcpu->arch.shadow_dbg_reg); |
736 | u32 dbsr = vcpu->arch.dbsr; | 736 | u32 dbsr = vcpu->arch.dbsr; |
737 | 737 | ||
738 | /* Clear guest dbsr (vcpu->arch.dbsr) */ | ||
739 | vcpu->arch.dbsr = 0; | ||
738 | run->debug.arch.status = 0; | 740 | run->debug.arch.status = 0; |
739 | run->debug.arch.address = vcpu->arch.pc; | 741 | run->debug.arch.address = vcpu->arch.pc; |
740 | 742 | ||