Tim Deegan
2012-Mar-15 10:14 UTC
[PATCH] vmx: Make it clear that the VMEXIT reason is in hex
# 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; }
Keir Fraser
2012-Mar-15 10:29 UTC
Re: [PATCH] vmx: Make it clear that the VMEXIT reason is in hex
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