On Sat, Dec 22, 2018 at 12:19:20AM +0800, Yu Zhang wrote: > > I'd like to avoid poking at the CPU from VTD code. That's all. > > OK. So for the short term,how about I remove the check of host cpu, and add a > TODO > in the comments in vtd_decide_config()?
My question would be what happens on an incorrect use? And how does user figure out which values to set? > As to the check against hardware IOMMU, Peter once had a proposal in > http://lists.nongnu.org/archive/html/qemu-devel/2018-11/msg02281.html > > Do you have any comment or suggestion on Peter's proposal? Sounds reasonable to me. Do we do it on vfio attach or unconditionally? > I still do not quite know > how to do it for now... > > [...] > > > B.R. > Yu -- MST