diff options
author | Jason J. Herne <jjherne@linux.vnet.ibm.com> | 2017-02-24 18:01:30 +0300 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2017-08-28 17:25:13 +0300 |
commit | b697e435aeee99b7f5b2d8f8dbb51f791be99b16 (patch) | |
tree | f9747db8443e983238de4cc8892bb21472ddf200 /arch/s390/tools/gen_facilities.c | |
parent | ccc59f47b6f9770ef768ada0ac5993de5f608d11 (diff) |
KVM: s390: Support Configuration z/Architecture Mode
kvm has always supported the concept of starting in z/Arch mode so let's
reflect the feature bit to the guest.
Also, we change sigp set architecture to reject any request to change
architecture modes.
Signed-off-by: Jason J. Herne <jjherne@linux.vnet.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/tools/gen_facilities.c')
-rw-r--r-- | arch/s390/tools/gen_facilities.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/tools/gen_facilities.c b/arch/s390/tools/gen_facilities.c index 025ea20fc4b4..181db5b8f8b3 100644 --- a/arch/s390/tools/gen_facilities.c +++ b/arch/s390/tools/gen_facilities.c @@ -80,6 +80,7 @@ static struct facility_def facility_defs[] = { 78, /* enhanced-DAT 2 */ 130, /* instruction-execution-protection */ 131, /* enhanced-SOP 2 and side-effect */ + 138, /* configuration z/architecture mode (czam) */ 146, /* msa extension 8 */ -1 /* END */ } |