|
@@ -5229,6 +5229,8 @@ int x86_emulate_instruction(struct kvm_vcpu *vcpu,
|
|
|
|
|
|
if (emulation_type & EMULTYPE_SKIP) {
|
|
if (emulation_type & EMULTYPE_SKIP) {
|
|
kvm_rip_write(vcpu, ctxt->_eip);
|
|
kvm_rip_write(vcpu, ctxt->_eip);
|
|
|
|
+ if (ctxt->eflags & X86_EFLAGS_RF)
|
|
|
|
+ kvm_set_rflags(vcpu, ctxt->eflags & ~X86_EFLAGS_RF);
|
|
return EMULATE_DONE;
|
|
return EMULATE_DONE;
|
|
}
|
|
}
|
|
|
|
|