Skip to content

: Fix kdump under KVM

Chris Lalancette kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Fix up some comments around the source tree.arch/x86/kvm/svm.c virt/kvm/ioapic.c virt/kvm/kvm_main.c+3 -30 replies
2/5Remove KVM_REQ_PENDING_TIMER.arch/x86/kvm/timer.c arch/x86/kvm/x86.c include/linux/kvm_host.h+1 -60 replies
3/5Remove references to VCPU in i8254arch/x86/kvm/i8254.c arch/x86/kvm/i8254.h arch/x86/kvm/irq.c +2 more+50 -130 replies
4/5Remove timer.carch/x86/kvm/Makefile arch/x86/kvm/kvm_timer.h arch/x86/kvm/lapic.c +1 more+34 -530 replies
5/5Fix kdump under KVM.arch/x86/kvm/i8254.c arch/x86/kvm/lapic.c arch/x86/kvm/lapic.h +3 more+28 -1112 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5]: Fix kdump under KVM

This patch series aims to get kdump working inside a KVM guest. The current problem with using kdump is that KVM always delivers PIT interrupts to the BSP, and the BSP only. While this is technically allowed by the MPS spec, most motherboards actually deliver timer interrupts to *any* LAPIC in virtual wire mode. Since a crash can occur on any CPU, timer interrupts must be able to reach any CPU in order for kdump to work properly.

Therefore, this patch series kicks all of the relevant vCPUs when delivering a timer interrupt. With these patches in place, kdump in a RHEL-5 guest works properly.