aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/hvm/io.c
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-06-21 14:03:57 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-06-21 14:03:57 +0100
commitd8b6ccfe2d40d2964feb992bf2026957c54e982a (patch)
tree91ed609d4215922b3a21b3b8489e0b1ceaff320f /xen/arch/x86/hvm/io.c
parent0b3c29f7fdda202ef847673a4212f0fdf5c26e5e (diff)
downloadxen-d8b6ccfe2d40d2964feb992bf2026957c54e982a.tar.gz
xen-d8b6ccfe2d40d2964feb992bf2026957c54e982a.tar.bz2
xen-d8b6ccfe2d40d2964feb992bf2026957c54e982a.zip
x86: clear guest's EFLAGS.RF after emulating instructions
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/arch/x86/hvm/io.c')
-rw-r--r--xen/arch/x86/hvm/io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/arch/x86/hvm/io.c b/xen/arch/x86/hvm/io.c
index 0a99dd27d6..97e1215a58 100644
--- a/xen/arch/x86/hvm/io.c
+++ b/xen/arch/x86/hvm/io.c
@@ -858,6 +858,7 @@ void hvm_io_assist(void)
}
/* Copy register changes back into current guest state. */
+ regs->eflags &= ~X86_EFLAGS_RF;
hvm_load_cpu_guest_regs(v, regs);
memcpy(guest_cpu_user_regs(), regs, HVM_CONTEXT_STACK_BYTES);