Skip to content

KVM Updates for the 2.6.30 merge window (1/3)

Avi Kivity kvm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest40 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/40KVM: SVM: Clean up VINTR settingarch/x86/kvm/svm.c+15 -50 replies
2/40KVM: SVM: Move EFER and MSR constants to generic x86 codearch/x86/include/asm/kvm_host.h arch/x86/include/asm/msr-index.h arch/x86/include/asm/svm.h +2 more+12 -80 replies
3/40KVM: SVM: Add helper functions for nested SVMarch/x86/kvm/svm.c+85 -00 replies
4/40KVM: SVM: Implement GIF, clgi and stgiarch/x86/include/asm/kvm_host.h arch/x86/kvm/svm.c+45 -50 replies
5/40KVM: SVM: Implement hsavearch/x86/kvm/kvm_svm.h arch/x86/kvm/svm.c arch/x86/kvm/x86.c+16 -10 replies
6/40KVM: SVM: Add VMLOAD and VMSAVE handlersarch/x86/kvm/svm.c+58 -20 replies
7/40KVM: SVM: Add VMRUN handlerarch/x86/include/asm/kvm_host.h arch/x86/kvm/kvm_svm.h arch/x86/kvm/svm.c+165 -20 replies
8/40KVM: SVM: Add VMEXIT handler and interceptsarch/x86/kvm/svm.c+293 -00 replies
9/40KVM: SVM: Allow read access to MSR_VM_VRarch/x86/kvm/svm.c+3 -00 replies
10/40KVM: SVM: Allow setting the SVME bitarch/x86/kvm/svm.c+8 -00 replies
11/40KVM: SVM: Only allow setting of EFER_SVME when CPUID SVM is setarch/x86/kvm/x86.c+42 -160 replies
12/40KVM: VMX: Support for injecting software exceptionsarch/x86/include/asm/vmx.h arch/x86/kvm/vmx.c+22 -160 replies
13/40KVM: New guest debug interfacearch/ia64/include/asm/kvm.h arch/ia64/kvm/kvm-ia64.c arch/powerpc/include/asm/kvm.h +11 more+179 -1010 replies
14/40KVM: VMX: Allow single-stepping when uninterruptiblearch/x86/kvm/vmx.c+10 -00 replies
15/40KVM: x86: Virtualize debug registersarch/x86/include/asm/kvm_host.h arch/x86/include/asm/vmx.h arch/x86/kvm/kvm_svm.h +3 more+193 -960 replies
16/40KVM: x86: Wire-up hardware breakpoints for guest debuggingarch/x86/kvm/svm.c arch/x86/kvm/vmx.c arch/x86/kvm/x86.c+23 -10 replies
17/40KVM: ia64: stack get/restore patcharch/ia64/include/asm/kvm.h arch/ia64/include/asm/kvm_host.h arch/ia64/kvm/kvm-ia64.c +1 more+104 -40 replies
18/40KVM: Remove old kvm_guest_debug structsarch/ia64/include/asm/kvm_host.h arch/powerpc/include/asm/kvm_host.h arch/s390/include/asm/kvm_host.h+0 -110 replies
19/40KVM: ia64: Code cleanuparch/ia64/kvm/process.c arch/ia64/kvm/vcpu.c arch/ia64/kvm/vtlb.c+2 -570 replies
20/40KVM: MMU: Inherit a shadow page's guest level count from vcpu setuparch/x86/include/asm/kvm_host.h arch/x86/kvm/mmu.c+12 -60 replies
21/40KVM: MMU: Segregate mmu pages created with different cr4.pge settingsarch/x86/include/asm/kvm_host.h arch/x86/kvm/x86.c+2 -00 replies
22/40KVM: MMU: Initialize a shadow page's global attribute from cr4.pgearch/x86/kvm/mmu.c+1 -30 replies
23/40KVM: Fix vmload and friends misinterpreted as lidtarch/x86/kvm/x86_emulate.c+10 -50 replies
24/40KVM: Advertise guest debug capability per-archinclude/linux/kvm.h+2 -00 replies
25/40KVM: MMU: Add for_each_shadow_entry(), a simpler alternative to walk_shadow()arch/x86/kvm/mmu.c+49 -200 replies
26/40KVM: MMU: Use for_each_shadow_entry() in __direct_map()arch/x86/kvm/mmu.c+29 -540 replies
27/40KVM: MMU: Replace walk_shadow() by for_each_shadow_entry() in fetch()arch/x86/kvm/paging_tmpl.h+58 -700 replies
28/40KVM: MMU: Replace walk_shadow() by for_each_shadow_entry() in invlpg()arch/x86/kvm/paging_tmpl.h+32 -490 replies
29/40KVM: MMU: Drop walk_shadow()arch/x86/kvm/mmu.c+0 -200 replies
30/40KVM: VMX: initialize TSC offset relative to vm creation timearch/x86/include/asm/kvm_host.h arch/x86/kvm/vmx.c arch/x86/kvm/x86.c+14 -80 replies
31/40KVM: introduce kvm_read_guest_virt, kvm_write_guest_virtarch/x86/include/asm/kvm_host.h arch/x86/kvm/x86.c+42 -180 replies
32/40KVM: remove the vmap usagearch/x86/kvm/x86.c include/linux/kvm_types.h+14 -510 replies
33/40KVM: Fallback support for MSR_VM_HSAVE_PAarch/x86/kvm/x86.c+2 -00 replies
34/40KVM: PIT: provide an option to disable interrupt reinjectionarch/x86/include/asm/kvm.h arch/x86/kvm/i8254.c arch/x86/kvm/i8254.h +2 more+35 -00 replies
35/40KVM: Move struct kvm_pio_request into x86 kvm_host.harch/x86/include/asm/kvm_host.h include/linux/kvm_types.h+12 -120 replies
36/40KVM: ppc: move struct kvmppc_44x_tlbe into 44x-specific headerarch/powerpc/include/asm/kvm_44x.h arch/powerpc/include/asm/kvm_host.h+7 -70 replies
37/40KVM: ppc: cosmetic changes to mmu hook namesarch/powerpc/include/asm/kvm_ppc.h arch/powerpc/kvm/44x_tlb.c arch/powerpc/kvm/powerpc.c+5 -40 replies
38/40KVM: ppc: small cosmetic changes to Book E DTLB miss handlerarch/powerpc/kvm/booke.c+5 -30 replies
39/40KVM: ppc: change kvmppc_mmu_map() parametersarch/powerpc/include/asm/kvm_ppc.h arch/powerpc/kvm/44x_tlb.c arch/powerpc/kvm/booke.c+9 -130 replies
40/40KVM: ppc: turn tlb_xlate() into a per-core hook (and give it a better name)arch/powerpc/include/asm/kvm_ppc.h arch/powerpc/kvm/44x.c arch/powerpc/kvm/44x_tlb.c +2 more+15 -200 replies

Reviews trailers per patch

10 of 40 patches have a Reviewed-by or Acked-by.

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

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/40] KVM Updates for the 2.6.30 merge window (1/3)

This is the first batch of three containing the current 2.6.30 patch queue for review.

Changes include nested virtualization on AMD hosts, ppc e500 support, improved guest debugging support, better performance and improved emulation accuracy.

Alexander Graf (10):
KVM: SVM: Clean up VINTR setting
KVM: SVM: Move EFER and MSR constants to generic x86 code
KVM: SVM: Add helper functions for nested SVM
KVM: SVM: Implement GIF, clgi and stgi
KVM: SVM: Implement hsave
KVM: SVM: Add VMLOAD and VMSAVE handlers
KVM: SVM: Add VMRUN handler
KVM: SVM: Add VMEXIT handler and intercepts
KVM: SVM: Allow setting the SVME bit
KVM: SVM: Only allow setting of EFER_SVME when CPUID SVM is set

Avi Kivity (11):
KVM: MMU: Inherit a shadow page's guest level count from vcpu setup
KVM: MMU: Segregate mmu pages created with different cr4.pge settings
KVM: MMU: Initialize a shadow page's global attribute from cr4.pge
KVM: Fix vmload and friends misinterpreted as lidt
KVM: MMU: Add for_each_shadow_entry(), a simpler alternative to
walk_shadow()
KVM: MMU: Use for_each_shadow_entry() in __direct_map()
KVM: MMU: Replace walk_shadow() by for_each_shadow_entry() in fetch()
KVM: MMU: Replace walk_shadow() by for_each_shadow_entry() in
invlpg()
KVM: MMU: Drop walk_shadow()
KVM: Fallback support for MSR_VM_HSAVE_PA
KVM: Move struct kvm_pio_request into x86 kvm_host.h

