[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-3.4-testing] Fix a reference to X86EMUL_OKAY which was hardcoded as a 0 instead.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1261393041 0
# Node ID fb934f83a62bdadacd73eaca32897087ccc9ecaf
# Parent  aa61264ed7d97f1478008992954a6ab008aa8977
Fix a reference to X86EMUL_OKAY which was hardcoded as a 0 instead.

Signed-off-by: Patrick Colp <Patrick.Colp@xxxxxxxxxx>
xen-unstable changeset:   20658:da46574284b9
xen-unstable date:        Thu Dec 17 06:27:55 2009 +0000
---
 xen/arch/x86/hvm/emulate.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r aa61264ed7d9 -r fb934f83a62b xen/arch/x86/hvm/emulate.c
--- a/xen/arch/x86/hvm/emulate.c        Mon Dec 21 10:56:41 2009 +0000
+++ b/xen/arch/x86/hvm/emulate.c        Mon Dec 21 10:57:21 2009 +0000
@@ -796,7 +796,7 @@ static int hvmemul_read_msr(
 
     _regs.ecx = (uint32_t)reg;
 
-    if ( (rc = hvm_msr_read_intercept(&_regs)) != 0 )
+    if ( (rc = hvm_msr_read_intercept(&_regs)) != X86EMUL_OKAY )
         return rc;
 
     *val = ((uint64_t)(uint32_t)_regs.edx << 32) | (uint32_t)_regs.eax;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.