commit | ea6606b02fc3192f2edab2db669fa0b9756b4e67 | [log] [tgz] |
---|---|---|
author | Weidong Han <weidong.han@intel.com> | Mon Dec 08 23:08:15 2008 +0800 |
committer | Joerg Roedel <joerg.roedel@amd.com> | Sat Jan 03 14:02:18 2009 +0100 |
tree | 821832b7880301dca6def43eae3b39138e220c64 | |
parent | 5e98c4b1d6e89676193c355e430eddf369bcf195 [diff] |
Change domain_context_mapping_one for virtual machine domain vm_domid won't be set in context, find available domain id for a device from its iommu. For a virtual machine domain, a default agaw will be set, and skip top levels of page tables for iommu which has less agaw than default. Signed-off-by: Weidong Han <weidong.han@intel.com> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>