[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 #13 from muncrief (rmuncrief@xxxxxxxxxxxxxxx) ---
Created attachment 287585
  --> https://bugzilla.kernel.org/attachment.cgi?id=287585&action=edit
dmesg crash output with Paolo's latest patch

Hi Paolo. I changed the patch, however it doesn't compile with exactly what you
suggested. You said "!irqchip_in_kernel(vcpu->kvm)" but svm is what's passed to
the function so I had to change it to "!irqchip_in_kernel(&svm->vcpu.kvm)" or
compilation failed. So to be clear the new patch I applied was:

\-      if (!kvm_vcpu_apicv_active(&svm->vcpu))
\+      if (!avic && !irqchip_in_kernel(svm->vcpu.kvm))
                return 0;

        ret = avic_init_backing_page(&svm->vcpu);

However kvm still crashes at boot with the patch from Comment 4 and the new
patch applied. I've attached the dmesg output to this comment. The qemu command
is coming up because I don't see how to attach two files.

-- 
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