]> git.ipfire.org Git - thirdparty/qemu.git/commit
plugins: add time control API
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 20 Jun 2024 15:22:16 +0000 (16:22 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 24 Jun 2024 09:15:04 +0000 (10:15 +0100)
commit847a65dd76bf1868c7966a2b2608dcd00cb68dc7
tree16b4986d25cca97ed4fa82cfa52c57b62e5a3dff
parentd4d133a34b300b574d446316491828867205d17f
plugins: add time control API

Expose the ability to control time through the plugin API. Only one
plugin can control time so it has to request control when loaded.
There are probably more corner cases to catch here.

Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
[AJB: tweaked user-mode handling, merged QEMU_PLUGIN_API fix]
Message-Id: <20240530220610.1245424-6-pierrick.bouvier@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240620152220.2192768-9-alex.bennee@linaro.org>
include/qemu/qemu-plugin.h
plugins/api.c
plugins/qemu-plugins.symbols