On 10/07/2015 at 05:40 PM Joerg Roedel wrote: > On Tue, Oct 06, 2015 at 08:37:59PM +0200, Andreas Hartmann wrote: >> But there is another problem w/ 4.3-rc2: Starting a VM w/ PCIe >> passthrough doesn't work any more. I'm getting the attached null pointer >> dereference and the machine hangs. > > Weird, probably a do_detach call for a device that is already detached. > Anyway, I can't reproduce this here on my two AMD IOMMU machines. Can > you please boot the machine with amd_iommu_dump on the kernel command > line and send me dmesg after boot? Binding the device to vfio isn't a problem (it's done before the vm is started). The problem occurs during start of qemu-system-x86_64 (2.3.0). The attached dmesg.out doesn't show the trace, but the desired iommu dump. > Also, which device are you trying to attach to the guest (pci > bus/device/function)? See attached ath9k.device. > Output of lspci might also be helpful. I attached lscpi and dmesg. Hope that helps, thanks, Andreas
Attachment:
dmesg.out.gz
Description: GNU Zip compressed data
Attachment:
lspci.gz
Description: GNU Zip compressed data
Attachment:
ath9k.device.gz
Description: GNU Zip compressed data