]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S HV: Fix typo in saving DSCR
authorPaul Mackerras <paulus@samba.org>
Fri, 20 Sep 2013 23:53:28 +0000 (09:53 +1000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Oct 2013 09:40:07 +0000 (11:40 +0200)
commit6b5ab2f113a47d9213f32bf71b5fcde270a31f7e
treeb0a307c8ef521952c2cc7157807a935424247e85
parent606947c636ee1d1ef5e9d4535e989176e21114d4
KVM: PPC: Book3S HV: Fix typo in saving DSCR

This fixes a typo in the code that saves the guest DSCR (Data Stream
Control Register) into the kvm_vcpu_arch struct on guest exit.  The
effect of the typo was that the DSCR value was saved in the wrong place,
so changes to the DSCR by the guest didn't persist across guest exit
and entry, and some host kernel memory got corrupted.

Cc: stable@vger.kernel.org [v3.1+]
Signed-off-by: Paul Mackerras <paulus@samba.org>
Acked-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/powerpc/kvm/book3s_hv_rmhandlers.S