Fix a reference to X86EMUL_OKAY which was hardcoded as a 0 instead.

Signed-off-by: Patrick Colp <Patrick.Colp@citrix.com>
This commit is contained in:
Keir Fraser committed 2009-12-17 06:27:55 +00:00
1 parent 3b6b6f566b
commit a3b207eb70
1 file changed
+1 -1
+1 -1
View File
@@ -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;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.