Skip to content

uq/master: TPR access optimization for Windows guests

Jan Kiszka kvm qemu-devel 3 versions – Applied

Status from this message: Applied to uq/master, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest10 patches 1 replyApplied
  2. v39 patches 3 repliesSuperseded
  3. v28 patches 36 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/10kvm: Set cpu_single_env only oncecpus.c kvm-all.c+1 -50 replies
2/10Remove useless casts from cpu iteratorscpus.c+4 -40 replies
3/10Process pending work while waiting for initial kick-off in TCG modecpus.c+5 -00 replies
4/10Allow to use pause_all_vcpus from VCPU contextcpus.c+12 -00 replies
5/10target-i386: Add infrastructure for reporting TPR MMIO accessescpu-all.h hw/apic.h hw/apic_common.c +4 more+62 -40 replies
6/10kvmvapic: Add option ROM.gitignore Makefile pc-bios/optionrom/Makefile +1 more+344 -20 replies
7/10kvmvapic: Introduce TPR access optimization for Windows guestsMakefile.target hw/apic.c hw/apic_common.c +3 more+1043 -140 replies
8/10kvmvapic: Simplify mp/up_set_tprpc-bios/optionrom/kvmvapic.S+1 -50 replies
9/10optionsrom: Reserve space for checksumpc-bios/optionrom/optionrom.h+2 -10 replies
10/10kvmvapic: Use optionrom helperspc-bios/optionrom/kvmvapic.S+8 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 00/10] uq/master: TPR access optimization for Windows guests

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 <[email protected]>

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
Signature · 1 line
1.7.3.4