diff options
Diffstat (limited to 'drivers/kvm')
-rw-r--r-- | drivers/kvm/x86_emulate.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/kvm/x86_emulate.c b/drivers/kvm/x86_emulate.c index ef7518a2d7ac..2136da5d6976 100644 --- a/drivers/kvm/x86_emulate.c +++ b/drivers/kvm/x86_emulate.c | |||
@@ -1278,8 +1278,6 @@ twobyte_insn: | |||
1278 | src.orig_val = src.val; | 1278 | src.orig_val = src.val; |
1279 | src.val = _regs[VCPU_REGS_RAX]; | 1279 | src.val = _regs[VCPU_REGS_RAX]; |
1280 | emulate_2op_SrcV("cmp", src, dst, _eflags); | 1280 | emulate_2op_SrcV("cmp", src, dst, _eflags); |
1281 | /* Always write back. The question is: where to? */ | ||
1282 | d |= Mov; | ||
1283 | if (_eflags & EFLG_ZF) { | 1281 | if (_eflags & EFLG_ZF) { |
1284 | /* Success: write back to memory. */ | 1282 | /* Success: write back to memory. */ |
1285 | dst.val = src.orig_val; | 1283 | dst.val = src.orig_val; |