Skip to content

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

Avi Kivity kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest42 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/42core, x86: Add user return notifiersarch/Kconfig arch/x86/Kconfig arch/x86/include/asm/thread_info.h +4 more+109 -20 replies
2/42x86: Fix user return notifier buildkernel/Makefile+1 -00 replies
3/42x86: Fix user return notifier put_cpu_var() invocationkernel/user-return-notifier.c+1 -10 replies
4/42KVM: Don't wrap schedule() with vcpu_put()/vcpu_load()virt/kvm/kvm_main.c+0 -20 replies
5/42KVM: x86 emulator: Add 'push/pop sreg' instructionsarch/x86/kvm/emulate.c+101 -60 replies
6/42KVM: x86 emulator: Introduce No64 decode optionarch/x86/kvm/emulate.c+14 -280 replies
7/42KVM: Don't pass kvm_run argumentsarch/x86/include/asm/kvm_host.h arch/x86/kvm/emulate.c arch/x86/kvm/mmu.c +3 more+141 -1420 replies
8/42KVM: Call pic_clear_isr() on pic reset to reuse logic therearch/x86/kvm/i8259.c+9 -130 replies
9/42KVM: Move irq sharing information to irqchip levelarch/x86/include/asm/kvm_host.h arch/x86/kvm/irq.h include/linux/kvm_host.h +2 more+39 -250 replies
10/42KVM: Change irq routing table to use gsi indexed arrayinclude/linux/kvm_host.h virt/kvm/irq_comm.c virt/kvm/kvm_main.c+71 -390 replies
11/42KVM: Maintain back mapping from irqchip/pin to gsiarch/ia64/include/asm/kvm.h arch/x86/include/asm/kvm.h include/linux/kvm_host.h +1 more+25 -170 replies
12/42KVM: Move irq routing data structure to rcu lockingvirt/kvm/irq_comm.c+11 -50 replies
13/42KVM: Move irq ack notifier list to arch independent codearch/ia64/include/asm/kvm_host.h arch/x86/include/asm/kvm_host.h include/linux/kvm_host.h +2 more+4 -50 replies
14/42KVM: Convert irq notifiers lists to RCU lockingvirt/kvm/irq_comm.c+12 -100 replies
15/42KVM: Move IO APIC to its own lockarch/ia64/kvm/kvm-ia64.c arch/x86/kvm/i8259.c arch/x86/kvm/lapic.c +4 more+100 -510 replies
16/42KVM: Drop kvm->irq_lock lock from irq injection patharch/ia64/kvm/kvm-ia64.c arch/x86/kvm/i8254.c arch/x86/kvm/lapic.c +4 more+1 -170 replies
17/42KVM: Return -ENOTTY on unrecognized ioctlsarch/ia64/kvm/kvm-ia64.c arch/powerpc/kvm/powerpc.c arch/s390/kvm/kvm-s390.c +1 more+4 -40 replies
18/42KVM: Move assigned device code to own filearch/ia64/kvm/Makefile arch/x86/kvm/Makefile include/linux/kvm_host.h +2 more+840 -7980 replies
19/42KVM: x86 emulator: Add missing decoder flags for 'or' instructionsarch/x86/kvm/emulate.c+2 -10 replies
20/42KVM: x86 emulator: Add pusha and popa instructionsarch/x86/kvm/emulate.c+47 -10 replies
21/42KVM: VMX: Enhance invalid guest state emulationarch/x86/kvm/vmx.c+20 -240 replies
22/42KVM: SVM: remove needless mmap_sem acquision from nested_svm_maparch/x86/kvm/svm.c+0 -30 replies
23/42KVM: Activate Virtualization On Demandarch/ia64/kvm/kvm-ia64.c arch/powerpc/kvm/powerpc.c arch/s390/kvm/kvm-s390.c +6 more+108 -2813 replies
24/42KVM: remove duplicated #includearch/x86/kvm/lapic.c+0 -10 replies
25/42KVM: SVM: reorganize svm_interrupt_allowedarch/x86/kvm/svm.c+12 -40 replies
26/42KVM: SVM: don't copy exit_int_info on nested vmrunarch/x86/kvm/svm.c+0 -20 replies
27/42KVM: SVM: Remove remaining occurences of rdtscllarch/x86/kvm/svm.c+3 -40 replies
28/42KVM: fix lock imbalance in kvm_*_irq_source_id()virt/kvm/irq_comm.c+5 -20 replies
29/42KVM: Separate timer intialization into an indepedent functionarch/x86/kvm/x86.c+15 -80 replies
30/42KVM: Kill the confusing tsc_ref_khz and ref_freq variablesarch/x86/kvm/x86.c+16 -100 replies
31/42KVM: Fix printk name error in svm.carch/x86/kvm/svm.c+3 -20 replies
32/42KVM: Fix hotplug of CPUsarch/x86/kvm/svm.c arch/x86/kvm/vmx.c+6 -40 replies
33/42KVM: remove pre_task_link setting in save_state_to_tss16arch/x86/kvm/x86.c+0 -10 replies
34/42KVM: x86: Refactor guest debug IOCTL handlingarch/x86/include/asm/kvm_host.h arch/x86/kvm/svm.c arch/x86/kvm/vmx.c +1 more+26 -380 replies
35/42KVM: x86: disable paravirt mmu reportingarch/x86/kvm/x86.c+2 -20 replies
36/42KVM: x86: Rework guest single-step flag injection and filteringarch/x86/include/asm/kvm_host.h arch/x86/kvm/x86.c+48 -320 replies
37/42KVM: x86: include pvclock MSRs in msrs_to_savearch/x86/kvm/x86.c+8 -40 replies
38/42KVM: SVM: Notify nested hypervisor of lost event injectionsarch/x86/kvm/svm.c+16 -00 replies
39/42KVM: SVM: Move INTR vmexit out of atomic codearch/x86/kvm/svm.c+25 -10 replies
40/42KVM: SVM: Add tracepoint for nested vmrunarch/x86/kvm/svm.c arch/x86/kvm/trace.h arch/x86/kvm/x86.c+40 -00 replies
41/42KVM: SVM: Add tracepoint for nested #vmexitarch/x86/kvm/svm.c arch/x86/kvm/trace.h arch/x86/kvm/x86.c+43 -00 replies
42/42KVM: SVM: Add tracepoint for injected #vmexitarch/x86/kvm/svm.c arch/x86/kvm/trace.h arch/x86/kvm/x86.c+40 -00 replies

