Jayakrishna Vadayath <jvada...@asu.edu> writes:
> Hi, > > I'm very new to writing QEMU plugins and I was looking for a way that a > plugin could be notified of a change in the VM state. > For example, the -S flag is used to change the state using the runstate_set > function. > In this case, would it be possible for a plugin to be notified of this > change ? Currently you can register idle/resume callbacks which can be used to show when the vCPU is sleeping waiting for I/O. The wider state in QEMU of when the vCPU is stopped is not reported as it should not be visible to the guest. What are you trying to achieve? > > Thank you for you help. -- Alex Bennée