qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

tests/plugin: correctly honour io_count

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200605154929.26910-4-alex.bennee@linaro.org>

+1 -1
+1 -1
tests/plugin/mem.c
··· 28 28 29 29 g_string_printf(out, "mem accesses: %" PRIu64 "\n", mem_count); 30 30 if (do_haddr) { 31 - g_string_append_printf(out, "io accesses: %" PRIu64 "\n", mem_count); 31 + g_string_append_printf(out, "io accesses: %" PRIu64 "\n", io_count); 32 32 } 33 33 qemu_plugin_outs(out->str); 34 34 }