History | View | Annotate | Download (18.6 kB)
Fix io-thread build breakage of a88790a14f
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
make qemu_thread_create block all signals
All signals will thus be routed through the IO thread.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
cpus: add one 'const'
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
make SIG_IPI to tcg vcpu thread reliable
Store tcg loop exit request on a global variable, and transfer it toper-CPUState exit_request after assignment of cpu_single_env.
This makes exit request signal from robust. Drop the timedlock hack.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>...
standardize on qemu_cpu_kick for signalling cpu thread(s)
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>Signed-off-by: Avi Kivity <avi@redhat.com>
port qemu-kvm's on_vcpu code
run_on_cpu allows to execute work on a given CPUState context.
add cpu_is_stopped helper
Fix cpu list("-cpu ?") breakage, spotted by TeLeMan
Fix breakage by 04c9a0cbc2bf496889cef6da2d61bf00ef190a4f.
kvm_init_vcpu requires global lock held
Since it accesses data protected by the lock.
Signed-off-by: Avi Kivity <avi@redhat.com>
Fix build when configured with --enable-io-thread
fix 100% cpu utilization when cpu is stopped
Hello, d6f4ade (disentangle tcg and deadline calculation, 2010-03-10)introduces following regression(s): 100% cpu utilization when QEMU is invoked like:qemu -S -s ... ditto when gdb takes control over the session via gdb-stub...
Hello,
d6f4ade (disentangle tcg and deadline calculation, 2010-03-10)introduces following regression(s):
100% cpu utilization when QEMU is invoked like:qemu -S -s ...
ditto when gdb takes control over the session via gdb-stub...
Compile qemu-timer only once
Arrange various declarations so that also non-CPU code can accessthem, adjust users.
Move CPU specific code to cpus.c.
Refactor CPUState handling out of vl.c