RE: [PATCH 1/2] kvm: qemu: add warning message when assign device without IOMMU

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

 



Avi Kivity wrote:
> Han, Weidong wrote:
>> When user wants to assign device with IOMMU, but IOMMU is not
>> enabled, add warning messages to prompt user this situation, and
>> return error. Or device will be assigned but it cannot work.
>> 
> 
> If the device has does not do DMA (say a serial port) then it can be
> assigned.  Can we check the device for dma capability and allow this
> special case?

Do you have any hint to check it? This warning be triggered only when user wants to assign device with IOMMU. If user doesn't want to use IOMMU to assign device, he can use "-pcidevice host=xx:yy.z,dma=none". 

Regards,
Weidong

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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