From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: [PATCH 00/22] [uq/master] Patch queue, part II Date: Thu, 27 Jan 2011 14:09:44 +0100 Message-ID: Cc: kvm@vger.kernel.org, qemu-devel@nongnu.org, Alexander Graf , Gleb Natapov , Hidetoshi Seto , Huang Ying , Jin Dongming , Paolo Bonzini , Stefan Hajnoczi To: Avi Kivity , Marcelo Tosatti Return-path: Received: from thoth.sbs.de ([192.35.17.2]:20002 "EHLO thoth.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752999Ab1A0NKl (ORCPT ); Thu, 27 Jan 2011 08:10:41 -0500 Sender: kvm-owner@vger.kernel.org List-ID: 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 CC: Gleb Natapov CC: Hidetoshi Seto CC: Huang Ying CC: Jin Dongming CC: Paolo Bonzini CC: Stefan Hajnoczi 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(-)