diff options
author | Wei Wang <wei.wang2@amd.com> | 2012-01-28 13:40:36 +0000 |
---|---|---|
committer | Wei Wang <wei.wang2@amd.com> | 2012-01-28 13:40:36 +0000 |
commit | 90803ac5c9354fc5cb8042b494a53fa083b672e8 (patch) | |
tree | 34181700d9609e1a525762a2a820abc0c78563c3 /xen/include/asm-x86/amd-iommu.h | |
parent | c1cdf27925e1bfebf16fe33000509cce5e115df5 (diff) | |
download | xen-90803ac5c9354fc5cb8042b494a53fa083b672e8.tar.gz xen-90803ac5c9354fc5cb8042b494a53fa083b672e8.tar.bz2 xen-90803ac5c9354fc5cb8042b494a53fa083b672e8.zip |
amd iommu: disable iommu emulation on non-iommu systems
Introduce a new flag to disable iommu emulation on old iommu systems.
This patch is taken from my v4 patch queue, which is till pending, to
make old or non-iommu system to run cleanly without interfered by
iommuv2 codes. This might be helpful to isolate iommuv2 code in
debugging unstable regressions. The reset part of v4 will be re-based.
Signed-off-by: Wei Wang <wei.wang2@amd.com>
Committed-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/include/asm-x86/amd-iommu.h')
-rw-r--r-- | xen/include/asm-x86/amd-iommu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/include/asm-x86/amd-iommu.h b/xen/include/asm-x86/amd-iommu.h index 41e0a05ca7..0a781c90d2 100644 --- a/xen/include/asm-x86/amd-iommu.h +++ b/xen/include/asm-x86/amd-iommu.h @@ -182,4 +182,6 @@ struct guest_iommu { struct guest_iommu_msi msi; }; +extern bool_t iommuv2_enabled; + #endif /* _ASM_X86_64_AMD_IOMMU_H */ |