On 18/08/2017 18:38, Eduardo Habkost wrote: >>> 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?
No, it actually makes sense since Xen hosts all system-wide interrupt sources outside QEMU, unlike KVM which only hosts the (per-CPU) local APIC. Paolo