From: Qing He Date: Mon, 24 Sep 2007 09:22:13 +0000 (+0800) Subject: KVM: x86_emulator: no writeback for bt X-Git-Tag: v2.6.25-rc1~1138^2~234 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4f8e03956de4b1a1dc4bbbdefa9c973d01ee91f;p=linux-2.6 KVM: x86_emulator: no writeback for bt Signed-off-by: Qing He Signed-off-by: Avi Kivity --- diff --git a/drivers/kvm/x86_emulate.c b/drivers/kvm/x86_emulate.c index 6161e3f665..0afe660aec 100644 --- a/drivers/kvm/x86_emulate.c +++ b/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);