Skip to content

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

Avi Kivity kvm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest38 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/38KVM: export <asm/hyperv.h>arch/x86/include/asm/Kbuild+1 -00 replies
2/38KVM: VMX: Remove emulation failure reportarch/x86/kvm/vmx.c+0 -10 replies
3/38KVM: fix Hyper-V hypercall warnings and wrong mask valuearch/x86/kvm/x86.c+6 -60 replies
4/38KVM: fix cleanup_srcu_struct on vm destructionarch/ia64/kvm/kvm-ia64.c arch/powerpc/kvm/powerpc.c arch/s390/kvm/kvm-s390.c +2 more+4 -10 replies
5/38KVM: x86: Use macros for x86_emulate_ops to avoid future mistakesarch/x86/kvm/emulate.c+36 -290 replies
6/38KVM: VMX: Fix exceptions of mov to drarch/x86/kvm/vmx.c+8 -50 replies
7/38KVM: VMX: Fix emulation of DR4 and DR5arch/x86/kvm/vmx.c+26 -90 replies
8/38KVM: VMX: Clean up DR6 emulationarch/x86/kvm/vmx.c+6 -170 replies
9/38KVM: SVM: Clean up and enhance mov dr emulationarch/x86/include/asm/kvm_host.h arch/x86/kvm/svm.c arch/x86/kvm/x86.c+33 -550 replies
10/38KVM: SVM: Trap all debug register accessesarch/x86/kvm/svm.c+13 -10 replies
11/38KVM: Fix kvm_coalesced_mmio_ring duplicate allocationvirt/kvm/kvm_main.c+0 -170 replies
12/38KVM: x86: fix checking of cr0 validityarch/x86/kvm/x86.c+5 -10 replies
13/38KVM: Allow kvm_load_guest_fpu() even when !vcpu->fpu_activearch/x86/kvm/x86.c+3 -20 replies
14/38KVM: Drop kvm_{load,put}_guest_fpu() exportsarch/x86/kvm/x86.c+0 -20 replies
15/38KVM: Activate fpu on cltsarch/x86/include/asm/kvm_host.h arch/x86/kvm/svm.c arch/x86/kvm/vmx.c +1 more+10 -10 replies
16/38KVM: Add a helper for checking if the guest is in protected modearch/x86/kvm/emulate.c arch/x86/kvm/vmx.c arch/x86/kvm/x86.c +1 more+15 -110 replies
17/38KVM: Move cr0/cr4/efer related helpers to x86.harch/x86/kvm/emulate.c arch/x86/kvm/mmu.c arch/x86/kvm/mmu.h +1 more+25 -250 replies
18/38KVM: Rename vcpu->shadow_efer to eferarch/x86/include/asm/kvm_host.h arch/x86/kvm/mmu.c arch/x86/kvm/svm.c +3 more+23 -230 replies
19/38KVM: Optimize kvm_read_cr[04]_bits()arch/x86/kvm/kvm_cache_regs.h+9 -20 replies
20/38KVM: trace guest fpu loads and unloadsarch/x86/kvm/x86.c include/trace/events/kvm.h+21 -00 replies
21/38KVM: MMU: Remove some useless code from alloc_mmu_pages()arch/x86/kvm/mmu.c+2 -50 replies
22/38KVM: PPC E500: Add register l1csr0 emulationarch/powerpc/include/asm/kvm_e500.h arch/powerpc/kvm/e500_emulate.c+7 -00 replies
23/38KVM: PPC: Add PVR/PIR init for E500arch/powerpc/kvm/e500.c+6 -00 replies
24/38KVM: PPC E500: fix tlbcfg emulationarch/powerpc/include/asm/kvm_e500.h arch/powerpc/kvm/e500_emulate.c arch/powerpc/kvm/e500_tlb.c+10 -180 replies
25/38KVM: VMX: Pass cr0.mp through to the guest when the fpu is activearch/x86/kvm/vmx.c+9 -60 replies
26/38KVM: mark segments accessed on HW task switcharch/x86/kvm/x86.c+9 -130 replies
27/38KVM: Fix msr tracearch/x86/kvm/trace.h+8 -80 replies
28/38KVM: Trace failed msr reads and writesarch/x86/kvm/svm.c arch/x86/kvm/trace.h arch/x86/kvm/vmx.c+22 -130 replies
29/38KVM: VMX: Remove redundant check in vm_need_virtualize_apic_accesses()arch/x86/kvm/vmx.c+1 -30 replies
30/38KVM: enable PCI multiple-segments for pass-through devicearch/x86/kvm/x86.c include/linux/kvm.h include/linux/kvm_host.h +2 more+14 -50 replies
31/38KVM: fix load_guest_segment_descriptor() to return X86EMUL_*arch/x86/kvm/x86.c+1 -10 replies
32/38KVM: fix kvm_fix_hypercall() to return X86EMUL_*arch/x86/kvm/x86.c+1 -60 replies
33/38KVM: VMX: Wire up .fpu_activate() callbackarch/x86/kvm/vmx.c+1 -00 replies
34/38KVM: ia64: Fix string literal continuation linesarch/ia64/kvm/mmio.c arch/ia64/kvm/vcpu.c+4 -40 replies
35/38KVM: VMX: Remove redundant test in vmx_set_efer()arch/x86/kvm/vmx.c+0 -20 replies
36/38KVM: Introduce kvm_host_page_sizearch/x86/kvm/mmu.c include/linux/kvm_host.h virt/kvm/kvm_main.c+28 -160 replies
37/38KVM: VMX: emulate accessed bit for EPTarch/x86/kvm/mmu.c+8 -20 replies
38/38KVM: Remove redundant reading of rax on OUT instructionsarch/x86/kvm/x86.c+4 -20 replies

