aboutsummaryrefslogtreecommitdiff
path: root/qemu-options.hx
diff options
context:
space:
mode:
authorJanis Schoetterl-Glausch <scgl@linux.ibm.com>2022-05-06 17:39:56 +0200
committerThomas Huth <thuth@redhat.com>2022-06-03 08:03:28 +0200
commit54354861d21b69ec0781f43e67b8d4f6edad7e3f (patch)
tree4f8842f85c144f48a5d3f6a03daafdf9de6f4b34 /qemu-options.hx
parentec8c293678ffe7b3c01678103608ef75cecb909c (diff)
downloadqemu-54354861d21b69ec0781f43e67b8d4f6edad7e3f.zip
qemu-54354861d21b69ec0781f43e67b8d4f6edad7e3f.tar.gz
qemu-54354861d21b69ec0781f43e67b8d4f6edad7e3f.tar.bz2
target/s390x: kvm: Honor storage keys during emulation
Storage key controlled protection is currently not honored when emulating instructions. If available, enable key protection for the MEM_OP ioctl, thereby enabling it for the s390_cpu_virt_mem_* functions, when using kvm. As a result, the emulation of the following instructions honors storage keys: * CLP The Synch I/O CLP command would need special handling in order to support storage keys, but is currently not supported. * CHSC Performing commands asynchronously would require special handling, but commands are currently always synchronous. * STSI * TSCH Must (and does) not change channel if terminated due to protection. * MSCH Suppressed on protection, works because fetching instruction. * SSCH Suppressed on protection, works because fetching instruction. * STSCH * STCRW Suppressed on protection, this works because no partial store is possible, because the operand cannot span multiple pages. * PCISTB * MPCIFC * STPCIFC Signed-off-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com> Message-Id: <20220506153956.2217601-3-scgl@linux.ibm.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'qemu-options.hx')
0 files changed, 0 insertions, 0 deletions