kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@web.de>
To: Avi Kivity <avi@redhat.com>, Marcelo Tosatti <mtosatti@redhat.com>
Cc: kvm@vger.kernel.org, qemu-devel@nongnu.org
Cc: Alexander Graf <agraf@suse.de>
Cc: Gleb Natapov <gleb@redhat.com>
Cc: Huang Ying <ying.huang@intel.com>
Subject: [PATCH 00/18] [uq/master] MCE & IO exit fixes, prepare for VCPU loop reuse
Date: Mon, 10 Jan 2011 09:31:53 +0100	[thread overview]
Message-ID: <cover.1294648329.git.jan.kiszka@web.de> (raw)

This series has three major topics:
 - add required kernel reentry after IO exits
 - provide MCE forwarding under !CONFIG_IOTHREAD
 - prepare kvm_cpu_exec for qemu-kvm reuse

Along these lines, several cleanups and simplifcations are applied to
cpus.c and the KVM VCPU execution bits. The first patch should of course
be dropped if uq/master is applied without "kvm: Drop return value of
kvm_cpu_exec".

Note that I did not yet to test the MCE support. Is there an easy way to
trigger valid MCE events at kernel level? Or do I need to fake SIGBUS at
qemu level?

Jan Kiszka (18):
  Revert "kvm: Drop return value of kvm_cpu_exec"
  kvm: Drop redundant kvm_enabled from kvm_cpu_thread_fn
  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: Add MCE signal support for !CONFIG_IOTHREAD
  kvm: Handle kvm_init_vcpu errors
  Refactor kvm&tcg function names in cpus.c
  Fix a few coding style violations in cpus.c
  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
  kvm: Separate TCG from KVM cpu execution
  kvm: x86: Prepare VCPU loop for in-kernel irqchip
  kvm: Drop return values from kvm_arch_pre/post_run

 cpu-exec.c         |   19 +--
 cpus.c             |  521 +++++++++++++++++++++++++++++++---------------------
 kvm-all.c          |   76 +++++----
 kvm-stub.c         |    9 +-
 kvm.h              |   14 +-
 qemu-common.h      |    1 +
 target-i386/kvm.c  |   90 +++++-----
 target-ppc/kvm.c   |   16 ++-
 target-s390x/kvm.c |   16 ++-
 9 files changed, 444 insertions(+), 318 deletions(-)


             reply	other threads:[~2011-01-10  8:32 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-10  8:31 Jan Kiszka [this message]
2011-01-10  8:31 ` [PATCH 01/18] Revert "kvm: Drop return value of kvm_cpu_exec" Jan Kiszka
2011-01-10  8:31 ` [PATCH 02/18] kvm: Drop redundant kvm_enabled from kvm_cpu_thread_fn Jan Kiszka
2011-01-10  8:31 ` [PATCH 03/18] kvm: Provide sigbus services arch-independently Jan Kiszka
2011-01-10 10:13   ` Paolo Bonzini
2011-01-10 10:30     ` Jan Kiszka
2011-01-10  8:31 ` [PATCH 04/18] Refactor signal setup functions in cpus.c Jan Kiszka
2011-01-10  8:31 ` [PATCH 05/18] kvm: Set up signal mask also for !CONFIG_IOTHREAD Jan Kiszka
2011-01-10  8:31 ` [PATCH 06/18] kvm: Refactor qemu_kvm_eat_signals Jan Kiszka
2011-01-10 10:15   ` Paolo Bonzini
2011-01-10  8:32 ` [PATCH 07/18] kvm: Add MCE signal support for !CONFIG_IOTHREAD Jan Kiszka
2011-01-24 11:17   ` Marcelo Tosatti
2011-01-24 12:36     ` Jan Kiszka
2011-01-26  8:09       ` Jan Kiszka
2011-01-26 12:01         ` Marcelo Tosatti
2011-01-26 12:06           ` Jan Kiszka
2011-01-10  8:32 ` [PATCH 08/18] kvm: Handle kvm_init_vcpu errors Jan Kiszka
2011-01-10  8:32 ` [PATCH 09/18] Refactor kvm&tcg function names in cpus.c Jan Kiszka
2011-01-10  8:32 ` [PATCH 10/18] Fix a few coding style violations " Jan Kiszka
2011-01-10  8:32 ` [PATCH 11/18] Introduce VCPU self-signaling service Jan Kiszka
2011-01-24 11:47   ` Marcelo Tosatti
2011-01-24 12:36     ` Jan Kiszka
2011-01-10  8:32 ` [PATCH 12/18] kvm: Move irqchip event processing out of inner loop Jan Kiszka
2011-01-10  8:32 ` [PATCH 13/18] kvm: Unconditionally reenter kernel after IO exits Jan Kiszka
2011-01-10  8:32 ` [PATCH 14/18] kvm: Remove static return code of kvm_handle_io Jan Kiszka
2011-01-10  8:32 ` [PATCH 15/18] kvm: Leave kvm_cpu_exec directly after KVM_EXIT_SHUTDOWN Jan Kiszka
2011-01-10  8:32 ` [PATCH 16/18] kvm: Separate TCG from KVM cpu execution Jan Kiszka
2011-01-10  8:32 ` [PATCH 17/18] kvm: x86: Prepare VCPU loop for in-kernel irqchip Jan Kiszka
2011-01-10  8:32 ` [PATCH 18/18] kvm: Drop return values from kvm_arch_pre/post_run Jan Kiszka
2011-01-10 10:10 ` [PATCH 00/18] [uq/master] MCE & IO exit fixes, prepare for VCPU loop reuse Jan Kiszka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1294648329.git.jan.kiszka@web.de \
    --to=jan.kiszka@web.de \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mtosatti@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).