diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-03-17 08:35:13 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-03-17 08:35:13 +0000 |
commit | c4b4b6ac3baec64680ab3cb761d6691293ae0b1c (patch) | |
tree | 73260232b0450bcc79d25a8c37e2c85eaa47252e /xen/include/xen/iommu.h | |
parent | 35d60c59af284262ae011c7e52bd9927788fb47a (diff) | |
download | xen-c4b4b6ac3baec64680ab3cb761d6691293ae0b1c.tar.gz xen-c4b4b6ac3baec64680ab3cb761d6691293ae0b1c.tar.bz2 xen-c4b4b6ac3baec64680ab3cb761d6691293ae0b1c.zip |
VT-d: reduce default verbosity
Introduce a new sub-option "verbose" to "iommu=", and hide most
(debugging) messages when that option is not specified. Particularly
messages printed after time management was initialized can, on
sufficiently large systems and with a graphical console, lead to
time management issues (therefore a call to process_pending_softirqs()
also gets added in case the new sub-option is being used).
While touching that code, also convert all improper uses of gdprintk()
to dprintk(), and convert all boolean iommu config variables to bool_t
residing in the .data.read_mostly section.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/include/xen/iommu.h')
-rw-r--r-- | xen/include/xen/iommu.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/xen/include/xen/iommu.h b/xen/include/xen/iommu.h index 6ff4ebc647..3a418bc5ba 100644 --- a/xen/include/xen/iommu.h +++ b/xen/include/xen/iommu.h @@ -26,14 +26,10 @@ #include <public/hvm/ioreq.h> #include <public/domctl.h> -extern int iommu_enabled; -extern int iommu_pv_enabled; -extern int force_iommu; -extern int iommu_workaround_bios_bug; -extern int iommu_passthrough; -extern int iommu_snoop; -extern int iommu_qinval; -extern int iommu_intremap; +extern bool_t iommu_enabled, iommu_pv_enabled; +extern bool_t force_iommu, iommu_verbose; +extern bool_t iommu_workaround_bios_bug, iommu_passthrough; +extern bool_t iommu_snoop, iommu_qinval, iommu_intremap; #define domain_hvm_iommu(d) (&d->arch.hvm_domain.hvm_iommu) |