Skip to content

KVM updates for the 2.6.31 merge window (batch 2/3)

Avi Kivity kvm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest46 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/46KVM: VMX: Make flexpriority module parameter reflect hardware capabilityarch/x86/kvm/vmx.c+4 -30 replies
2/46KVM: VMX: Correct wrong vmcs field sizesarch/x86/kvm/vmx.c+6 -60 replies
3/46KVM: MMU: Fix comment in page_fault()arch/x86/kvm/paging_tmpl.h+1 -10 replies
4/46KVM: ia64: enable external interrupt in vmmarch/ia64/kvm/process.c arch/ia64/kvm/vmm_ivt.S arch/ia64/kvm/vtlb.c+16 -100 replies
5/46KVM: MMU: Emulate #PF error code of reserved bits violationarch/x86/include/asm/kvm_host.h arch/x86/kvm/mmu.c arch/x86/kvm/paging_tmpl.h +1 more+88 -00 replies
6/46KVM: MMU: Use different shadows when EFER.NXE changesarch/x86/include/asm/kvm_host.h arch/x86/kvm/x86.c+4 -00 replies
7/46KVM: remove pointless conditional before kfree() in lapic initializationarch/x86/kvm/x86.c+1 -20 replies
8/46KVM: VMX: Clean up Flex Priority relatedarch/x86/kvm/vmx.c+30 -170 replies
9/46KVM: VMX: Fix feature testingarch/x86/kvm/vmx.c+9 -90 replies
10/46KVM: Use rsvd_bits_mask in load_pdptrs()arch/x86/kvm/mmu.c arch/x86/kvm/mmu.h arch/x86/kvm/x86.c+10 -60 replies
11/46KVM: VMX: Fix handling of a fault during NMI unblocked due to IRETarch/x86/kvm/vmx.c+11 -60 replies
12/46KVM: VMX: Rewrite vmx_complete_interrupt()'s twisted maze of if() statementsarch/x86/kvm/vmx.c+25 -180 replies
13/46KVM: VMX: Do not zero idt_vectoring_info in vmx_complete_interrupts().arch/x86/kvm/vmx.c+0 -70 replies
14/46KVM: Fix task switch back link handling.arch/x86/kvm/x86.c+32 -80 replies
15/46KVM: Fix unneeded instruction skipping during task switching.arch/x86/include/asm/svm.h arch/x86/kvm/svm.c arch/x86/kvm/vmx.c +1 more+51 -180 replies
16/46KVM: MMU: Discard reserved bits checking on PDE bit 7-8arch/x86/kvm/mmu.c+4 -30 replies
17/46KVM: x86 emulator: fix call near emulationarch/x86/kvm/x86_emulate.c+0 -10 replies
18/46KVM: ia64: make kvm depend on CONFIG_MODULES.arch/ia64/kvm/Kconfig+1 -10 replies
19/46KVM: PIT: fix count read and mode 0 handlingarch/x86/kvm/i8254.c+15 -110 replies
20/46KVM: Make kvm header C++ friendlyinclude/linux/kvm.h+3 -30 replies
21/46KVM: MMU: remove global page optimization logicarch/x86/include/asm/kvm_host.h arch/x86/kvm/mmu.c arch/x86/kvm/paging_tmpl.h +1 more+8 -560 replies
22/46KVM: x86 emulator: Add decoding of 16bit second immediate argumentarch/x86/kvm/x86_emulate.c+7 -00 replies
23/46KVM: x86 emulator: Add lcall decodingarch/x86/kvm/x86_emulate.c+2 -10 replies
24/46KVM: x86 emulator: Complete ljmp decoding at decode stagearch/x86/kvm/x86_emulate.c+5 -200 replies
25/46KVM: x86 emulator: Complete short/near jcc decoding in decode stagearch/x86/kvm/x86_emulate.c+10 -320 replies
26/46KVM: x86 emulator: Complete decoding of call near in decode stagearch/x86/kvm/x86_emulate.c+2 -130 replies
27/46KVM: x86 emulator: Add unsigned byte immediate decodearch/x86/kvm/x86_emulate.c+11 -60 replies
28/46KVM: x86 emulator: Completely decode in/out at decoding stagearch/x86/kvm/x86_emulate.c+4 -40 replies
29/46KVM: x86 emulator: Decode soft interrupt instructionsarch/x86/kvm/x86_emulate.c+2 -10 replies
30/46KVM: x86 emulator: Add new mode of instruction emulation: skiparch/x86/include/asm/kvm_host.h arch/x86/kvm/x86.c+6 -00 replies
31/46KVM: SVM: Skip instruction on a task switch only when appropriatearch/x86/kvm/svm.c+9 -20 replies
32/46KVM: Replace kvmclock open-coded get_cpu_var() with the real thingarch/x86/kvm/x86.c+6 -50 replies
33/46KVM: ia64: Don't hold slots_lock in guest modearch/ia64/kvm/kvm-ia64.c+33 -310 replies
34/46KVM: x86: check for cr3 validity in ioctl_set_sregsarch/x86/kvm/x86.c+7 -10 replies
35/46KVM: ia64: Flush all TLBs once guest's memory mapping changes.arch/ia64/kvm/kvm-ia64.c+1 -00 replies
36/46KVM: ia64: remove empty function vti_vcpu_load()arch/ia64/kvm/kvm-ia64.c+0 -50 replies
37/46KVM: ia64: restore irq state before calling kvm_vcpu_initarch/ia64/kvm/kvm-ia64.c+1 -20 replies
38/46KVM: ia64: preserve int status through call to kvm_insert_vmm_mappingarch/ia64/kvm/kvm-ia64.c+6 -10 replies
39/46KVM: ia64: ia64 vcpu_reset() do not call kmalloc() with irqs disabledarch/ia64/kvm/kvm-ia64.c+1 -10 replies
40/46KVM: MMU: Fix auditing codearch/x86/kvm/mmu.c+5 -30 replies
41/46KVM: Make kvm_cpu_(has|get)_interrupt() work for userspace irqchip tooarch/x86/kvm/irq.c arch/x86/kvm/svm.c arch/x86/kvm/vmx.c +1 more+25 -150 replies
42/46KVM: VMX: Consolidate userspace and kernel interrupt injection for VMXarch/x86/include/asm/kvm_host.h arch/x86/kvm/svm.c arch/x86/kvm/vmx.c +1 more+19 -580 replies
43/46KVM: VMX: Cleanup vmx_intr_assist()arch/x86/kvm/vmx.c+30 -250 replies
44/46KVM: Use kvm_arch_interrupt_allowed() instead of checking interrupt_window_open directlyarch/x86/kvm/x86.c+2 -30 replies
45/46KVM: SVM: Coalesce userspace/kernel irqchip interrupt injection logicarch/x86/kvm/svm.c+85 -1020 replies
46/46KVM: Remove exception_injected() callback.arch/x86/include/asm/kvm_host.h arch/x86/kvm/svm.c arch/x86/kvm/vmx.c +1 more+0 -150 replies

