xen/PMU: Log VPMU initialization error at lower level

This will match how PMU errors are reported at check_hw_exists()'s
msr_fail label, which is reached when VPMU initialzation fails.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Juergen Gross <jgross@suse.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
This commit is contained in:
Boris Ostrovsky 2016-06-21 10:17:33 -04:00 committed by David Vrabel
parent ecb23dc6f2
commit 6ab9507ed9
1 changed files with 1 additions and 1 deletions

View File

@ -547,7 +547,7 @@ void xen_pmu_init(int cpu)
return;
fail:
pr_warn_once("Could not initialize VPMU for cpu %d, error %d\n",
pr_info_once("Could not initialize VPMU for cpu %d, error %d\n",
cpu, err);
free_pages((unsigned long)xenpmu_data, 0);
}