mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
vl: add system_wakeup_request tracepoint
It might be useful for tracing migration. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
parent
ac4df4e608
commit
4fed9421e9
2 changed files with 3 additions and 0 deletions
2
vl.c
2
vl.c
|
@ -1837,6 +1837,8 @@ void qemu_register_suspend_notifier(Notifier *notifier)
|
|||
|
||||
void qemu_system_wakeup_request(WakeupReason reason)
|
||||
{
|
||||
trace_system_wakeup_request(reason);
|
||||
|
||||
if (!runstate_check(RUN_STATE_SUSPENDED)) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue