Browse Source

KVM: x86_emulator: no writeback for bt

Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Qing He 18 years ago
parent
commit
e4f8e03956
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/kvm/x86_emulate.c

+ 1 - 0
drivers/kvm/x86_emulate.c

@@ -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);