Commit e4f8e039 authored by Qing He's avatar Qing He Committed by Avi Kivity

KVM: x86_emulator: no writeback for bt

Signed-off-by: default avatarQing He <qing.he@intel.com>
Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent a01af5ec
...@@ -1629,6 +1629,7 @@ twobyte_insn: ...@@ -1629,6 +1629,7 @@ twobyte_insn:
break; break;
case 0xa3: case 0xa3:
bt: /* bt */ bt: /* bt */
c->dst.type = OP_NONE;
/* only subword offset */ /* only subword offset */
c->src.val &= (c->dst.bytes << 3) - 1; c->src.val &= (c->dst.bytes << 3) - 1;
emulate_2op_SrcV_nobyte("bt", c->src, c->dst, ctxt->eflags); emulate_2op_SrcV_nobyte("bt", c->src, c->dst, ctxt->eflags);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment