When we added qemu_plugin_update_ns() to advance time we missed the fact that users of virtual clock don't get updated. Rather than implement the logic inside QEMU to keep track of the magic number lets just delegate it to the plugin instead.
Compile tested only. Alex. Alex Bennée (2): accel/tcg: add get_virtual_clock for TCG plugins: add qemu_plugin_register_time_cb support include/qemu/plugin-event.h | 1 + include/qemu/plugin.h | 9 +++++++++ include/qemu/qemu-plugin.h | 18 ++++++++++++++++++ accel/tcg/tcg-accel-ops.c | 11 +++++++++++ plugins/api-system.c | 8 ++++++++ plugins/core.c | 22 ++++++++++++++++++++++ 6 files changed, 69 insertions(+) -- 2.39.5