From 960d7b8ffbad12b065d72f1171780eb11f11ee91 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Tue, 31 Jul 2018 17:12:35 +0200 Subject: [PATCH] x86/xstate: correct logging in handle_xsetbv() Correct a disagreement between text and logged value. Signed-off-by: Jan Beulich Acked-by: Andrew Cooper --- xen/arch/x86/xstate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/xstate.c b/xen/arch/x86/xstate.c index c8197d2e40..15edd5df96 100644 --- a/xen/arch/x86/xstate.c +++ b/xen/arch/x86/xstate.c @@ -715,7 +715,7 @@ int handle_xsetbv(u32 index, u64 new_bv) { gprintk(XENLOG_ERR, "xcr0_max %016" PRIx64 " exceeds hardware max %016" PRIx64 "\n", - new_bv, xfeature_mask); + xcr0_max, xfeature_mask); domain_crash(curr->domain); return -EINVAL; -- 2.39.5