projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b6b6f5
)
Fix a reference to X86EMUL_OKAY which was hardcoded as a 0 instead.
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 17 Dec 2009 06:27:55 +0000
(06:27 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 17 Dec 2009 06:27:55 +0000
(06:27 +0000)
Signed-off-by: Patrick Colp <Patrick.Colp@citrix.com>
xen/arch/x86/hvm/emulate.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/hvm/emulate.c
b/xen/arch/x86/hvm/emulate.c
index d257ff3061f445c4305085fc4e4be0494897652e..dc7a6b5f895368c55cbbb217907e4b1c2eb2c1de 100644
(file)
--- a/
xen/arch/x86/hvm/emulate.c
+++ b/
xen/arch/x86/hvm/emulate.c
@@
-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;