Skip to content

KVM Updates for 2.6.28 merge window (part 1 of 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: VMX: Rename misnamed msr bitsarch/x86/kvm/vmx.c arch/x86/kvm/vmx.h+11 -110 replies
2/40KVM: x86: accessors for guest registersarch/x86/kvm/kvm_cache_regs.h arch/x86/kvm/lapic.c arch/x86/kvm/svm.c +4 more+264 -2330 replies
3/40KVM: Move KVM TRACE DEFINITIONS to common headerinclude/asm-x86/kvm.h include/asm-x86/kvm_host.h include/linux/kvm.h +1 more+40 -400 replies
4/40KVM: Introduce kvm_set_irq to inject interrupts in guestsarch/x86/kvm/irq.c arch/x86/kvm/irq.h+13 -00 replies
5/40KVM: MMU: Separate the code for unlinking a shadow page from its parentsarch/x86/kvm/mmu.c+7 -20 replies
6/40KVM: MMU: Simplify kvm_mmu_zap_page()arch/x86/kvm/mmu.c+5 -90 replies
7/40KVM: Move NMI IRET fault processing to new vmx_complete_interrupts()arch/x86/kvm/vmx.c+24 -120 replies
8/40KVM: VMX: Move nmi injection failure processing to vm exit patharch/x86/kvm/vmx.c include/asm-x86/kvm_host.h+33 -170 replies
9/40KVM: Clear exception queue before emulating an instructionarch/x86/kvm/x86.c arch/x86/kvm/x86.h+13 -00 replies
10/40KVM: VMX: Fix pending exception processingarch/x86/kvm/vmx.c+12 -30 replies
11/40KVM: Add a pending interrupt queuearch/x86/kvm/x86.h include/asm-x86/kvm_host.h+16 -00 replies
12/40KVM: VMX: Move interrupt post-processing to vmx_complete_interrupts()arch/x86/kvm/vmx.c+20 -570 replies
13/40KVM: VMX: Remove redundant check in handle_rmode_exceptionarch/x86/kvm/vmx.c+0 -30 replies
14/40KVM: Consolidate PIC isr clearing into a functionarch/x86/kvm/i8259.c+12 -60 replies
15/40KVM: Consolidate XX_VECTOR definesarch/x86/kvm/svm.c arch/x86/kvm/vmx.c include/asm-x86/kvm_host.h+2 -50 replies
16/40KVM: VMX: Reinject real mode exceptionarch/x86/kvm/vmx.c include/asm-x86/kvm_host.h+43 -20 replies
17/40KVM: VMX: Unify register save/restore across 32 and 64 bit hostsarch/x86/kvm/vmx.c+36 -540 replies
18/40KVM: SVM: Unify register save/restore across 32 and 64 bit hostsarch/x86/kvm/svm.c+26 -520 replies
19/40KVM: kvmtrace: Remove use of bit fields in kvm trace structureinclude/linux/kvm.h virt/kvm/kvm_trace.c+23 -110 replies
20/40KVM: kvmtrace: replace get_cycles with ktime_get v3include/linux/kvm.h virt/kvm/kvm_trace.c+13 -120 replies
21/40KVM: ppc: enable KVM_TRACE building for powerpcarch/powerpc/kvm/Kconfig arch/powerpc/kvm/Makefile+15 -20 replies
22/40KVM: ppc: adds trace points for ppc tlb activityarch/powerpc/kvm/44x_tlb.c arch/powerpc/kvm/emulate.c include/linux/kvm.h+21 -10 replies
23/40KVM: ppc: trace powerpc instruction emulationarch/powerpc/kvm/emulate.c include/linux/kvm.h+3 -00 replies
24/40KVM: VMX: Avoid vmwrite(HOST_RSP) when possiblearch/x86/kvm/vmx.c+6 -00 replies
25/40KVM: Ignore DEBUGCTL MSRs with no effectarch/x86/kvm/x86.c+17 -00 replies
26/40KVM: ppc: guest breakpoint supportarch/powerpc/include/asm/kvm_host.h arch/powerpc/kvm/booke_guest.c arch/powerpc/kvm/booke_interrupts.S +1 more+113 -20 replies
27/40KVM: ppc: Stop saving host TLB statearch/powerpc/include/asm/kvm_host.h arch/powerpc/kernel/asm-offsets.c arch/powerpc/kvm/booke_interrupts.S+3 -170 replies
28/40KVM: ppc: Write only modified shadow entries into the TLB on exitarch/powerpc/include/asm/kvm_host.h arch/powerpc/include/asm/kvm_ppc.h arch/powerpc/kernel/asm-offsets.c +3 more+64 -180 replies
29/40KVM: powerpc: Map guest userspace with TID=0 mappingsarch/powerpc/include/asm/kvm_host.h arch/powerpc/include/asm/kvm_ppc.h arch/powerpc/kernel/asm-offsets.c +4 more+41 -190 replies
30/40KVM: Add irq ack notifier listarch/x86/kvm/irq.c arch/x86/kvm/irq.h include/asm-x86/kvm_host.h+34 -00 replies
31/40KVM: irq ack notificationarch/x86/kvm/i8259.c arch/x86/kvm/irq.c arch/x86/kvm/irq.h +3 more+34 -130 replies
32/40KVM: PIT: fix injection logic and countarch/x86/kvm/i8254.c arch/x86/kvm/i8254.h arch/x86/kvm/irq.c+38 -400 replies
33/40x86: paravirt: factor out cpu_khz to common codearch/x86/kernel/pvclock.c arch/x86/xen/time.c include/asm-x86/pvclock.h+15 -90 replies
34/40x86: KVM guest: use paravirt function to calculate cpu khzarch/x86/kernel/kvmclock.c+30 -00 replies
35/40KVM: direct mmio pfn checkvirt/kvm/kvm_main.c+15 -70 replies
36/40KVM: pci device assignmentarch/x86/kvm/x86.c include/asm-x86/kvm_host.h include/linux/kvm.h+278 -00 replies
37/40KVM: Reduce kvm stack usage in kvm_arch_vm_ioctl()arch/x86/kvm/x86.c+45 -270 replies
38/40KVM: Reduce stack usage in kvm_vcpu_ioctl()virt/kvm/kvm_main.c+28 -180 replies
39/40KVM: Reduce stack usage in kvm_arch_vcpu_ioctl()arch/x86/kvm/x86.c+15 -80 replies
40/40KVM: Reduce stack usage in kvm_pv_mmu_op()arch/x86/kvm/mmu.c include/asm-x86/kvm_host.h+18 -150 replies

Reviews trailers per patch

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

PatchChristian Borntraeger
1/40
2/40
3/40
4/40
5/40
6/40
7/40
8/40
9/40
10/40
11/40
12/40
13/40
14/40
15/40
16/40
17/40
18/40
19/40
20/40A-b
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 2.6.28 merge window (part 1 of 3)

Here are the first 40 patches (out of 104, currently) for the 2.6.28 merge window.

Linux 2.6.28 KVM will introduce support for pci device assignment and will improve overall emulation accuracy.

Alexander Graf (1):
KVM: Ignore DEBUGCTL MSRs with no effect

Amit Shah (1):
KVM: Introduce kvm_set_irq to inject interrupts in guests

Avi Kivity (13):
KVM: MMU: Separate the code for unlinking a shadow page from its
parents
KVM: MMU: Simplify kvm_mmu_zap_page()
KVM: Move NMI IRET fault processing to new vmx_complete_interrupts()
KVM: VMX: Move nmi injection failure processing to vm exit path
KVM: Clear exception queue before emulating an instruction
KVM: VMX: Fix pending exception processing
KVM: Add a pending interrupt queue
KVM: VMX: Move interrupt post-processing to vmx_complete_interrupts()
KVM: Consolidate PIC isr clearing into a function
KVM: VMX: Unify register save/restore across 32 and 64 bit hosts
KVM: SVM: Unify register save/restore across 32 and 64 bit hosts
KVM: VMX: Avoid vmwrite(HOST_RSP) when possible
KVM: Add irq ack notifier list

Ben-Ami Yassour (2):
KVM: direct mmio pfn check
KVM: pci device assignment

Christian Ehrhardt (3):
KVM: kvmtrace: Remove use of bit fields in kvm trace structure
KVM: kvmtrace: replace get_cycles with ktime_get v3
KVM: ppc: trace powerpc instruction emulation

Dave Hansen (4):
KVM: Reduce kvm stack usage in kvm_arch_vm_ioctl()
KVM: Reduce stack usage in kvm_vcpu_ioctl()
KVM: Reduce stack usage in kvm_arch_vcpu_ioctl()
KVM: Reduce stack usage in kvm_pv_mmu_op()

Glauber Costa (2):
x86: paravirt: factor out cpu_khz to common code
x86: KVM guest: use paravirt function to calculate cpu khz

Hollis Blanchard (5):
KVM: Move KVM TRACE DEFINITIONS to common header
KVM: ppc: guest breakpoint support
KVM: ppc: Stop saving host TLB state
KVM: ppc: Write only modified shadow entries into the TLB on exit
KVM: powerpc: Map guest userspace with TID=0 mappings

Jan Kiszka (2):
KVM: Consolidate XX_VECTOR defines
KVM: VMX: Reinject real mode exception

Jerone Young (2):
KVM: ppc: enable KVM_TRACE building for powerpc
KVM: ppc: adds trace points for ppc tlb activity

Marcelo Tosatti (3):
KVM: x86: accessors for guest registers
KVM: irq ack notification
KVM: PIT: fix injection logic and count

Mohammed Gamal (1):
KVM: VMX: Remove redundant check in handle_rmode_exception

Sheng Yang (1):
KVM: VMX: Rename misnamed msr bits

 arch/powerpc/include/asm/kvm_host.h |   14 +-
 arch/powerpc/include/asm/kvm_ppc.h  |   12 +
 arch/powerpc/kernel/asm-offsets.c   |    4 +-
 arch/powerpc/kvm/44x_tlb.c          |   49 +++-
 arch/powerpc/kvm/Kconfig            |   11 +
 arch/powerpc/kvm/Makefile           |    6 +-
 arch/powerpc/kvm/booke_guest.c      |   17 +
 arch/powerpc/kvm/booke_interrupts.S |   79 +++--
 arch/powerpc/kvm/emulate.c          |    8 +-
 arch/powerpc/kvm/powerpc.c          |   99 ++++++-
 arch/x86/kernel/kvmclock.c          |   30 ++
 arch/x86/kernel/pvclock.c           |   12 +
 arch/x86/kvm/i8254.c                |   70 ++--
 arch/x86/kvm/i8254.h                |    7 +-
 arch/x86/kvm/i8259.c                |   30 ++-
 arch/x86/kvm/irq.c                  |   36 ++-
 arch/x86/kvm/irq.h                  |   10 +-
 arch/x86/kvm/kvm_cache_regs.h       |   32 ++
 arch/x86/kvm/lapic.c                |   11 +-
 arch/x86/kvm/mmu.c                  |   46 ++--
 arch/x86/kvm/svm.c                  |  138 +++-----
 arch/x86/kvm/vmx.c                  |  428 +++++++++++++------------
 arch/x86/kvm/vmx.h                  |    4 +-
 arch/x86/kvm/x86.c                  |  623 ++++++++++++++++++++++++++---------
 arch/x86/kvm/x86.h                  |   22 ++
 arch/x86/kvm/x86_emulate.c          |   19 +-
 arch/x86/xen/time.c                 |   11 +-
 include/asm-x86/kvm.h               |   22 --
 include/asm-x86/kvm_host.h          |   77 +++--
 include/asm-x86/pvclock.h           |    1 +
 include/linux/kvm.h                 |   67 ++++-
 include/linux/kvm_host.h            |   19 +
 virt/kvm/ioapic.c                   |   20 +-
 virt/kvm/ioapic.h                   |    3 +-
 virt/kvm/kvm_main.c                 |   68 +++--
 virt/kvm/kvm_trace.c                |   30 +-
 36 files changed, 1428 insertions(+), 707 deletions(-)
 create mode 100644 arch/x86/kvm/kvm_cache_regs.h
 create mode 100644 arch/x86/kvm/x86.h