mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
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>
This commit is contained in:
parent
d4d133a34b
commit
847a65dd76
3 changed files with 64 additions and 0 deletions
|
|
@ -38,6 +38,7 @@
|
|||
qemu_plugin_register_vcpu_tb_exec_cond_cb;
|
||||
qemu_plugin_register_vcpu_tb_exec_inline_per_vcpu;
|
||||
qemu_plugin_register_vcpu_tb_trans_cb;
|
||||
qemu_plugin_request_time_control;
|
||||
qemu_plugin_reset;
|
||||
qemu_plugin_scoreboard_free;
|
||||
qemu_plugin_scoreboard_find;
|
||||
|
|
@ -51,5 +52,6 @@
|
|||
qemu_plugin_u64_set;
|
||||
qemu_plugin_u64_sum;
|
||||
qemu_plugin_uninstall;
|
||||
qemu_plugin_update_ns;
|
||||
qemu_plugin_vcpu_for_each;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue