Skip to content

KVM updates for the 2.6.33 merge window (batch 2/2)

Avi Kivity kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest35 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/35KVM: SVM: Add tracepoint for #vmexit because intr pendingarch/x86/kvm/svm.c arch/x86/kvm/trace.h arch/x86/kvm/x86.c+20 -10 replies
2/35KVM: SVM: Add tracepoint for invlpga instructionarch/x86/kvm/svm.c arch/x86/kvm/trace.h arch/x86/kvm/x86.c+27 -00 replies
3/35KVM: SVM: Add tracepoint for skinit instructionarch/x86/kvm/svm.c arch/x86/kvm/trace.h arch/x86/kvm/x86.c+32 -10 replies
4/35KVM: SVM: Remove nsvm_printk debugging codearch/x86/kvm/svm.c+0 -340 replies
5/35KVM: introduce kvm_vcpu_on_spininclude/linux/kvm_host.h virt/kvm/kvm_main.c+16 -00 replies
6/35KVM: VMX: Add support for Pause-Loop Exitingarch/x86/include/asm/vmx.h arch/x86/kvm/vmx.c+54 -10 replies
7/35KVM: SVM: Support Pause Filter in AMD processorsarch/x86/include/asm/svm.h arch/x86/kvm/svm.c+15 -10 replies
8/35KVM: x86: Harden against cpufreqarch/x86/kvm/x86.c+12 -40 replies
9/35KVM: VMX: fix handle_pause declarationarch/x86/kvm/vmx.c+1 -10 replies
10/35KVM: x86: Drop unneeded CONFIG_HAS_IOMEM checkarch/x86/kvm/x86.c+0 -20 replies
11/35KVM: Xen PV-on-HVM guest supportDocumentation/kvm/api.txt arch/x86/include/asm/kvm.h arch/x86/include/asm/kvm_host.h +2 more+89 -00 replies
12/35KVM: x86: Fix guest single-stepping while interruptiblearch/x86/include/asm/kvm_host.h arch/x86/kvm/x86.c+32 -190 replies
13/35KVM: SVM: Cleanup NMI singlesteparch/x86/include/asm/kvm_host.h arch/x86/kvm/svm.c+7 -60 replies
14/35KVM: fix irq_source_id size verificationvirt/kvm/irq_comm.c+3 -40 replies
15/35KVM: allow userspace to adjust kvmclock offsetDocumentation/kvm/api.txt arch/x86/include/asm/kvm_host.h arch/x86/kvm/x86.c +1 more+88 -13 replies
16/35KVM: Enable 32bit dirty log pointers on 64bit hostvirt/kvm/kvm_main.c+50 -10 replies
17/35KVM: VMX: Use macros instead of hex value on cr0 initializationarch/x86/kvm/vmx.c+1 -10 replies
18/35KVM: SVM: Reset cr0 properly on vcpu resetarch/x86/kvm/svm.c+5 -40 replies
19/35KVM: SVM: init_vmcb(): remove redundant save->cr0 initializationarch/x86/kvm/svm.c+0 -20 replies
20/35KVM: VMX: Move MSR_KERNEL_GS_BASE out of the vmx autoload msr areaarch/x86/kvm/vmx.c+26 -130 replies
21/35KVM: x86 shared msr infrastructurearch/x86/include/asm/kvm_host.h arch/x86/kvm/Kconfig arch/x86/kvm/x86.c+85 -00 replies
22/35KVM: VMX: Use shared msr infrastructurearch/x86/kvm/vmx.c+42 -700 replies
23/35KVM: powerpc: Fix BUILD_BUG_ON conditionarch/powerpc/kvm/timing.h+1 -10 replies
24/35KVM: remove duplicated task_switch checkarch/x86/kvm/x86.c+0 -50 replies
25/35KVM: VMX: move CR3/PDPTR update to vmx_set_cr3arch/x86/kvm/vmx.c arch/x86/kvm/x86.c+4 -50 replies
26/35KVM: MMU: update invlpg handler commentarch/x86/kvm/paging_tmpl.h+0 -10 replies
27/35KVM: VMX: Remove vmx->msr_offset_eferarch/x86/kvm/vmx.c+3 -70 replies
28/35KVM: x86: disallow multiple KVM_CREATE_IRQCHIParch/x86/kvm/irq.h arch/x86/kvm/x86.c+27 -90 replies
29/35KVM: x86: disallow KVM_{SET,GET}_LAPIC without allocated in-kernel lapicarch/x86/kvm/x86.c+6 -00 replies
30/35KVM: only clear irq_source_id if irqchip is presentvirt/kvm/irq_comm.c+4 -10 replies
31/35KVM: x86: Polish exception injection via KVM_SET_GUEST_DEBUGarch/x86/kvm/x86.c+14 -60 replies
32/35KVM: Reorder IOCTLs in main kvm.hinclude/linux/kvm.h+117 -1180 replies
33/35KVM: Allow internal errors reported to userspace to carry extra dataarch/x86/kvm/mmu.c arch/x86/kvm/vmx.c include/linux/kvm.h +1 more+7 -00 replies
34/35KVM: VMX: Report unexpected simultaneous exceptions as internal errorsarch/x86/kvm/vmx.c include/linux/kvm.h+9 -30 replies
35/35KVM: x86: Add KVM_GET/SET_VCPU_EVENTSDocumentation/kvm/api.txt arch/x86/include/asm/kvm.h arch/x86/include/asm/kvm_host.h +4 more+214 -00 replies