Reviews trailers per patch

4 of 38 patches have a Reviewed-by or Acked-by.

PatchAlexander GrafGleb NatapovChris Wright
1/38
2/38
3/38
4/38
5/38
6/38
7/38
8/38
9/38
10/38
11/38
12/38
13/38
14/38
15/38
16/38
17/38
18/38
19/38
20/38
21/38
22/38A-b
23/38A-b
24/38A-b
25/38Analyzed-by
26/38
27/38
28/38
29/38
30/38A-b
31/38
32/38
33/38
34/38
35/38
36/38
37/38
38/38

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

Read the v1 thread

Cover letter [PATCH 00/38] KVM updates for the 2.6.34 merge window (batch 3/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 (13):
KVM: export <asm/hyperv.h>
KVM: Allow kvm_load_guest_fpu() even when !vcpu->fpu_active
KVM: Drop kvm_{load,put}_guest_fpu() exports
KVM: Activate fpu on clts
KVM: Add a helper for checking if the guest is in protected mode
KVM: Move cr0/cr4/efer related helpers to x86.h
KVM: Rename vcpu->shadow_efer to efer
KVM: Optimize kvm_read_cr[04]_bits()
KVM: trace guest fpu loads and unloads
KVM: VMX: Pass cr0.mp through to the guest when the fpu is active
KVM: Fix msr trace
KVM: Trace failed msr reads and writes
KVM: VMX: Wire up .fpu_activate() callback

Gleb Natapov (3):
KVM: fix Hyper-V hypercall warnings and wrong mask value
KVM: x86: fix checking of cr0 validity
KVM: mark segments accessed on HW task switch

Gui Jianfeng (1):
KVM: VMX: Remove redundant check in
vm_need_virtualize_apic_accesses()

Jan Kiszka (5):
KVM: VMX: Fix exceptions of mov to dr
KVM: VMX: Fix emulation of DR4 and DR5
KVM: VMX: Clean up DR6 emulation
KVM: SVM: Clean up and enhance mov dr emulation
KVM: SVM: Trap all debug register accesses

Joe Perches (1):
KVM: ia64: Fix string literal continuation lines

Joerg Roedel (1):
KVM: Introduce kvm_host_page_size

Julia Lawall (1):
KVM: VMX: Remove redundant test in vmx_set_efer()

Liu Yu (3):
KVM: PPC E500: Add register l1csr0 emulation
KVM: PPC: Add PVR/PIR init for E500
KVM: PPC E500: fix tlbcfg emulation

Marcelo Tosatti (1):
KVM: fix cleanup_srcu_struct on vm destruction

Rik van Riel (1):
KVM: VMX: emulate accessed bit for EPT

Sheng Yang (2):
KVM: VMX: Remove emulation failure report
KVM: Fix kvm_coalesced_mmio_ring duplicate allocation

Takuya Yoshikawa (4):
KVM: x86: Use macros for x86_emulate_ops to avoid future mistakes
KVM: fix load_guest_segment_descriptor() to return X86EMUL_*
KVM: fix kvm_fix_hypercall() to return X86EMUL_*
KVM: Remove redundant reading of rax on OUT instructions

Wei Yongjun (1):
KVM: MMU: Remove some useless code from alloc_mmu_pages()

Zhai, Edwin (1):
KVM: enable PCI multiple-segments for pass-through device

 arch/ia64/kvm/kvm-ia64.c            |    1 +
 arch/ia64/kvm/mmio.c                |    4 +-
 arch/ia64/kvm/vcpu.c                |    4 +-
 arch/powerpc/include/asm/kvm_e500.h |    3 +
 arch/powerpc/kvm/e500.c             |    6 ++
 arch/powerpc/kvm/e500_emulate.c     |   26 +++------
 arch/powerpc/kvm/e500_tlb.c         |    6 ++
 arch/powerpc/kvm/powerpc.c          |    1 +
 arch/s390/kvm/kvm-s390.c            |    1 +
 arch/x86/include/asm/Kbuild         |    1 +
 arch/x86/include/asm/kvm_host.h     |    8 +-
 arch/x86/kvm/emulate.c              |   75 ++++++++++++-----------
 arch/x86/kvm/kvm_cache_regs.h       |   11 +++-
 arch/x86/kvm/mmu.c                  |   38 ++++-------
 arch/x86/kvm/mmu.h                  |   24 -------
 arch/x86/kvm/svm.c                  |  111 +++++++++++++++++++---------------
 arch/x86/kvm/trace.h                |   27 +++++----
 arch/x86/kvm/vmx.c                  |  114 +++++++++++++++++++----------------
 arch/x86/kvm/x86.c                  |  107 ++++++++++++++-------------------
 arch/x86/kvm/x86.h                  |   30 +++++++++
 include/linux/kvm.h                 |    4 +-
 include/linux/kvm_host.h            |    2 +
 include/trace/events/kvm.h          |   19 ++++++
 virt/kvm/assigned-dev.c             |    4 +-
 virt/kvm/iommu.c                    |    9 ++-
 virt/kvm/kvm_main.c                 |   43 ++++++++------
 26 files changed, 373 insertions(+), 306 deletions(-)