summary refs log tree commit diff stats
path: root/scripts/qapi-commands.py
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2017-09-20 17:30:16 +0200
committerCornelia Huck <cohuck@redhat.com>2017-10-06 10:53:01 +0200
commit7705c75048cab58ca9c4e25ed5880b20598777cf (patch)
tree2167aded7e7fb97383845fc87eeb53c536d841f2 /scripts/qapi-commands.py
parent7634d658e601714a917d91367a27340ffa77c3db (diff)
downloadfocaccia-qemu-7705c75048cab58ca9c4e25ed5880b20598777cf.tar.gz
focaccia-qemu-7705c75048cab58ca9c4e25ed5880b20598777cf.zip
s390x/tcg: add basic MSA features
The STFLE bits for the MSA (extension) facilities simply indicate that
the respective instructions can be executed. The QUERY subfunction can then
be used to identify which features exactly are available.

Availability of subfunctions can also vary on real hardware. For now, we
simply implement a CPU model without any available subfunctions except
QUERY (which is always around).

As all MSA functions behave quite similarly, we can use one translation
handler for now. Prepare the code for implementation of actual subfunctions.

At least MSA is helpful for now, as older Linux kernels require this
facility when compiled for a z9 model. Allow to enable the facilities
for the qemu cpu model.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170920153016.3858-4-david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions