KVM: s390: Make psw available on all exits, not just a subset
commitb5939fce19ddfb6fd1edb613278d9b44d3f25e0a
authorCarsten Otte <carsteno@de.ibm.com>
Thu, 19 Nov 2009 13:21:16 +0000 (19 14:21 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Dec 2009 21:43:24 +0000 (18 13:43 -0800)
treee5b4b16bb02bdf4cf97c3fffc013b5f882396e60
parent92f045e6754b67fdf6f32a5adafd48dbfa941192
KVM: s390: Make psw available on all exits, not just a subset

commit d7b0b5eb3000c6fb902f08c619fcd673a23d8fab upstream.

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.

Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/s390/include/asm/kvm.h
arch/s390/kvm/kvm-s390.c
include/linux/kvm.h