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)
commitd7b0b5eb3000c6fb902f08c619fcd673a23d8fab
tree4c7aa92657435c687f98383aaea5ce15ee9fba9c
parent3cfc3092f40bc37c57ba556cfd8de4218f2135ab
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