mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
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>
This commit is contained in:
parent
331f5eb28a
commit
2bfe11c8fa
8 changed files with 54 additions and 33 deletions
|
@ -4800,7 +4800,6 @@ int main(int argc, char **argv, char **envp)
|
|||
}
|
||||
gdb_handlesig(cpu, 0);
|
||||
}
|
||||
trace_init_vcpu_events();
|
||||
cpu_loop(env);
|
||||
/* never exits */
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue