]> 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)
commitda688a805d88ad67dc9a72aebbc5b0d3eafafdc8
treefa39445622a2f114b18e0f1befd641d5aba5d30e
parent74e7bfd11c71dc135d34029020b5701fa1e5fb47
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