]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: Check for access exceptions during TPI
authorThomas Huth <thuth@linux.vnet.ibm.com>
Thu, 20 Jun 2013 15:22:03 +0000 (17:22 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 20 Jun 2013 21:32:13 +0000 (23:32 +0200)
commit00c6785d73f5af1e48fe0ed3c5c89a7ceeb79f11
treefa39445622a2f114b18e0f1befd641d5aba5d30e
parentdb27823431f7e034a9cd90b19b34e4848f6cd3e0
KVM: s390: Check for access exceptions during TPI

When a guest calls the TPI instruction, the second operand address could
point to an invalid location. In this case the problem should be signaled
to the guest by throwing an access exception.

Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/s390/kvm/priv.c