diff options
| author | David Hildenbrand <david@redhat.com> | 2017-09-22 16:03:38 +0200 |
|---|---|---|
| committer | Cornelia Huck <cohuck@redhat.com> | 2017-10-06 10:53:01 +0200 |
| commit | 947a38bd6f1301a97f3c9c7485e7fa118bbc40cf (patch) | |
| tree | 7f1ffe15b26a7787429a83bf8d07144160eb71f4 /hw/s390x/css.c | |
| parent | b6805e127c6b7815ea3abc6516b461a18d9c4d3d (diff) | |
| download | focaccia-qemu-947a38bd6f1301a97f3c9c7485e7fa118bbc40cf.tar.gz focaccia-qemu-947a38bd6f1301a97f3c9c7485e7fa118bbc40cf.zip | |
s390x/kvm: fix and cleanup storing CPU status
env->psa is a 64bit value, while we copy 4 bytes into the save area, resulting always in 0 getting stored. Let's try to reduce such errors by using a proper structure. While at it, use correct cpu->be conversion (and get_psw_mask()), as we will be reusing this code for TCG soon. Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20170922140338.6068-1-david@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'hw/s390x/css.c')
0 files changed, 0 insertions, 0 deletions