diff options
author | 2015-08-03 13:15:57 +0100 | |
---|---|---|
committer | 2015-09-02 13:24:13 +0100 | |
commit | 26c0114d3f69c3accaf83d56ff1d850bd0213b58 (patch) | |
tree | ee9930ad4065b1dcee4109b678ef335228851ca5 /scripts/qapi-commands.py | |
parent | rtl8139: use net/eth.h macros instead of custom macros (diff) | |
download | qemu-26c0114d3f69c3accaf83d56ff1d850bd0213b58.tar.xz qemu-26c0114d3f69c3accaf83d56ff1d850bd0213b58.zip |
rtl8139: use ldl/stl wrapper for unaligned 32-bit access
The tx offload feature accesses a 16-bit aligned TCP header struct. The
32-bit fields must be accessed using ldl/stl wrappers since some host
architectures fault on unaligned access.
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
Message-id: 1438604157-29664-4-git-send-email-stefanha@redhat.com
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions