diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2020-09-15 17:46:34 -0700 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2020-09-18 13:59:51 -0400 |
commit | 4c880f363e9e43862230e22a4503e2fc0f092fba (patch) | |
tree | 64d85085fd5c3696149bdaf049625c7e3928051e /block/linux-aio.c | |
parent | a21e6607771a27553814ce3c2c7db532a6a4b576 (diff) | |
download | qemu-4c880f363e9e43862230e22a4503e2fc0f092fba.zip qemu-4c880f363e9e43862230e22a4503e2fc0f092fba.tar.gz qemu-4c880f363e9e43862230e22a4503e2fc0f092fba.tar.bz2 |
qom: Allow objects to be allocated with increased alignment
It turns out that some hosts have a default malloc alignment less
than that required for vectors.
We assume that, with compiler annotation on CPUArchState, that we
can properly align the vector portion of the guest state. Fix the
alignment of the allocation by using qemu_memalloc when required.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200916004638.2444147-3-richard.henderson@linaro.org>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'block/linux-aio.c')
0 files changed, 0 insertions, 0 deletions