From: Jan Kiszka <jan.kiszka@siemens.com>
To: Avi Kivity <avi@redhat.com>, Marcelo Tosatti <mtosatti@redhat.com>
Cc: kvm@vger.kernel.org, TeLeMan <geleman@gmail.com>,
"Riku Voipio" <riku.voipio@iki.fi>,
qemu-devel@nongnu.org, "Alexander Graf" <agraf@suse.de>,
"Andreas Färber" <andreas.faerber@web.de>
Subject: [Qemu-devel] [PATCH v2 00/20] [uq/master] Patch queue, part V (the rest)
Date: Tue, 15 Mar 2011 12:26:11 +0100 [thread overview]
Message-ID: <cover.1300188374.git.jan.kiszka@siemens.com> (raw)
This series catches "all the rest" to prepare QEMU's KVM support for
merging with qemu-kvm. IOW, once these bits here are applied, qemu-kvm
can switch its infrastructure to upstream and is effectively only adding
own bits for in-kernel irqchip and device assignment support.
Topics of this series are:
- support for optimized interrupt handling by hooking cpu_interrupt
- another preparational step for in-kernel irqchip support
- x86: Do not leave halt if interrupts are disabled
- mark VCPU state dirty on creation (fixed deadlock on early hw_error)
- complete KVM support for PAT MSR, some related improvements for TCG
- further consolidation of inner kvm_cpu_exec loop
- expose VCPU host thread ID via "info cpus" and "query-cpus"
Changes in v2:
- Rebased over current uq/master
- Build fix for MAC OS (regression of previous round)
- Fix for x86 hardware breakpoints in TCG mode (regression of previous
round)
- Build fix for s390 (regression of previous round)
- Removed premature optimization from "Install optimized interrupt
handlers"
- Keep KVM_RUN return value in separate variable (cleanup)
- Reorder error handling of KVM_RUN (micro-optimization)
CC: Alexander Graf <agraf@suse.de>
CC: Andreas Färber <andreas.faerber@web.de>
CC: Riku Voipio <riku.voipio@iki.fi>
CC: TeLeMan <geleman@gmail.com>
Jan Kiszka (20):
Implement qemu_kvm_eat_signals only for CONFIG_LINUX
x86: Unbreak TCG support for hardware breakpoints
s390: Detect invalid invocations of qemu_ram_free/remap
Break up user and system cpu_interrupt implementations
Redirect cpu_interrupt to callback handler
kvm: Install optimized interrupt handler
kvm: Add in-kernel irqchip awareness to cpu_thread_is_idle
kvm: x86: Do not leave halt if interrupts are disabled
kvm: Mark VCPU state dirty on creation
x86: Properly reset PAT MSR
x86: Save/restore PAT MSR
kvm: x86: Synchronize PAT MSR with the kernel
kvm: Consider EXIT_DEBUG unknown without CAP_SET_GUEST_DEBUG
kvm: Keep KVM_RUN return value in separate variable
kvm: Reorder error handling of KVM_RUN
kvm: Rework inner loop of kvm_cpu_exec
kvm: Align kvm_arch_handle_exit to kvm_cpu_exec changes
kvm: x86: Reorder functions in kvm.c
kvm: x86: Push kvm_arch_debug to kvm_arch_handle_exit
Expose thread_id in info cpus
cpu-all.h | 14 ++++-
cpu-defs.h | 1 +
cpu-exec.c | 27 +++++++++
cpus.c | 126 ++++++++++++++++++------------------------
exec.c | 25 +++++++--
kvm-all.c | 57 +++++++++----------
kvm.h | 2 -
monitor.c | 4 +
os-posix.c | 10 +++
os-win32.c | 5 ++
osdep.h | 1 +
qmp-commands.hx | 3 +
target-i386/cpu.h | 4 +-
target-i386/cpuid.c | 1 -
target-i386/helper.c | 5 ++
target-i386/kvm.c | 146 +++++++++++++++++++++++++++----------------------
target-i386/machine.c | 2 +
target-ppc/kvm.c | 8 +-
target-s390x/kvm.c | 5 ++
19 files changed, 263 insertions(+), 183 deletions(-)
next reply other threads:[~2011-03-15 11:26 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-15 11:26 Jan Kiszka [this message]
2011-03-15 11:26 ` [Qemu-devel] [PATCH v2 01/20] Implement qemu_kvm_eat_signals only for CONFIG_LINUX Jan Kiszka
2011-03-15 11:26 ` [Qemu-devel] [PATCH v2 02/20] x86: Unbreak TCG support for hardware breakpoints Jan Kiszka
2011-03-15 11:26 ` [Qemu-devel] [PATCH v2 03/20] s390: Detect invalid invocations of qemu_ram_free/remap Jan Kiszka
2011-03-15 11:26 ` [Qemu-devel] [PATCH v2 04/20] Break up user and system cpu_interrupt implementations Jan Kiszka
2011-03-15 11:26 ` [Qemu-devel] [PATCH v2 05/20] Redirect cpu_interrupt to callback handler Jan Kiszka
2011-03-15 11:26 ` [Qemu-devel] [PATCH v2 06/20] kvm: Install optimized interrupt handler Jan Kiszka
2011-03-15 17:10 ` [Qemu-devel] " Marcelo Tosatti
2011-03-15 20:12 ` Jan Kiszka
2011-03-18 10:18 ` Jan Kiszka
2011-03-18 11:29 ` Marcelo Tosatti
2011-03-15 11:26 ` [Qemu-devel] [PATCH v2 07/20] kvm: Add in-kernel irqchip awareness to cpu_thread_is_idle Jan Kiszka
2011-03-15 11:26 ` [Qemu-devel] [PATCH v2 08/20] kvm: x86: Do not leave halt if interrupts are disabled Jan Kiszka
2011-03-15 11:26 ` [Qemu-devel] [PATCH v2 09/20] kvm: Mark VCPU state dirty on creation Jan Kiszka
2011-03-15 11:26 ` [Qemu-devel] [PATCH v2 10/20] x86: Properly reset PAT MSR Jan Kiszka
2011-03-15 11:26 ` [Qemu-devel] [PATCH v2 11/20] x86: Save/restore " Jan Kiszka
2011-03-15 11:26 ` [Qemu-devel] [PATCH v2 12/20] kvm: x86: Synchronize PAT MSR with the kernel Jan Kiszka
2011-03-15 11:26 ` [Qemu-devel] [PATCH v2 13/20] kvm: Consider EXIT_DEBUG unknown without CAP_SET_GUEST_DEBUG Jan Kiszka
2011-03-15 11:26 ` [Qemu-devel] [PATCH v2 14/20] kvm: Keep KVM_RUN return value in separate variable Jan Kiszka
2011-03-15 11:26 ` [Qemu-devel] [PATCH v2 15/20] kvm: Reorder error handling of KVM_RUN Jan Kiszka
2011-03-15 11:26 ` [Qemu-devel] [PATCH v2 16/20] kvm: Rework inner loop of kvm_cpu_exec Jan Kiszka
2011-03-15 11:26 ` [Qemu-devel] [PATCH v2 17/20] kvm: Align kvm_arch_handle_exit to kvm_cpu_exec changes Jan Kiszka
2011-03-15 11:26 ` [Qemu-devel] [PATCH v2 18/20] kvm: x86: Reorder functions in kvm.c Jan Kiszka
2011-03-15 11:26 ` [Qemu-devel] [PATCH v2 19/20] kvm: x86: Push kvm_arch_debug to kvm_arch_handle_exit Jan Kiszka
2011-03-15 11:26 ` [Qemu-devel] [PATCH v2 20/20] Expose thread_id in info cpus Jan Kiszka
2011-03-15 18:35 ` [Qemu-devel] Re: [PATCH v2 00/20] [uq/master] Patch queue, part V (the rest) Marcelo Tosatti
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.1300188374.git.jan.kiszka@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=agraf@suse.de \
--cc=andreas.faerber@web.de \
--cc=avi@redhat.com \
--cc=geleman@gmail.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=riku.voipio@iki.fi \
/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).