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

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



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

Signed-off-by: Patrick Colp <Patrick.Colp@xxxxxxxxxx>
---
 xen/arch/x86/hvm/emulate.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r c16a1d988ebc -r da46574284b9 xen/arch/x86/hvm/emulate.c
--- a/xen/arch/x86/hvm/emulate.c        Thu Dec 17 06:22:02 2009 +0000
+++ b/xen/arch/x86/hvm/emulate.c        Thu Dec 17 06:27:55 2009 +0000
@@ -801,7 +801,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®.