KVM: s390: enable SRS only if enabled for the guest
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Fri, 4 Mar 2016 11:23:55 +0000 (12:23 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 9 May 2016 11:33:55 +0000 (13:33 +0200)
commitbd50e8ec8f668de472b3bf782ac95866056257dd
tree0b49017ce942c3647db44934f177f096515d3d25
parentd6af0b491b1f675e5e5a12c5587f804c698a6ba5
KVM: s390: enable SRS only if enabled for the guest

If we don't have SIGP SENSE RUNNING STATUS enabled for the guest, let's
not enable interpretation so we can correctly report an invalid order.

Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/sigp.h
arch/s390/kvm/kvm-s390.c
arch/s390/kvm/sigp.c