]> git.proxmox.com Git - mirror_qemu.git/commit - hw/core/cpu.c
trace: Fix dynamic event state on vCPU hot-unplug
authorLluís Vilanova <vilanova@ac.upc.edu>
Mon, 26 Dec 2016 21:24:40 +0000 (22:24 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 16 Jan 2017 13:40:56 +0000 (13:40 +0000)
commit82e95ec847757c1a2b6accf0e8312925ada3dca8
treec216df66c35a995786021fce24a2b830d15c0757
parentfff895dfdbe41965f7b0430e3d9e8b7bd8fc8eda
trace: Fix dynamic event state on vCPU hot-unplug

We need to disable per-vCPU events on a vCPU that is hot-unplugged to
keep the dynamic event state global counters consistent.

Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
Message-id: 148278748055.1404.1570530281528619895.stgit@fimbulvetr.bsc.es
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
qom/cpu.c
trace/control.c
trace/control.h