Re: [Qemu-devel] [PATCH v3 1/3] trace: Properly initialize dynamic event states in hot-plugged vCPUs

2016-09-23 Thread Stefan Hajnoczi
On Mon, Sep 19, 2016 at 02:55:07PM +0200, Lluís Vilanova wrote: > diff --git a/qom/cpu.c b/qom/cpu.c > index 2553247..7e2e523 100644 > --- a/qom/cpu.c > +++ b/qom/cpu.c > @@ -333,6 +333,9 @@ static void cpu_common_realizefn(DeviceState *dev, Error > **errp) >

[Qemu-devel] [PATCH v3 1/3] trace: Properly initialize dynamic event states in hot-plugged vCPUs

2016-09-19 Thread Lluís Vilanova
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 --- bsd-user/main.c|1 - linux-user/main.c |1