diff options
author | Qing He <qing.he@intel.com> | 2007-09-24 05:22:13 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 10:52:49 -0500 |
commit | e4f8e03956de4b1a1dc4bbbdefa9c973d01ee91f (patch) | |
tree | 968160b42240396d44c94105b5923d57b73a5d8d /drivers/kvm/x86_emulate.c | |
parent | a01af5ec5163cdc51c00f6dcb22d7766199377cf (diff) |
KVM: x86_emulator: no writeback for bt
Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/x86_emulate.c')
-rw-r--r-- | drivers/kvm/x86_emulate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/kvm/x86_emulate.c b/drivers/kvm/x86_emulate.c index 6161e3f66585..0afe660aec4b 100644 --- a/drivers/kvm/x86_emulate.c +++ b/drivers/kvm/x86_emulate.c | |||
@@ -1629,6 +1629,7 @@ twobyte_insn: | |||
1629 | break; | 1629 | break; |
1630 | case 0xa3: | 1630 | case 0xa3: |
1631 | bt: /* bt */ | 1631 | bt: /* bt */ |
1632 | c->dst.type = OP_NONE; | ||
1632 | /* only subword offset */ | 1633 | /* only subword offset */ |
1633 | c->src.val &= (c->dst.bytes << 3) - 1; | 1634 | c->src.val &= (c->dst.bytes << 3) - 1; |
1634 | emulate_2op_SrcV_nobyte("bt", c->src, c->dst, ctxt->eflags); | 1635 | emulate_2op_SrcV_nobyte("bt", c->src, c->dst, ctxt->eflags); |