diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2020-09-01 11:42:08 -0700 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2020-09-07 12:58:08 -0700 |
| commit | 2a7567a2f3a2f2d1580f104efd7ddc67e598b071 (patch) | |
| tree | 5097a9c22ae918e4e2c42497f1f7be6bfd8129bd /hw/virtio/virtio-net-pci.c | |
| parent | 4059bd90eb29fb837636db278d6907f4df0f6158 (diff) | |
| download | focaccia-qemu-2a7567a2f3a2f2d1580f104efd7ddc67e598b071.tar.gz focaccia-qemu-2a7567a2f3a2f2d1580f104efd7ddc67e598b071.zip | |
target/microblaze: Diagnose invalid insns in delay slots
These cases result in undefined and undocumented behaviour but the behaviour is deterministic, i.e cores will not lock-up or expose security issues. However, RTL will not raise exceptions either. Therefore, log a GUEST_ERROR and treat these cases as nops, to avoid corner cases which could put qemu into an invalid state. Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/virtio/virtio-net-pci.c')
0 files changed, 0 insertions, 0 deletions