diff options
author | Lluís Vilanova <vilanova@ac.upc.edu> | 2016-09-19 14:55:13 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2016-09-28 19:17:55 +0100 |
commit | b9d72215248789abdd1e2bfce746eff2eddd67fc (patch) | |
tree | 422c873a96718bdbea879adb887e2d83e6b29144 /trace/control-target.c | |
parent | 2bfe11c8fac96db4f94abbe818fbc964a6744130 (diff) |
trace: Add event "guest_cpu_enter"
Signals the hot-plugging of a new virtual (guest) CPU.
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
Message-id: 147428971313.15111.18023030883528426840.stgit@fimbulvetr.bsc.es
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'trace/control-target.c')
-rw-r--r-- | trace/control-target.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/trace/control-target.c b/trace/control-target.c index 3b7d99b44c..52fcce5a00 100644 --- a/trace/control-target.c +++ b/trace/control-target.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "cpu.h" +#include "trace.h" #include "trace/control.h" #include "translate-all.h" @@ -117,4 +118,6 @@ void trace_init_vcpu(CPUState *vcpu) } } } + + trace_guest_cpu_enter(vcpu); } |