]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: Make psw available on all exits, not just a subset
authorCarsten Otte <carsteno@de.ibm.com>
Thu, 19 Nov 2009 13:21:16 +0000 (14:21 +0100)
committerAvi Kivity <avi@redhat.com>
Thu, 3 Dec 2009 07:32:25 +0000 (09:32 +0200)
commit6aa3fa03a3c3f992d58a01e610882e452ece7016
tree4c7aa92657435c687f98383aaea5ce15ee9fba9c
parentbc009fdc1f2e6305971c825c6660826961792f6e
KVM: s390: Make psw available on all exits, not just a subset

This patch moves s390 processor status word into the base kvm_run
struct and keeps it up-to date on all userspace exits.

The userspace ABI is broken by this, however there are no applications
in the wild using this.  A capability check is provided so users can
verify the updated API exists.

Cc: stable@kernel.org
Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/s390/include/asm/kvm.h
arch/s390/kvm/kvm-s390.c
include/linux/kvm.h