Reviews trailers per patch

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

PatchGleb NatapovAcked-by: Sheng Yang
1/35
2/35
3/35
4/35
5/35
6/35
7/35
8/35
9/35
10/35
11/35
12/35
13/35A-b
14/35
15/35
16/35
17/35
18/35
19/35
20/35
21/35
22/35
23/35
24/35
25/35A-b
26/35
27/35
28/35
29/35
30/35
31/35
32/35
33/35
34/35
35/35

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/35] KVM updates for the 2.6.33 merge window (batch 2/2)

Highlights:
- improved kernel context switching speed
- better interoperation with other users of virtualization extensions
- improved irq scaling
- nested svm improvements and tracing
- improved cpufreq integration
- spin loop detection on newer hardware

Notes:
- kvm/ppc64 support will be merged through the powerpc tree
- depends on tip x86/entry branch (user return notifiers)

Arnd Bergmann (1):
KVM: Enable 32bit dirty log pointers on 64bit host

Avi Kivity (6):
KVM: VMX: Move MSR_KERNEL_GS_BASE out of the vmx autoload msr area
KVM: x86 shared msr infrastructure
KVM: VMX: Use shared msr infrastructure
KVM: VMX: Remove vmx->msr_offset_efer
KVM: Allow internal errors reported to userspace to carry extra data
KVM: VMX: Report unexpected simultaneous exceptions as internal
errors

Ed Swierk (1):
KVM: Xen PV-on-HVM guest support

Eduardo Habkost (3):
KVM: VMX: Use macros instead of hex value on cr0 initialization
KVM: SVM: Reset cr0 properly on vcpu reset
KVM: SVM: init_vmcb(): remove redundant save->cr0 initialization

Glauber Costa (1):
KVM: allow userspace to adjust kvmclock offset

Gleb Natapov (1):
KVM: remove duplicated task_switch check

Hollis Blanchard (1):
KVM: powerpc: Fix BUILD_BUG_ON condition

Jan Kiszka (6):
KVM: x86: Drop unneeded CONFIG_HAS_IOMEM check
KVM: x86: Fix guest single-stepping while interruptible
KVM: SVM: Cleanup NMI singlestep
KVM: x86: Polish exception injection via KVM_SET_GUEST_DEBUG
KVM: Reorder IOCTLs in main kvm.h
KVM: x86: Add KVM_GET/SET_VCPU_EVENTS

Joerg Roedel (4):
KVM: SVM: Add tracepoint for #vmexit because intr pending
KVM: SVM: Add tracepoint for invlpga instruction
KVM: SVM: Add tracepoint for skinit instruction
KVM: SVM: Remove nsvm_printk debugging code

Marcelo Tosatti (7):
KVM: VMX: fix handle_pause declaration
KVM: fix irq_source_id size verification
KVM: VMX: move CR3/PDPTR update to vmx_set_cr3
KVM: MMU: update invlpg handler comment
KVM: x86: disallow multiple KVM_CREATE_IRQCHIP
KVM: x86: disallow KVM_{SET,GET}_LAPIC without allocated in-kernel
lapic
KVM: only clear irq_source_id if irqchip is present

Mark Langsdorf (1):
KVM: SVM: Support Pause Filter in AMD processors

Zachary Amsden (1):
KVM: x86: Harden against cpufreq

Zhai, Edwin (2):
KVM: introduce kvm_vcpu_on_spin
KVM: VMX: Add support for Pause-Loop Exiting

 Documentation/kvm/api.txt       |  109 +++++++++++
 arch/powerpc/kvm/timing.h       |    2 +-
 arch/x86/include/asm/kvm.h      |   29 +++
 arch/x86/include/asm/kvm_host.h |   13 ++-
 arch/x86/include/asm/svm.h      |    3 +-
 arch/x86/include/asm/vmx.h      |    4 +
 arch/x86/kvm/Kconfig            |    1 +
 arch/x86/kvm/irq.h              |    6 +-
 arch/x86/kvm/mmu.c              |    1 +
 arch/x86/kvm/paging_tmpl.h      |    1 -
 arch/x86/kvm/svm.c              |  107 ++++++-----
 arch/x86/kvm/trace.h            |   63 +++++++
 arch/x86/kvm/vmx.c              |  253 ++++++++++++++++----------
 arch/x86/kvm/x86.c              |  379 ++++++++++++++++++++++++++++++++++-----
 include/linux/kvm.h             |  264 +++++++++++++++------------
 include/linux/kvm_host.h        |    1 +
 virt/kvm/irq_comm.c             |   12 +-
 virt/kvm/kvm_main.c             |   67 +++++++-
 18 files changed, 1002 insertions(+), 313 deletions(-)