Received: from eggs.gnu.org ([140.186.70.92]:32933) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyRep-0000yI-05 for qemu-devel@nongnu.org; Fri, 17 Feb 2012 12:31:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RyRea-0002IA-OO for qemu-devel@nongnu.org; Fri, 17 Feb 2012 12:31:42 -0500 Received: from goliath.siemens.de ([192.35.17.28]:21089) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyRea-0002Gy-4S for qemu-devel@nongnu.org; Fri, 17 Feb 2012 12:31:28 -0500 From: Jan Kiszka Date: Fri, 17 Feb 2012 18:31:12 +0100 Message-Id: Subject: [Qemu-devel] [PATCH v4 00/10] uq/master: TPR access optimization for Windows guests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity , Marcelo Tosatti Cc: Anthony Liguori , Gleb Natapov , kvm@vger.kernel.org, qemu-devel , Blue Swirl , Paolo Bonzini And here is v4: - Changed TPR IP reporting in KVM user space irqchip mode to always report the instruction after the triggering one - Fixed bug that froze TCG with VAPIC enabled during setup (by making run_on_vcpus fully TCG compatible) - Rebased over uq/master - Removed forgotten debug printf The series is also available at git://git.kiszka.org/qemu-kvm.git queues/kvm-tpr Please review/apply. CC: Paolo Bonzini Jan Kiszka (10): kvm: Set cpu_single_env only once Remove useless casts from cpu iterators Process pending work while waiting for initial kick-off in TCG mode Allow to use pause_all_vcpus from VCPU context target-i386: Add infrastructure for reporting TPR MMIO accesses kvmvapic: Add option ROM kvmvapic: Introduce TPR access optimization for Windows guests kvmvapic: Simplify mp/up_set_tpr optionsrom: Reserve space for checksum kvmvapic: Use optionrom helpers .gitignore | 1 + Makefile | 2 +- Makefile.target | 3 +- cpu-all.h | 3 +- cpus.c | 26 ++- hw/apic.c | 126 ++++++- hw/apic.h | 2 + hw/apic_common.c | 69 ++++- hw/apic_internal.h | 27 ++ hw/kvm/apic.c | 32 ++ hw/kvmvapic.c | 805 +++++++++++++++++++++++++++++++++++++++++ hw/mc146818rtc.c | 5 +- kvm-all.c | 5 - pc-bios/optionrom/Makefile | 2 +- pc-bios/optionrom/kvmvapic.S | 335 +++++++++++++++++ pc-bios/optionrom/optionrom.h | 3 +- target-i386/cpu.h | 10 + target-i386/helper.c | 16 + target-i386/kvm.c | 25 ++- 19 files changed, 1467 insertions(+), 30 deletions(-) create mode 100644 hw/kvmvapic.c create mode 100644 pc-bios/optionrom/kvmvapic.S -- 1.7.3.4