]> xenbits.xensource.com Git - xen.git/commitdiff
x86/xstate: correct logging in handle_xsetbv()
authorJan Beulich <jbeulich@suse.com>
Tue, 31 Jul 2018 15:12:35 +0000 (17:12 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 31 Jul 2018 15:12:35 +0000 (17:12 +0200)
Correct a disagreement between text and logged value.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/xstate.c

index c8197d2e40bfa70f899e93c240ed7a6a422e5aa6..15edd5df96ebaf6c84be57c78f3904e3c198dc43 100644 (file)
@@ -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;