Message ID | 20090405135907.3014.69172.stgit@trex.usersys.redhat.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Gleb Natapov wrote: > No emulation yet. > > Signed-off-by: Gleb Natapov <gleb@redhat.com> > --- > > arch/x86/kvm/x86_emulate.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c > index c015063..fe0dec2 100644 > --- a/arch/x86/kvm/x86_emulate.c > +++ b/arch/x86/kvm/x86_emulate.c > @@ -154,7 +154,8 @@ static u32 opcode_table[256] = { > /* 0x90 - 0x97 */ > DstReg, DstReg, DstReg, DstReg, DstReg, DstReg, DstReg, DstReg, > /* 0x98 - 0x9F */ > - 0, 0, 0, 0, ImplicitOps | Stack, ImplicitOps | Stack, 0, 0, > + 0, 0, SrcImm | Src2Imm16 | ImplicitOps, 0, ImplicitOps | Stack, > + ImplicitOps | Stack, 0, 0, > /* 0xA0 - 0xA7 */ > ByteOp | DstReg | SrcMem | Mov | MemAbs, DstReg | SrcMem | Mov | MemAbs, > ByteOp | DstMem | SrcReg | Mov | MemAbs, DstMem | SrcReg | Mov | MemAbs, > > Please keep 4 or 8 opcodes per line.
diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c index c015063..fe0dec2 100644 --- a/arch/x86/kvm/x86_emulate.c +++ b/arch/x86/kvm/x86_emulate.c @@ -154,7 +154,8 @@ static u32 opcode_table[256] = { /* 0x90 - 0x97 */ DstReg, DstReg, DstReg, DstReg, DstReg, DstReg, DstReg, DstReg, /* 0x98 - 0x9F */ - 0, 0, 0, 0, ImplicitOps | Stack, ImplicitOps | Stack, 0, 0, + 0, 0, SrcImm | Src2Imm16 | ImplicitOps, 0, ImplicitOps | Stack, + ImplicitOps | Stack, 0, 0, /* 0xA0 - 0xA7 */ ByteOp | DstReg | SrcMem | Mov | MemAbs, DstReg | SrcMem | Mov | MemAbs, ByteOp | DstMem | SrcReg | Mov | MemAbs, DstMem | SrcReg | Mov | MemAbs,
No emulation yet. Signed-off-by: Gleb Natapov <gleb@redhat.com> --- arch/x86/kvm/x86_emulate.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html