Printing "$foo disabled" is unnecessary noise during boot. All other VPMU settings emit a message, so this doesn't result in any ambiguity.
Signed-off-by: Andrew Cooper <[email protected]> --- CC: Jan Beulich <[email protected]> CC: Wei Liu <[email protected]> CC: Roger Pau Monné <[email protected]> --- xen/arch/x86/cpu/vpmu.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/xen/arch/x86/cpu/vpmu.c b/xen/arch/x86/cpu/vpmu.c index 375599aca5..f397183ec3 100644 --- a/xen/arch/x86/cpu/vpmu.c +++ b/xen/arch/x86/cpu/vpmu.c @@ -857,10 +857,7 @@ static int __init vpmu_init(void) int vendor = current_cpu_data.x86_vendor; if ( !opt_vpmu_enabled ) - { - printk(XENLOG_INFO "VPMU: disabled\n"); return 0; - } /* NMI watchdog uses LVTPC and HW counter */ if ( opt_watchdog && opt_vpmu_enabled ) -- 2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
