diff options
author | Jan Kiszka | 2012-02-17 18:31:16 +0100 |
---|---|---|
committer | Avi Kivity | 2012-02-18 11:15:54 +0100 |
commit | d798e97456658ea7605303b7c69b04ec7df95c10 (patch) | |
tree | 2ebd3824494e504fb5a058a62fd9339b1396cdef /hw/apic_internal.h | |
parent | Process pending work while waiting for initial kick-off in TCG mode (diff) | |
download | qemu-d798e97456658ea7605303b7c69b04ec7df95c10.tar.gz qemu-d798e97456658ea7605303b7c69b04ec7df95c10.tar.xz qemu-d798e97456658ea7605303b7c69b04ec7df95c10.zip |
Allow to use pause_all_vcpus from VCPU context
In order to perform critical manipulations on the VM state in the
context of a VCPU, specifically code patching, stopping and resuming of
all VCPUs may be necessary. resume_all_vcpus is already compatible, now
enable pause_all_vcpus for this use case by stopping the calling context
before starting to wait for the whole gang.
CC: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/apic_internal.h')
0 files changed, 0 insertions, 0 deletions