trace: Immediately apply per-vCPU state changes if a vCPU is being created
Right now, function trace_event_set_vcpu_state_dynamic() asynchronously enables
events in the case a vCPU is executing TCG code. If the vCPU is being created
this makes some events like "guest_cpu_enter" to not be traced.
Signed-off-by: Lluís Vilanova <[email protected]>
Reviewed-by: Emilio G. Cota <[email protected]>
Message-id:
150525662577.19850.
13767570977540117247[email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>