From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:33395) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxK4c-0000EB-Oh for qemu-devel@nongnu.org; Tue, 14 Feb 2012 10:13:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RxK4I-0004aR-7t for qemu-devel@nongnu.org; Tue, 14 Feb 2012 10:13:42 -0500 Received: from thoth.sbs.de ([192.35.17.2]:20705) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxK4H-0004Zr-TS for qemu-devel@nongnu.org; Tue, 14 Feb 2012 10:13:22 -0500 From: Jan Kiszka Date: Tue, 14 Feb 2012 16:13:06 +0100 Message-Id: Subject: [Qemu-devel] [PATCH v3 0/9] 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 v3 comes with the following changes: - clear TPR access report on system reset (in case we load a guest without the option ROM) - addressed review comments on details in kvmvapic.c - streamlined 16-bit VAPIC port handling - included cleanup for useless next_cpu casts in cpus.c (to avoid conflicts on merge) The series is also available at git://git.kiszka.org/qemu-kvm.git queues/kvm-tpr Please review/apply. CC: Paolo Bonzini Jan Kiszka (9): kvm: Set cpu_single_env only once Remove useless casts from cpu iterators 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 | 21 +- hw/apic.c | 126 ++++++- hw/apic.h | 2 + hw/apic_common.c | 68 ++++- hw/apic_internal.h | 27 ++ hw/kvm/apic.c | 32 ++ hw/kvmvapic.c | 803 +++++++++++++++++++++++++++++++++++++++++ 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 | 11 + target-i386/helper.c | 19 + target-i386/kvm.c | 24 ++- 18 files changed, 1458 insertions(+), 29 deletions(-) create mode 100644 hw/kvmvapic.c create mode 100644 pc-bios/optionrom/kvmvapic.S -- 1.7.3.4