Re: [Qemu-devel] [PATCH v4 1/1] intel_iommu: Add support for translation for devices behind bridges

2015-10-04 Thread Knut Omang
On Sun, 2015-09-27 at 13:07 +0300, Michael S. Tsirkin wrote: > On Sat, Sep 26, 2015 at 08:09:56AM +0200, Knut Omang wrote: > > - Use a hash table indexed on bus pointers to store information > > about buses > > instead of using the bus numbers. > > Bus pointers are stored in a new VTDBus struct

Re: [Qemu-devel] [PATCH v4 1/1] intel_iommu: Add support for translation for devices behind bridges

2015-09-27 Thread Michael S. Tsirkin
On Sat, Sep 26, 2015 at 08:09:56AM +0200, Knut Omang wrote: > - Use a hash table indexed on bus pointers to store information about buses > instead of using the bus numbers. > Bus pointers are stored in a new VTDBus struct together with the vector > of device address space pointers indexed by

[Qemu-devel] [PATCH v4 1/1] intel_iommu: Add support for translation for devices behind bridges

2015-09-25 Thread Knut Omang
- Use a hash table indexed on bus pointers to store information about buses instead of using the bus numbers. Bus pointers are stored in a new VTDBus struct together with the vector of device address space pointers indexed by devfn. - The bus number is still used for lookup for selective SID