diff options
author | Jason J. Herne | 2016-09-01 10:56:49 +0200 |
---|---|---|
committer | Christian Borntraeger | 2017-07-14 12:29:49 +0200 |
commit | 075e52b816648f21ca6bf5cc01624dff3993c99e (patch) | |
tree | 76302017dc22c8b8f9cbf6ce8f00c44a5fe72995 /hw/misc/mips_cmgcr.c | |
parent | s390x/cpumodel: wire up new hardware features (diff) | |
download | qemu-075e52b816648f21ca6bf5cc01624dff3993c99e.tar.gz qemu-075e52b816648f21ca6bf5cc01624dff3993c99e.tar.xz qemu-075e52b816648f21ca6bf5cc01624dff3993c99e.zip |
s390x/cpumodel: we are always in zarchitecture mode
In QEMU, a guest VCPU always started in and never was able to leave
z/Architecture mode. Now we have an architected way of showing this
condition.
The SIGP SET ARCHITECTURE instruction is simply rejected. Linux as guest
seems to not care about the return value, which is a good thing
The new handling is just like already being in z/Architecture mode.
We'll not try to fake absence of this facility, but still not indicate
the facility in case some strange CPU model turned z/Architecture off
completely (which doesn't work either way but let's us see how a
guest would react on a lack of this facility).
Signed-off-by: Jason J. Herne <jjherne@linux.vnet.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'hw/misc/mips_cmgcr.c')
0 files changed, 0 insertions, 0 deletions