diff options
| author | David Hildenbrand | 2017-09-22 16:03:38 +0200 |
|---|---|---|
| committer | Cornelia Huck | 2017-10-06 10:53:01 +0200 |
| commit | 947a38bd6f1301a97f3c9c7485e7fa118bbc40cf (patch) | |
| tree | 7f1ffe15b26a7787429a83bf8d07144160eb71f4 /scripts/switch-timer-api | |
| parent | s390x: use generic cpu_model parsing (diff) | |
| download | qemu-947a38bd6f1301a97f3c9c7485e7fa118bbc40cf.tar.gz qemu-947a38bd6f1301a97f3c9c7485e7fa118bbc40cf.tar.xz 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 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
