]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
KVM: x86_emulator: no writeback for bt
authorQing He <qing.he@intel.com>
Mon, 24 Sep 2007 09:22:13 +0000 (17:22 +0800)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:52:49 +0000 (17:52 +0200)
Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/x86_emulate.c

index 6161e3f665856cc6b90ef7d5a01baada0f5f9ad2..0afe660aec4bef8780198db7a96ecb9d3ea3643e 100644 (file)
@@ -1629,6 +1629,7 @@ twobyte_insn:
                break;
        case 0xa3:
              bt:               /* bt */
+               c->dst.type = OP_NONE;
                /* only subword offset */
                c->src.val &= (c->dst.bytes << 3) - 1;
                emulate_2op_SrcV_nobyte("bt", c->src, c->dst, ctxt->eflags);