]> git.proxmox.com Git - mirror_qemu.git/commit
trace: Properly initialize dynamic event states in hot-plugged vCPUs
authorLluís Vilanova <vilanova@ac.upc.edu>
Mon, 19 Sep 2016 12:55:07 +0000 (14:55 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 28 Sep 2016 18:17:55 +0000 (19:17 +0100)
commit2bfe11c8fac96db4f94abbe818fbc964a6744130
tree2d095bb5096637d055082bf85286b5da33d268ef
parent331f5eb28a6b537558ac595879d2179885df9db5
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>
bsd-user/main.c
linux-user/main.c
qom/cpu.c
stubs/trace-control.c
trace/control-target.c
trace/control.c
trace/control.h
vl.c