diff options
author | Lluís Vilanova <vilanova@ac.upc.edu> | 2016-09-19 14:55:07 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2016-09-28 19:17:55 +0100 |
commit | 2bfe11c8fac96db4f94abbe818fbc964a6744130 (patch) | |
tree | 2d095bb5096637d055082bf85286b5da33d268ef /bsd-user/main.c | |
parent | 331f5eb28a6b537558ac595879d2179885df9db5 (diff) | |
download | qemu-2bfe11c8fac96db4f94abbe818fbc964a6744130.zip qemu-2bfe11c8fac96db4f94abbe818fbc964a6744130.tar.gz qemu-2bfe11c8fac96db4f94abbe818fbc964a6744130.tar.bz2 |
trace: Properly initialize dynamic event states in hot-plugged vCPUs
Every time a vCPU is hot-plugged, it will "inherit" its tracing state
from the global state array. That is, if *any* existing vCPU has an
event enabled, new vCPUs will have too.
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
Message-id: 147428970768.15111.7664565956870423529.stgit@fimbulvetr.bsc.es
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'bsd-user/main.c')
-rw-r--r-- | bsd-user/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bsd-user/main.c b/bsd-user/main.c index 0fb08e4..f58bb43 100644 --- a/bsd-user/main.c +++ b/bsd-user/main.c @@ -1133,7 +1133,6 @@ int main(int argc, char **argv) gdbserver_start (gdbstub_port); gdb_handlesig(cpu, 0); } - trace_init_vcpu_events(); cpu_loop(env); /* never exits */ return 0; |