Skip to content
Snippets Groups Projects
Commit 4c880f36 authored by Richard Henderson's avatar Richard Henderson Committed by Eduardo Habkost
Browse files

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: default avatarRichard Henderson <richard.henderson@linaro.org>
Message-Id: <20200916004638.2444147-3-richard.henderson@linaro.org>
Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
parent a21e6607
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment