This second round of patches focus on issues in cpus.c, primarily signal related. The highlights are - Add missing KVM_RUN continuation after I/O exits - Fix for timer signal race in KVM entry code under !CONFIG_IOTHREAD (based on Stefan's findings) - MCE signal processing under !CONFIG_IOTHREAD - Prevent abortion on multiple VCPU kicks - Fixed synchronous (ie. VCPU-issued) reset request processing Topics remaining for a third round are cleanups and refactorings of the KVM VCPU entry/exit path, MCE rework, and a few assorted cleanups. But I will wait at least until these bits here are ready for an upstream merge. CC: Alexander Graf <agraf@xxxxxxx> CC: Gleb Natapov <gleb@xxxxxxxxxx> CC: Hidetoshi Seto <seto.hidetoshi@xxxxxxxxxxxxxx> CC: Huang Ying <ying.huang@xxxxxxxxx> CC: Jin Dongming <jin.dongming@xxxxxxxxxxxxxxxxxx> CC: Paolo Bonzini <pbonzini@xxxxxxxxxx> CC: Stefan Hajnoczi <stefanha@xxxxxxxxxxxxxxxxxx> Jan Kiszka (22): Prevent abortion on multiple VCPU kicks Stop current VCPU on synchronous reset requests Process vmstop requests in IO thread Leave inner main_loop faster on pending requests kvm: Report proper error on GET_VCPU_MMAP_SIZE failures kvm: Drop redundant kvm_enabled from kvm_cpu_thread_fn kvm: Handle kvm_init_vcpu errors kvm: Provide sigbus services arch-independently Refactor signal setup functions in cpus.c kvm: Set up signal mask also for !CONFIG_IOTHREAD kvm: Refactor qemu_kvm_eat_signals kvm: Call qemu_kvm_eat_signals also under !CONFIG_IOTHREAD Set up signalfd under !CONFIG_IOTHREAD kvm: Fix race between timer signals and vcpu entry under !IOTHREAD kvm: Add MCE signal support for !CONFIG_IOTHREAD Introduce VCPU self-signaling service kvm: Move irqchip event processing out of inner loop kvm: Unconditionally reenter kernel after IO exits kvm: Remove static return code of kvm_handle_io kvm: Leave kvm_cpu_exec directly after KVM_EXIT_SHUTDOWN Refactor kvm&tcg function names in cpus.c Fix a few coding style violations in cpus.c Makefile.objs | 2 +- cpu-defs.h | 1 + cpus.c | 639 +++++++++++++++++++++++++++++++--------------------- cpus.h | 1 + kvm-all.c | 60 +++-- kvm-stub.c | 5 + kvm.h | 7 +- qemu-common.h | 1 + target-i386/kvm.c | 4 +- target-ppc/kvm.c | 10 + target-s390x/kvm.c | 10 + vl.c | 26 +- 12 files changed, 469 insertions(+), 297 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html