[xen staging] x86/xstate: correct logging in handle_xsetbv()

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen staging] x86/xstate: correct logging in handle_xsetbv()

patchbot
commit 960d7b8ffbad12b065d72f1171780eb11f11ee91
Author:     Jan Beulich <[hidden email]>
AuthorDate: Tue Jul 31 17:12:35 2018 +0200
Commit:     Jan Beulich <[hidden email]>
CommitDate: Tue Jul 31 17:12:35 2018 +0200

    x86/xstate: correct logging in handle_xsetbv()
   
    Correct a disagreement between text and logged value.
   
    Signed-off-by: Jan Beulich <[hidden email]>
    Acked-by: Andrew Cooper <[hidden email]>
---
 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;
--
generated by git-patchbot for /home/xen/git/xen.git#staging

_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog