[Bug 206579] KVM with passthrough generates "BUG: kernel NULL pointer dereference" and crashes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=206579

--- Comment #31 from Suravee Suthikulpanit (suravee.suthikulpanit@xxxxxxx) ---
(In reply to muncrief from comment #27)
> Created attachment 287667 [details]
> avic_inhibit_reasons debug information

Thanks for the info
> With host-passthrough the avic_inhibit_reasons value immediately changed
> from 0 to 20, and then a few seconds later changed to 28.
> 
> With the EPYC-IBPB the avic_inhibit_reasons value immediately changed from 0
> to 16, and then a few seconds later changed to 24.

24 means: 
APICV_INHIBIT_REASON_IRQWIN
APICV_INHIBIT_REASON_PIT_REINJ

Looking at the QEMU command line, you might need to either:
  1. Specify "-machine kernel_irqchip=split" (default to "on")
Or 
  2. Specify "-global kvm-pit.lost_tick_policy=discard" (default to "delay")

Please give this a try.

Suravee

-- 
You are receiving this mail because:
You are watching the assignee of the bug.



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux