summaryrefslogtreecommitdiffstats
path: root/vl.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy2014-03-06 21:03:36 +0100
committerJuan Quintela2014-03-08 22:22:34 +0100
commit4fed9421e931128bd3c86a4f1c90a5989beb88eb (patch)
treee5f574374cdd53e1e179572e083dff4382e6bb82 /vl.c
parentqemu_file: Fix mismerge of "use fwrite() correctly" (diff)
downloadqemu-4fed9421e931128bd3c86a4f1c90a5989beb88eb.tar.gz
qemu-4fed9421e931128bd3c86a4f1c90a5989beb88eb.tar.xz
qemu-4fed9421e931128bd3c86a4f1c90a5989beb88eb.zip
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>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index 41581c1c23..50693e6efd 100644
--- a/vl.c
+++ b/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;
}