KVM: s390: move kvm_guest_enter,exit closer to sie
authorDominik Dingel <dingel@linux.vnet.ibm.com>
Fri, 26 Jul 2013 13:04:00 +0000 (15:04 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 29 Jul 2013 07:02:18 +0000 (09:02 +0200)
commit2b29a9fdcb92bfc6b6f4c412d71505869de61a56
tree81e5b700617fbc5d9663eb01118b0ef944c237d4
parent90db76e829479ef2ba1fed8f2552846015469831
KVM: s390: move kvm_guest_enter,exit closer to sie

Any uaccess between guest_enter and guest_exit could trigger a page fault,
the page fault handler would handle it as a guest fault and translate a
user address as guest address.

Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
CC: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/s390/kvm/kvm-s390.c