Skip to content

KVM updates for the 2.6.34 merge window (batch 4/4)

Avi Kivity kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20KVM: Fix Codestyle in virt/kvm/coalesced_mmio.cvirt/kvm/coalesced_mmio.c+2 -20 replies
2/20KVM: MMU: Add tracepoint for guest page agingarch/x86/kvm/mmu.c include/trace/events/kvm.h+30 -30 replies
3/20KVM: VMX: Rename VMX_EPT_IGMT_BIT to VMX_EPT_IPAT_BITarch/x86/include/asm/vmx.h arch/x86/kvm/vmx.c+3 -30 replies
4/20KVM: PIT: unregister kvm irq notifier if fail to create pitarch/x86/kvm/i8254.c+3 -20 replies
5/20KVM: kvm->arch.vioapic should be NULL if kvm_ioapic_init() failurevirt/kvm/ioapic.c+3 -10 replies
6/20KVM: cleanup the failure path of KVM_CREATE_IRQCHIP ioctrlarch/x86/kvm/i8259.c arch/x86/kvm/irq.h arch/x86/kvm/x86.c +2 more+28 -40 replies
7/20KVM: ia64: destroy ioapic device if fail to setup default irq routingarch/ia64/kvm/kvm-ia64.c+1 -10 replies
8/20KVM: ppc/booke: Set ESR and DEAR when inject interrupt to guestarch/powerpc/include/asm/kvm_host.h arch/powerpc/kvm/booke.c arch/powerpc/kvm/emulate.c+48 -170 replies
9/20KVM: do not store wqh in irqfdvirt/kvm/eventfd.c+0 -30 replies
10/20KVM: x86 emulator: Add group8 instruction decodingarch/x86/kvm/emulate.c+6 -10 replies
11/20KVM: x86 emulator: Add group9 instruction decodingarch/x86/kvm/emulate.c+7 -20 replies
12/20KVM: x86 emulator: Add Virtual-8086 mode of emulationarch/x86/include/asm/kvm_emulate.h arch/x86/kvm/emulate.c arch/x86/kvm/x86.c+10 -60 replies
13/20KVM: x86 emulator: fix memory access during x86 emulationarch/x86/include/asm/kvm_emulate.h arch/x86/include/asm/kvm_host.h arch/x86/kvm/emulate.c +4 more+142 -5011 replies
14/20KVM: x86 emulator: Check IOPL level during io instruction emulationarch/x86/include/asm/kvm_host.h arch/x86/kvm/emulate.c arch/x86/kvm/x86.c+87 -130 replies
15/20KVM: x86 emulator: Fix popf emulationarch/x86/kvm/emulate.c+54 -10 replies
16/20KVM: x86 emulator: Check CPL level during privilege instruction emulationarch/x86/kvm/emulate.c+20 -150 replies
17/20KVM: x86 emulator: Add LOCK prefix validity checkingarch/x86/kvm/emulate.c+56 -410 replies
18/20KVM: Plan obsolescence of kernel allocated slots, paravirt mmuDocumentation/feature-removal-schedule.txt+30 -00 replies
19/20KVM: x86 emulator: code style cleanuparch/x86/kvm/emulate.c+1 -10 replies
20/20KVM: x86 emulator: disallow opcode 82 in 64-bit modearch/x86/kvm/emulate.c+8 -80 replies

Reviews trailers per patch

2 of 20 patches have a Reviewed-by or Acked-by.

PatchHollis BlanchardAlexander GrafMarcelo TosattiStefan Bader
1/20
2/20
3/20
4/20A-b
5/20
6/20
7/20
8/20A-b A-b
9/20
10/20
11/20
12/20
13/20T-b
14/20
15/20
16/20
17/20
18/20
19/20
20/20

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 00/20] KVM updates for the 2.6.34 merge window (batch 4/4)

This is the first of four batches of patches for the 2.6.34 merge window. KVM changes for this cycle include:

- rdtscp support
- powerpc server-class updates
- much improved large-guest scaling (now up to 64 vcpus)
- improved guest fpu handling
- initial Hyper-V emulation
- better swapping with EPT
- 1GB pages on Intel
- x86 emulator fixes

as well as the usual assortment of random fixes and improvements.

Avi Kivity (2):
KVM: MMU: Add tracepoint for guest page aging
KVM: Plan obsolescence of kernel allocated slots, paravirt mmu

Gleb Natapov (9):
KVM: x86 emulator: Add group8 instruction decoding
KVM: x86 emulator: Add group9 instruction decoding
KVM: x86 emulator: Add Virtual-8086 mode of emulation
KVM: x86 emulator: fix memory access during x86 emulation
KVM: x86 emulator: Check IOPL level during io instruction emulation
KVM: x86 emulator: Fix popf emulation
KVM: x86 emulator: Check CPL level during privilege instruction
emulation
KVM: x86 emulator: Add LOCK prefix validity checking
KVM: x86 emulator: disallow opcode 82 in 64-bit mode

Jochen Maes (1):
KVM: Fix Codestyle in virt/kvm/coalesced_mmio.c

Liu Yu (1):
KVM: ppc/booke: Set ESR and DEAR when inject interrupt to guest

Michael S. Tsirkin (1):
KVM: do not store wqh in irqfd

Sheng Yang (1):
KVM: VMX: Rename VMX_EPT_IGMT_BIT to VMX_EPT_IPAT_BIT

Wei Yongjun (5):
KVM: PIT: unregister kvm irq notifier if fail to create pit
KVM: kvm->arch.vioapic should be NULL if kvm_ioapic_init() failure
KVM: cleanup the failure path of KVM_CREATE_IRQCHIP ioctrl
KVM: ia64: destroy ioapic device if fail to setup default irq routing
KVM: x86 emulator: code style cleanup

 Documentation/feature-removal-schedule.txt |   30 +++
 arch/ia64/kvm/kvm-ia64.c                   |    2 +-
 arch/powerpc/include/asm/kvm_host.h        |    2 +
 arch/powerpc/kvm/booke.c                   |   59 ++++--
 arch/powerpc/kvm/emulate.c                 |    4 +-
 arch/x86/include/asm/kvm_emulate.h         |   15 ++-
 arch/x86/include/asm/kvm_host.h            |    8 +-
 arch/x86/include/asm/vmx.h                 |    2 +-
 arch/x86/kvm/emulate.c                     |  300 +++++++++++++++++++++-------
 arch/x86/kvm/i8254.c                       |    5 +-
 arch/x86/kvm/i8259.c                       |   11 +
 arch/x86/kvm/irq.h                         |    1 +
 arch/x86/kvm/mmu.c                         |   28 ++--
 arch/x86/kvm/mmu.h                         |    6 +
 arch/x86/kvm/paging_tmpl.h                 |   11 +-
 arch/x86/kvm/vmx.c                         |    4 +-
 arch/x86/kvm/x86.c                         |  152 ++++++++++----
 include/trace/events/kvm.h                 |   22 ++
 virt/kvm/coalesced_mmio.c                  |    4 +-
 virt/kvm/eventfd.c                         |    3 -
 virt/kvm/ioapic.c                          |   15 ++-
 virt/kvm/ioapic.h                          |    1 +
 22 files changed, 525 insertions(+), 160 deletions(-)