Reviews trailers per patch

1 of 42 patches has a Reviewed-by or Acked-by.

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

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

Alexander Graf (2):
KVM: Activate Virtualization On Demand
KVM: SVM: Notify nested hypervisor of lost event injections

Avi Kivity (6):
core, x86: Add user return notifiers
x86: Fix user return notifier build
KVM: Don't wrap schedule() with vcpu_put()/vcpu_load()
KVM: Don't pass kvm_run arguments
KVM: Return -ENOTTY on unrecognized ioctls
KVM: Move assigned device code to own file

Glauber Costa (1):
KVM: x86: include pvclock MSRs in msrs_to_save

Gleb Natapov (9):
KVM: Call pic_clear_isr() on pic reset to reuse logic there
KVM: Move irq sharing information to irqchip level
KVM: Change irq routing table to use gsi indexed array
KVM: Maintain back mapping from irqchip/pin to gsi
KVM: Move irq routing data structure to rcu locking
KVM: Move irq ack notifier list to arch independent code
KVM: Convert irq notifiers lists to RCU locking
KVM: Move IO APIC to its own lock
KVM: Drop kvm->irq_lock lock from irq injection path

Huang Weiyi (1):
KVM: remove duplicated #include

Jan Kiszka (2):
KVM: x86: Refactor guest debug IOCTL handling
KVM: x86: Rework guest single-step flag injection and filtering

Jiri Slaby (1):
KVM: fix lock imbalance in kvm_*_irq_source_id()

Joerg Roedel (7):
KVM: SVM: reorganize svm_interrupt_allowed
KVM: SVM: don't copy exit_int_info on nested vmrun
KVM: SVM: Remove remaining occurences of rdtscll
KVM: SVM: Move INTR vmexit out of atomic code
KVM: SVM: Add tracepoint for nested vmrun
KVM: SVM: Add tracepoint for nested #vmexit
KVM: SVM: Add tracepoint for injected #vmexit

Juan Quintela (1):
KVM: remove pre_task_link setting in save_state_to_tss16

Marcelo Tosatti (2):
KVM: SVM: remove needless mmap_sem acquision from nested_svm_map
KVM: x86: disable paravirt mmu reporting

Mohammed Gamal (5):
KVM: x86 emulator: Add 'push/pop sreg' instructions
KVM: x86 emulator: Introduce No64 decode option
KVM: x86 emulator: Add missing decoder flags for 'or' instructions
KVM: x86 emulator: Add pusha and popa instructions
KVM: VMX: Enhance invalid guest state emulation

Stephen Rothwell (1):
x86: Fix user return notifier put_cpu_var() invocation

Zachary Amsden (4):
KVM: Separate timer intialization into an indepedent function
KVM: Kill the confusing tsc_ref_khz and ref_freq variables
KVM: Fix printk name error in svm.c
KVM: Fix hotplug of CPUs