diff options
| author | Thomas Huth | 2018-09-27 10:23:34 +0200 |
|---|---|---|
| committer | Cornelia Huck | 2018-10-04 10:32:38 +0200 |
| commit | 729315ebca0811c11e937d00231f8e05de5b446d (patch) | |
| tree | 3982ce59ae7062907955724ef7b3a8754a7e4f7c /include/exec/exec-all.h | |
| parent | hw/s390x/ipl: Fix alignment problems of S390IPLState members (diff) | |
| download | qemu-729315ebca0811c11e937d00231f8e05de5b446d.tar.gz qemu-729315ebca0811c11e937d00231f8e05de5b446d.tar.xz qemu-729315ebca0811c11e937d00231f8e05de5b446d.zip | |
hw/s390x/css: Remove QEMU_PACKED from struct SenseId
The uint16_t member cu_type of struct SenseId is not naturally aligned,
and since the struct is marked with QEMU_PACKED, this can lead to
unaligned memory accesses - which does not work on architectures like
Sparc. Thus remove the QEMU_PACKED here and rather copy the struct
byte by byte when we do copy_sense_id_to_guest().
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1538036615-32542-3-git-send-email-thuth@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions
