[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-4.2-testing] IOMMU: imply "verbose" from "debug"
# HG changeset patch # User Jan Beulich <jbeulich@xxxxxxxx> # Date 1357717887 -3600 # Node ID 18b56fd7dcb236d7e1fa2458e366df7863a945a5 # Parent 9abea6220b1110e4ca6322afb2f58edc7eef76b4 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@xxxxxxxx> Acked-by: Keir Fraser <keir@xxxxxxx> xen-unstable changeset: 26200:836697b19746 xen-unstable date: Wed Nov 28 16:00:56 UTC 2012 --- diff -r 9abea6220b11 -r 18b56fd7dcb2 xen/drivers/passthrough/iommu.c --- a/xen/drivers/passthrough/iommu.c Wed Jan 09 08:49:56 2013 +0100 +++ b/xen/drivers/passthrough/iommu.c Wed Jan 09 08:51:27 2013 +0100 @@ -91,7 +91,11 @@ static void __init parse_iommu_param(cha 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") ) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |