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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Aug 2013 16:47:28 +0000 (09:47 -0700)
commit6904756d54d4f98a9f835ed9cbc3f149ef7ac678
tree9584fe646c735d09b666c62497a0cabe98561642
parent0a4b6d4ff200a553951f77f765971cb3e4c91ec0
KVM: s390: move kvm_guest_enter,exit closer to sie

commit 2b29a9fdcb92bfc6b6f4c412d71505869de61a56 upstream.

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>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/kvm/kvm-s390.c