KVM: s390: Improved MVPG partial execution handler
authorThomas Huth <thuth@linux.vnet.ibm.com>
Wed, 7 May 2014 09:44:17 +0000 (11:44 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 16 May 2014 12:57:22 +0000 (14:57 +0200)
commitf22166dcfd30b46bb729abaf7ba3e1dd9e5d2093
tree812186c91b28c2e8aa25b3d953dab5789d46b7ae
parentfa576c583d877d667d9acaed909a3dfc6b03e138
KVM: s390: Improved MVPG partial execution handler

Use the new helper function kvm_arch_fault_in_page() for faulting-in
the guest pages and only inject addressing errors when we've really
hit a bad address (and return other error codes to userspace instead).

Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/intercept.c