Hollis Blanchard (5):
KVM: ppc: move struct kvmppc_44x_tlbe into 44x-specific header
KVM: ppc: cosmetic changes to mmu hook names
KVM: ppc: small cosmetic changes to Book E DTLB miss handler
KVM: ppc: change kvmppc_mmu_map() parameters
KVM: ppc: turn tlb_xlate() into a per-core hook (and give it a better
name)

Izik Eidus (2):
KVM: introduce kvm_read_guest_virt, kvm_write_guest_virt
KVM: remove the vmap usage

Jan Kiszka (7):
KVM: VMX: Support for injecting software exceptions
KVM: New guest debug interface
KVM: VMX: Allow single-stepping when uninterruptible
KVM: x86: Virtualize debug registers
KVM: x86: Wire-up hardware breakpoints for guest debugging
KVM: Remove old kvm_guest_debug structs
KVM: Advertise guest debug capability per-arch

Jes Sorensen (1):
KVM: ia64: stack get/restore patch

Joerg Roedel (1):
KVM: SVM: Allow read access to MSR_VM_VR

Marcelo Tosatti (2):
KVM: VMX: initialize TSC offset relative to vm creation time
KVM: PIT: provide an option to disable interrupt reinjection

Xiantao Zhang (1):
KVM: ia64: Code cleanup

 arch/ia64/include/asm/kvm.h         |   14 +
 arch/ia64/include/asm/kvm_host.h    |    8 +-
 arch/ia64/kvm/kvm-ia64.c            |   96 ++++-
 arch/ia64/kvm/process.c             |   15 -
 arch/ia64/kvm/vcpu.c                |   39 +--
 arch/ia64/kvm/vtlb.c                |    5 -
 arch/powerpc/include/asm/kvm.h      |    7 +
 arch/powerpc/include/asm/kvm_44x.h  |    7 +
 arch/powerpc/include/asm/kvm_host.h |   13 -
 arch/powerpc/include/asm/kvm_ppc.h  |    8 +-
 arch/powerpc/kvm/44x.c              |    6 +-
 arch/powerpc/kvm/44x_tlb.c          |   27 +-
 arch/powerpc/kvm/44x_tlb.h          |    7 -
 arch/powerpc/kvm/booke.c            |   20 +-
 arch/powerpc/kvm/powerpc.c          |    6 +-
 arch/s390/include/asm/kvm.h         |    7 +
 arch/s390/include/asm/kvm_host.h    |    3 -
 arch/s390/kvm/kvm-s390.c            |    4 +-
 arch/x86/include/asm/kvm.h          |   23 +
 arch/x86/include/asm/kvm_host.h     |   54 ++-
 arch/x86/include/asm/msr-index.h    |    7 +
 arch/x86/include/asm/svm.h          |    4 -
 arch/x86/include/asm/virtext.h      |    2 +-
 arch/x86/include/asm/vmx.h          |    5 +-
 arch/x86/kvm/i8254.c                |    4 +
 arch/x86/kvm/i8254.h                |    1 +
 arch/x86/kvm/kvm_svm.h              |   16 +-
 arch/x86/kvm/mmu.c                  |  171 ++++----
 arch/x86/kvm/paging_tmpl.h          |  209 ++++-----
 arch/x86/kvm/svm.c                  |  863 +++++++++++++++++++++++++++++++----
 arch/x86/kvm/vmx.c                  |  268 +++++++----
 arch/x86/kvm/x86.c                  |  261 +++++++----
 arch/x86/kvm/x86_emulate.c          |   15 +-
 include/linux/kvm.h                 |   60 ++-
 include/linux/kvm_host.h            |    6 +-
 include/linux/kvm_types.h           |   13 -
 virt/kvm/kvm_main.c                 |    6 +-
 37 files changed, 1611 insertions(+), 669 deletions(-)