qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/8] uq/master: TPR access optimization for Windows guests
@ 2012-02-10 18:31 Jan Kiszka
  2012-02-10 18:31 ` [Qemu-devel] [PATCH v2 1/8] kvm: Set cpu_single_env only once Jan Kiszka
                   ` (7 more replies)
  0 siblings, 8 replies; 45+ messages in thread
From: Jan Kiszka @ 2012-02-10 18:31 UTC (permalink / raw)
  To: Avi Kivity, Marcelo Tosatti
  Cc: Paolo Bonzini, Anthony Liguori, qemu-devel, kvm, Gleb Natapov

Here is v2 of the TPR access optimization. Changes:
 - plug race between patching and running VCPUs accessing the same TPR
   instruction by stopping VCPUs during patch process
 - realized forward/backward check in evaluate_tpr_instruction via a
   table but kept patch_instruction as is (too much variations for a
   table-driven approach)
 - dropped smp_cpus == 1 special case from get_kpcr_number
 - fixed comment why R/W ROM alias has to be page-aligned

The series is also available at

    git://git.kiszka.org/qemu-kvm.git queues/kvm-tpr

Please review/apply.

CC: Paolo Bonzini <pbonzini@redhat.com>

Jan Kiszka (8):
  kvm: Set cpu_single_env only once
  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                        |   13 +
 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                 |  774 +++++++++++++++++++++++++++++++++++++++++
 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             |    9 +
 target-i386/helper.c          |   19 +
 target-i386/kvm.c             |   24 ++-
 18 files changed, 1423 insertions(+), 25 deletions(-)
 create mode 100644 hw/kvmvapic.c
 create mode 100644 pc-bios/optionrom/kvmvapic.S

-- 
1.7.3.4

^ permalink raw reply	[flat|nested] 45+ messages in thread

end of thread, other threads:[~2012-02-14  8:59 UTC | newest]

Thread overview: 45+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-10 18:31 [Qemu-devel] [PATCH v2 0/8] uq/master: TPR access optimization for Windows guests Jan Kiszka
2012-02-10 18:31 ` [Qemu-devel] [PATCH v2 1/8] kvm: Set cpu_single_env only once Jan Kiszka
2012-02-11 10:02   ` Blue Swirl
2012-02-11 10:06     ` Jan Kiszka
2012-02-11 11:25       ` Blue Swirl
2012-02-11 11:49         ` Andreas Färber
2012-02-11 12:43           ` Jan Kiszka
2012-02-11 13:06             ` Andreas Färber
2012-02-11 13:07               ` Jan Kiszka
2012-02-11 13:21                 ` Andreas Färber
2012-02-11 13:35                   ` Jan Kiszka
2012-02-11 13:59                     ` Andreas Färber
2012-02-11 14:02                       ` Jan Kiszka
2012-02-11 14:12                         ` Andreas Färber
2012-02-11 14:24                           ` Jan Kiszka
2012-02-11 14:49                             ` Andreas Färber
2012-02-13  8:17                           ` Paolo Bonzini
2012-02-11 13:54             ` Blue Swirl
2012-02-11 14:00               ` Jan Kiszka
2012-02-11 14:11                 ` Blue Swirl
2012-02-11 14:18                   ` Jan Kiszka
2012-02-11 14:23                     ` Blue Swirl
2012-02-11 12:41         ` Jan Kiszka
2012-02-10 18:31 ` [Qemu-devel] [PATCH v2 2/8] Allow to use pause_all_vcpus from VCPU context Jan Kiszka
2012-02-11 14:16   ` Blue Swirl
2012-02-11 14:31     ` Jan Kiszka
2012-02-10 18:31 ` [Qemu-devel] [PATCH v2 3/8] target-i386: Add infrastructure for reporting TPR MMIO accesses Jan Kiszka
2012-02-11 14:32   ` Blue Swirl
2012-02-10 18:31 ` [Qemu-devel] [PATCH v2 4/8] kvmvapic: Add option ROM Jan Kiszka
2012-02-10 18:31 ` [Qemu-devel] [PATCH v2 5/8] kvmvapic: Introduce TPR access optimization for Windows guests Jan Kiszka
2012-02-11 15:25   ` Blue Swirl
2012-02-13 10:16     ` Jan Kiszka
2012-02-13 18:50       ` Blue Swirl
2012-02-13 19:11         ` Gleb Natapov
2012-02-13 19:22         ` Jan Kiszka
2012-02-14  7:54           ` Gleb Natapov
2012-02-14  8:55             ` Jan Kiszka
2012-02-14  8:59               ` Gleb Natapov
2012-02-10 18:31 ` [Qemu-devel] [PATCH v2 6/8] kvmvapic: Simplify mp/up_set_tpr Jan Kiszka
2012-02-10 18:31 ` [Qemu-devel] [PATCH v2 7/8] optionsrom: Reserve space for checksum Jan Kiszka
2012-02-11 11:46   ` Andreas Färber
2012-02-11 12:45     ` Jan Kiszka
2012-02-11 12:51       ` Andreas Färber
2012-02-11 12:57         ` Jan Kiszka
2012-02-10 18:31 ` [Qemu-devel] [PATCH v2 8/8] kvmvapic: Use optionrom helpers Jan Kiszka

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).