diff options
author | Jan Beulich <jbeulich@suse.com> | 2012-11-28 17:00:56 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2012-11-28 17:00:56 +0100 |
commit | 253d59d0fe4e36bedf7b01f6bf193321f673ce26 (patch) | |
tree | 6ae34a0a368c58d0daa8e63b8418a45e1422754d | |
parent | d9d2cfd5aeb47d5b057d661b9c3ef2e8e980c7f0 (diff) | |
download | xen-253d59d0fe4e36bedf7b01f6bf193321f673ce26.tar.gz xen-253d59d0fe4e36bedf7b01f6bf193321f673ce26.tar.bz2 xen-253d59d0fe4e36bedf7b01f6bf193321f673ce26.zip |
IOMMU: imply "verbose" from "debug"
I think that generally enabling debugging code without also enabling
verbose output is rather pointless; if someone really wants this, they
can always pass e.g. "iommu=debug,no-verbose".
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
-rw-r--r-- | xen/drivers/passthrough/iommu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xen/drivers/passthrough/iommu.c b/xen/drivers/passthrough/iommu.c index 47408f2bd9..a12fa48e35 100644 --- a/xen/drivers/passthrough/iommu.c +++ b/xen/drivers/passthrough/iommu.c @@ -92,7 +92,11 @@ static void __init parse_iommu_param(char *s) else if ( !strcmp(s, "intremap") ) iommu_intremap = val; else if ( !strcmp(s, "debug") ) + { iommu_debug = val; + if ( val ) + iommu_verbose = 1; + } else if ( !strcmp(s, "amd-iommu-perdev-intremap") ) amd_iommu_perdev_intremap = val; else if ( !strcmp(s, "dom0-passthrough") ) |