Re: [Qemu-devel] Host kernel panic when shutdown the pass-through QLogic HBA Card VM

2017-03-13 Thread Alex Williamson
On Wed, 8 Mar 2017 10:05:20 + "Gaofeng (GaoFeng, Euler)" wrote: > The pass-through VM make the host kernel panic when it shutdown. > I read the kernel code and find the reason of panic is : > BUG_ON(domain_type_is_vm_or_si(domain)); > in domain_get_iommu function. So it seems that __intel_ma

[Qemu-devel] Host kernel panic when shutdown the pass-through QLogic HBA Card VM

2017-03-08 Thread Gaofeng (GaoFeng, Euler)
The pass-through VM make the host kernel panic when it shutdown. I read the kernel code and find the reason of panic is : BUG_ON(domain_type_is_vm_or_si(domain)); in domain_get_iommu function. The normal logic does not come to this function, it should be return when __intel_map_single call functi