diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2019-05-19 13:19:52 -0700 |
|---|---|---|
| committer | Laurent Vivier <laurent@vivier.eu> | 2019-05-24 13:16:21 +0200 |
| commit | 30ab9ef2967dde22193f609b6ec56101c156b061 (patch) | |
| tree | 128863abc52b116065b5d5c162e0335592e60254 /hw/usb/dev-hub.c | |
| parent | abcac736c1505254ec3f9587aff04fbe4705a55e (diff) | |
| download | focaccia-qemu-30ab9ef2967dde22193f609b6ec56101c156b061.tar.gz focaccia-qemu-30ab9ef2967dde22193f609b6ec56101c156b061.zip | |
linux-user: Fix shmat emulation by honoring host SHMLBA
For those hosts with SHMLBA > getpagesize, we don't automatically select a guest address that is compatible with the host. We can achieve this by boosting the alignment of guest_base and by adding an extra alignment argument to mmap_find_vma. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20190519201953.20161-13-richard.henderson@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/usb/dev-hub.c')
0 files changed, 0 insertions, 0 deletions