On Thu, Aug 17, 2017 at 09:37:10AM +0800, Lan Tianyu wrote: > On 2017年08月16日 19:21, Paolo Bonzini wrote: > > On 16/08/2017 02:22, Lan Tianyu wrote: > >> Xen vIOMMU device model will be in Xen hypervisor. Skip vIOMMU > >> check for Xen here when vcpu number is more than 255. > > > > I think you still need to do a check for vIOMMU being enabled. > > Yes, this will be done in the Xen tool stack and Qemu doesn't have such > knowledge. Operations of create, destroy Xen vIOMMU will be done in the > Xen tool stack.
Shouldn't we make QEMU have knowledge of the vIOMMU device, then? Won't QEMU need to know about it eventually? -- Eduardo