diff options
| author | Laurent Vivier | 2015-10-03 17:14:06 +0200 |
|---|---|---|
| committer | Riku Voipio | 2016-01-08 10:36:12 +0100 |
| commit | 928bed6a057cedd6110e634865e021a24029785a (patch) | |
| tree | 1d8993d71396c6af0146a97c5cd98e10ad37ce5a /include | |
| parent | linux-user: add signalfd/signalfd4 syscalls (diff) | |
| download | qemu-928bed6a057cedd6110e634865e021a24029785a.tar.gz qemu-928bed6a057cedd6110e634865e021a24029785a.tar.xz qemu-928bed6a057cedd6110e634865e021a24029785a.zip | |
linux-user: correctly align target_epoll_event
According to comments in /usr/include/linux/eventpoll.h,
poll_event is packed only on x86_64.
And to be sure fields are correctly aligned in epoll_data,
use abi_XXX types for all of them.
Moreover, fd type is wrong: fd is int, not ulong.
This has been tested with a ppc guest on an x86_64 host:
without this patch, systemd crashes (core).
CC: Alexander Graf <agraf@suse.de>
CC: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
