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>
Showing
- bsd-user/main.c 0 additions, 1 deletionbsd-user/main.c
- linux-user/main.c 0 additions, 1 deletionlinux-user/main.c
- qom/cpu.c 3 additions, 0 deletionsqom/cpu.c
- stubs/trace-control.c 6 additions, 0 deletionsstubs/trace-control.c
- trace/control-target.c 37 additions, 0 deletionstrace/control-target.c
- trace/control.c 0 additions, 19 deletionstrace/control.c
- trace/control.h 8 additions, 11 deletionstrace/control.h
- vl.c 0 additions, 1 deletionvl.c
Loading
Please register or sign in to comment