Reviews trailers per patch

5 of 46 patches have a Reviewed-by or Acked-by.

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

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

Second batch of the 2.6.31 merge window submission. Note there will only be three batches instead of four as advertised in the previous message due to a divide failure. Please review.

Avi Kivity (3):
KVM: VMX: Make flexpriority module parameter reflect hardware
capability
KVM: MMU: Use different shadows when EFER.NXE changes
KVM: Replace kvmclock open-coded get_cpu_var() with the real thing

Dong, Eddie (2):
KVM: MMU: Emulate #PF error code of reserved bits violation
KVM: Use rsvd_bits_mask in load_pdptrs()

Eddie Dong (1):
KVM: MMU: Fix comment in page_fault()

Gleb Natapov (22):
KVM: VMX: Fix handling of a fault during NMI unblocked due to IRET
KVM: VMX: Rewrite vmx_complete_interrupt()'s twisted maze of if()
statements
KVM: VMX: Do not zero idt_vectoring_info in
vmx_complete_interrupts().
KVM: Fix task switch back link handling.
KVM: Fix unneeded instruction skipping during task switching.
KVM: x86 emulator: fix call near emulation
KVM: x86 emulator: Add decoding of 16bit second immediate argument
KVM: x86 emulator: Add lcall decoding
KVM: x86 emulator: Complete ljmp decoding at decode stage
KVM: x86 emulator: Complete short/near jcc decoding in decode stage
KVM: x86 emulator: Complete decoding of call near in decode stage
KVM: x86 emulator: Add unsigned byte immediate decode
KVM: x86 emulator: Completely decode in/out at decoding stage
KVM: x86 emulator: Decode soft interrupt instructions
KVM: x86 emulator: Add new mode of instruction emulation: skip
KVM: SVM: Skip instruction on a task switch only when appropriate
KVM: Make kvm_cpu_(has|get)_interrupt() work for userspace irqchip
too
KVM: VMX: Consolidate userspace and kernel interrupt injection for
VMX
KVM: VMX: Cleanup vmx_intr_assist()
KVM: Use kvm_arch_interrupt_allowed() instead of checking
interrupt_window_open directly
KVM: SVM: Coalesce userspace/kernel irqchip interrupt injection logic
KVM: Remove exception_injected() callback.

