diff options
| author | Ilya Leoshkevich <iii@linux.ibm.com> | 2021-04-16 17:49:37 +0200 |
|---|---|---|
| committer | Cornelia Huck <cohuck@redhat.com> | 2021-05-20 14:19:30 +0200 |
| commit | 48a130923c59b706e7f33527490028eb8a86b97e (patch) | |
| tree | 201ad2431068b68a02713cad19ebadce4cff35a2 /hw/misc/virt_ctrl.c | |
| parent | 86131c71b13257e095d8c4f4453d52cbc6553c07 (diff) | |
| download | focaccia-qemu-48a130923c59b706e7f33527490028eb8a86b97e.tar.gz focaccia-qemu-48a130923c59b706e7f33527490028eb8a86b97e.zip | |
target/arm: Make sure that commpage's tb->size != 0
tb_gen_code() assumes that tb->size must never be zero, otherwise it may produce spurious exceptions. For ARM this may happen when creating a translation block for the commpage. Fix by pretending that commpage translation blocks have at least one instruction. Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210416154939.32404-3-iii@linux.ibm.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'hw/misc/virt_ctrl.c')
0 files changed, 0 insertions, 0 deletions