diff options
author | Andreas Färber <afaerber@suse.de> | 2013-05-02 11:22:05 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-05-02 12:15:38 +0200 |
commit | 1085819368e8693f08307e72f0082d759f67ef03 (patch) | |
tree | cfd17975195f865d9517203b0452efc4bdf0f65b /vl.c | |
parent | 0514ef2fbb3882afe410ba7800c79fd0ef5dbf00 (diff) |
cpus: Fix pausing TCG CPUs while in vCPU thread
Due to a preceding while loop, no CPU would've been put into stopped
state. Reinitialize the variable.
This fixes commit d798e97456658ea7605303b7c69b04ec7df95c10 (Allow to use
pause_all_vcpus from VCPU context) for non-KVM case.
While at it, change a 0 to false, amending commit
4fdeee7cd4c8f90ef765537b9346a195d9483ab5 (cpu: Move stop field to
CPUState).
Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'vl.c')
0 files changed, 0 insertions, 0 deletions