(p.s., this patch is before Laurent's patch of no_wb removal, the change
is minor to adapt to OP_NONE)


Signed-off-by: Qing He <[EMAIL PROTECTED]>

---
 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 f294a49..6ab67fe 100644
--- a/drivers/kvm/x86_emulate.c
+++ b/drivers/kvm/x86_emulate.c
@@ -1549,6 +1549,7 @@ twobyte_insn:
                break;
        case 0xa3:
              bt:               /* bt */
+               no_wb = 1;
                /* only subword offset */
                c->src.val &= (c->dst.bytes << 3) - 1;
                emulate_2op_SrcV_nobyte("bt", c->src, c->dst, _eflags);
-- 
1.5.1.2

Attachment: 0002-KVM-x86_emulator-no-writeback-for-bt.patch
Description: 0002-KVM-x86_emulator-no-writeback-for-bt.patch

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to