Jan Kiszka (1):
KVM: MMU: Fix auditing code

Jes Sorensen (5):
KVM: ia64: Don't hold slots_lock in guest mode
KVM: ia64: remove empty function vti_vcpu_load()
KVM: ia64: restore irq state before calling kvm_vcpu_init
KVM: ia64: preserve int status through call to kvm_insert_vmm_mapping
KVM: ia64: ia64 vcpu_reset() do not call kmalloc() with irqs disabled

Marcelo Tosatti (3):
KVM: PIT: fix count read and mode 0 handling
KVM: MMU: remove global page optimization logic
KVM: x86: check for cr3 validity in ioctl_set_sregs

Sheng Yang (4):
KVM: VMX: Correct wrong vmcs field sizes
KVM: VMX: Clean up Flex Priority related
KVM: VMX: Fix feature testing
KVM: MMU: Discard reserved bits checking on PDE bit 7-8

Wei Yongjun (1):
KVM: remove pointless conditional before kfree() in lapic
initialization

Xiantao Zhang (1):
KVM: ia64: Flush all TLBs once guest's memory mapping changes.

Yang Zhang (1):
KVM: ia64: enable external interrupt in vmm

Zhang, Xiantao (1):
KVM: ia64: make kvm depend on CONFIG_MODULES.

nathan binkert (1):
KVM: Make kvm header C++ friendly

 arch/ia64/kvm/Kconfig           |    2 +-
 arch/ia64/kvm/kvm-ia64.c        |   82 ++++++-----
 arch/ia64/kvm/process.c         |    5 +
 arch/ia64/kvm/vmm_ivt.S         |   18 ++--
 arch/ia64/kvm/vtlb.c            |    3 +-
 arch/x86/include/asm/kvm_host.h |   11 +-
 arch/x86/include/asm/svm.h      |    1 +
 arch/x86/kvm/i8254.c            |   26 ++--
 arch/x86/kvm/irq.c              |    7 +
 arch/x86/kvm/mmu.c              |  136 +++++++++++-------
 arch/x86/kvm/mmu.h              |    5 +
 arch/x86/kvm/paging_tmpl.h      |   15 ++-
 arch/x86/kvm/svm.c              |  226 ++++++++++++++---------------
 arch/x86/kvm/vmx.c              |  303 +++++++++++++++++++--------------------
 arch/x86/kvm/x86.c              |  105 ++++++++++----
 arch/x86/kvm/x86_emulate.c      |  121 ++++++----------
 include/linux/kvm.h             |    6 +-
 17 files changed, 569 insertions(+), 503 deletions(-)