qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* plugin order of registration and order of callback
@ 2020-01-06 22:41 Robert Henry
  2020-01-10 12:14 ` Alex Bennée
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Henry @ 2020-01-06 22:41 UTC (permalink / raw)
  To: qemu-devel@nongnu.org

[-- Attachment #1: Type: text/plain, Size: 537 bytes --]

The documentation on the new plugin capabilities of qemu is silent about the order call back registration should be done, and is also silent on the order in which call backs are fired.

Case in point: The callback registered by qemu_plugin_register_vcpu_mem_cb is called after the call back registered by qemu_plugin_register_vcpu_insn_exec_cb, regardless of the order of registration.

However, I'd like to have the insn_exec_cb called after the mem_cb so that I can save the mem information to be consumed by the insn callback.


[-- Attachment #2: Type: text/html, Size: 1446 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-12 20:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-06 22:41 plugin order of registration and order of callback Robert Henry
2020-01-10 12:14 ` Alex Bennée
2020-01-12 20:35   ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).