OSDN Git Service

softmmu/memory: Log invalid memory accesses
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 5 Oct 2020 15:27:25 +0000 (17:27 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 13 Oct 2020 11:33:45 +0000 (13:33 +0200)
commit21786c7e59847b1612406ff394958f22e5b323f8
treeebae503e9f0845752ffabe292566905f2c25db8d
parent5ad1037cad3572e382043a2a525b7967ddc9357f
softmmu/memory: Log invalid memory accesses

Log invalid memory accesses with as GUEST_ERROR.

This is particularly useful since commit 5d971f9e67 which reverted
("memory: accept mismatching sizes in memory_region_access_valid").

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20201005152725.2143444-1-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
softmmu/memory.c