accel/tcg: Call save_iotlb_data from io_readx as well
commitc30d0b861cea8539ee0acb55a1a949ed4b5ec82a
authorMikhail Tyutin <m.tyutin@yadro.com>
Fri, 4 Aug 2023 11:09:03 +0000 (4 14:09 +0300)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 6 Aug 2023 17:10:07 +0000 (6 10:10 -0700)
treeff5e8c09c678980b891aa7f4285bb2df0d03445f
parentf7eaf9d702efdd02481d5f1c25f7d8e0ffb64c6e
accel/tcg: Call save_iotlb_data from io_readx as well

Apply save_iotlb_data() to io_readx() as well as to io_writex().
This fixes SEGFAULT on qemu_plugin_hwaddr_phys_addr() call plugins
for addresses inside of MMIO region.

Signed-off-by: Dmitriy Solovev <d.solovev@yadro.com>
Signed-off-by: Mikhail Tyutin <m.tyutin@yadro.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230804110903.19968-1-m.tyutin@yadro.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/cputlb.c