]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita8003afb109600262111ae99a027701af6e62fbd
tree812186c91b28c2e8aa25b3d953dab5789d46b7ae
parentf16fe418c92b9d57bd3b368864279eb257238a5b
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