vmx: Make it clear that the VMEXIT reason is in hex
PATCH 1/1 vmx: Make it clear that the VMEXIT reason is in hex
# HG changeset patch
# User Tim Deegan <[email protected]>
# Date 1331806143 0
# Node ID ab772600a1ed6d889e8bdf55f49ba75123031a3e # Parent c25ec9e9a8126d562d2a72620aea8ee6b104f89e
vmx: Make it clear that the VMEXIT reason is in hex.
Signed-off-by Tim Deegan <[email protected]>
xen/arch/x86/hvm/vmx/vmx.c +1 -1
@@ -2720,7 +2720,7 @@ void vmx_vmexit_handler(struct cpu_user_/* fall through */ default : exit_and_crash: -gdprintk (XENLOG_ERR ,"Bad vmexit (reason %x)\n" , exit_reason); +gdprintk (XENLOG_ERR ,"Bad vmexit (reason %#x)\n" , exit_reason);domain_crash (v->domain);break ; }
Quoted 8 lines · Tim Deegan
# HG changeset patch
# User Tim Deegan <[email protected]>
# Date 1331806143 0
# Node IDab772600a1ed6d889e8bdf55f49ba75123031a3e# Parentc25ec9e9a8126d562d2a72620aea8ee6b104f89e
vmx: Make it clear that the VMEXIT reason is in hex.Signed-off-by Tim Deegan <[email protected]>
Acked-by Keir Fraser <[email protected]>
Quoted 17 lines
diff -r
c25ec9e9a812-rab772600a1edxen/arch/x86/hvm/vmx/vmx.cxen/arch/x86/hvm/vmx/vmx.c Thu Mar 15 10:09:03 2012 +0000 renamed from xen/arch/x86/hvm/vmx/vmx.c Wed Mar 14 14:20:58 2012 +0000 +1
-1@@ -2720,7 +2720,7 @@ void vmx_vmexit_handler(struct cpu_user_ /* fall through */ default: exit_and_crash: - gdprintk(XENLOG_ERR, "Bad vmexit (reason %x)\n", exit_reason); + gdprintk(XENLOG_ERR, "Bad vmexit (reason %#x)\n", exit_reason); domain_crash(v->domain); break; }_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel