OS hangs up while taking kdump for guest OS when hypervisor type is qemu and processor model is Haswell
Issue
- When hypervisor type is qemu and processor model is Haswell, kdump for guest OS always fails with the following messages:
[ 0.438000] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.438000] ..MP-BIOS bug: 8254 timer not connected to IO-APIC
[ 0.438000] ...trying to set up timer (IRQ0) through the 8259A ...
[ 0.438000] ..... (found apic 0 pin 2) ...
[ 0.438000] ....... failed.
[ 0.438000] ...trying to set up timer as Virtual Wire IRQ...
- [Steps to reproduce]
-
Create virtual machine with hypervisor type kvm by using virt-manager on the host OS, and install RHEL7.3 to the VM.
-
Change hypervisor type to qemu and processor model to Haswell by using virsh edit command.
-
In guest OS, start kdump service.
(crahskernel parameter should be properly set. /etc/kdump.conf and /etc/sysconfig/kdump is not need to be changed from default.) -
Take a dump by using kdump in the guest OS, by executing following commands.
# echo 1 > /proc/sys/kernel/sysrq # echo c > /proc/sysrq-trigger
- Note that if the hypervisor type is kvm or processor model is another one such as Conroe, this issue doesn't happen.
Environment
-
KVM host
- Red Hat Enterprise Linux 7
- Intel(R) Xeon(R) CPU E5-2620 v3(Haswell)
-
KVM guest
- Red Hat Enterprise Linux 7
- hypervisor type: qemu
- processor type for VM: Haswell
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.