diff options
| author | Tyler Hall <tylerwhall@gmail.com> | 2012-07-25 18:45:04 -0400 |
|---|---|---|
| committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-08-03 14:25:22 +0100 |
| commit | 69b67646bc7ae7f3d28b278e6ae4435a767450ec (patch) | |
| tree | ac2df7357c0800679fc631de83fc6dffd6e4069a /hw/xen_backend.h | |
| parent | adb2a9b5d4d5170f0b58b9f92f816048f6b8932b (diff) | |
| download | focaccia-qemu-69b67646bc7ae7f3d28b278e6ae4435a767450ec.tar.gz focaccia-qemu-69b67646bc7ae7f3d28b278e6ae4435a767450ec.zip | |
exec.c: Use subpages for large unaligned mappings
Registering a multi-page memory region that is non-page-aligned results in a subpage from the start to the page boundary, some number of full pages, and possibly another subpage from the last page boundary to the end. The full pages will have a value for offset_within_region that is not a multiple of TARGET_PAGE_SIZE. Accesses through softmmu are unable to handle this and will segfault. Handling full pages through subpages is not optimal, but only non-page-aligned mappings take the penalty. Signed-off-by: Tyler Hall <tylerwhall@gmail.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Avi Kivity <avi@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'hw/xen_backend.h')
0 files changed, 0 insertions, 0 deletions