xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] vmx: Make it clear that the VMEXIT reason is in hex
@ 2012-03-15 10:14 Tim Deegan
  2012-03-15 10:29 ` Keir Fraser
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Deegan @ 2012-03-15 10:14 UTC (permalink / raw)
  To: xen-devel

# HG changeset patch
# User Tim Deegan <tim@xen.org>
# Date 1331806143 0
# Node ID ab772600a1ed6d889e8bdf55f49ba75123031a3e
# Parent  c25ec9e9a8126d562d2a72620aea8ee6b104f89e
vmx: Make it clear that the VMEXIT reason is in hex.

Signed-off-by: Tim Deegan <tim@xen.org>

diff -r c25ec9e9a812 -r ab772600a1ed xen/arch/x86/hvm/vmx/vmx.c
--- a/xen/arch/x86/hvm/vmx/vmx.c	Wed Mar 14 14:20:58 2012 +0000
+++ b/xen/arch/x86/hvm/vmx/vmx.c	Thu Mar 15 10:09:03 2012 +0000
@@ -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;
     }

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] vmx: Make it clear that the VMEXIT reason is in hex
  2012-03-15 10:14 [PATCH] vmx: Make it clear that the VMEXIT reason is in hex Tim Deegan
@ 2012-03-15 10:29 ` Keir Fraser
  0 siblings, 0 replies; 2+ messages in thread
From: Keir Fraser @ 2012-03-15 10:29 UTC (permalink / raw)
  To: Tim Deegan, xen-devel

On 15/03/2012 10:14, "Tim Deegan" <tim@xen.org> wrote:

> # HG changeset patch
> # User Tim Deegan <tim@xen.org>
> # Date 1331806143 0
> # Node ID ab772600a1ed6d889e8bdf55f49ba75123031a3e
> # Parent  c25ec9e9a8126d562d2a72620aea8ee6b104f89e
> vmx: Make it clear that the VMEXIT reason is in hex.
> 
> Signed-off-by: Tim Deegan <tim@xen.org>

Acked-by: Keir Fraser <keir@xen.org>

> diff -r c25ec9e9a812 -r ab772600a1ed xen/arch/x86/hvm/vmx/vmx.c
> --- a/xen/arch/x86/hvm/vmx/vmx.c Wed Mar 14 14:20:58 2012 +0000
> +++ b/xen/arch/x86/hvm/vmx/vmx.c Thu Mar 15 10:09:03 2012 +0000
> @@ -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
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-15 10:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-15 10:14 [PATCH] vmx: Make it clear that the VMEXIT reason is in hex Tim Deegan
2012-03-15 10:29 ` Keir Fraser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).