Revision 8c6c919e target-i386/kvm.c

b/target-i386/kvm.c
445 445
            }
446 446
    }
447 447
    env->hflags = (env->hflags & HFLAG_COPY_MASK) | hflags;
448
    env->cc_src = env->eflags & (CC_O | CC_S | CC_Z | CC_A | CC_P | CC_C);
449
    env->df = 1 - (2 * ((env->eflags >> 10) & 1));
450
    env->cc_op = CC_OP_EFLAGS;
451
    env->eflags &= ~(DF_MASK | CC_O | CC_S | CC_Z | CC_A | CC_P | CC_C);
452 448

  
453 449
    return 0;
454 450
}

Also available in: Unified diff