summary refs log tree commit diff stats
path: root/docs/devel/secure-coding-practices.rst
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2020-09-15 17:46:34 -0700
committerEduardo Habkost <ehabkost@redhat.com>2020-09-18 13:59:51 -0400
commit4c880f363e9e43862230e22a4503e2fc0f092fba (patch)
tree64d85085fd5c3696149bdaf049625c7e3928051e /docs/devel/secure-coding-practices.rst
parenta21e6607771a27553814ce3c2c7db532a6a4b576 (diff)
downloadfocaccia-qemu-4c880f363e9e43862230e22a4503e2fc0f092fba.tar.gz
focaccia-qemu-4c880f363e9e43862230e22a4503e2fc0f092fba.zip
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 'docs/devel/secure-coding-practices.rst')
0 files changed, 0 insertions, 0 deletions