X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_xed.c;h=afa4f69be10ff86231fddfa66bf5502e633d160b;hb=7ffbdc2bda6e2bc85100f313c48545a2733108f9;hp=9535eabc2b779237335cc715c0c0ffe2fc1fe016;hpb=bb63612fb642f9f05863ad3895df073eb22552e7;p=palacios-OLD.git diff --git a/palacios/src/palacios/vmm_xed.c b/palacios/src/palacios/vmm_xed.c index 9535eab..afa4f69 100644 --- a/palacios/src/palacios/vmm_xed.c +++ b/palacios/src/palacios/vmm_xed.c @@ -93,6 +93,7 @@ int v3_decode(struct guest_info * info, addr_t instr_ptr, struct x86_instr * ins PrintDebug("Number of operands: %d\n", instr->num_operands); + PrintDebug("INSTR length: %d\n", instr->instr_length); // set first operand if (instr->num_operands >= 1) { @@ -640,6 +641,15 @@ static int get_opcode(xed_iform_enum_t iform, addr_t * opcode) { *opcode = (addr_t)&V3_OPCODE_MOV2CR; break; + + case XED_IFORM_LMSW_GPR16: + *opcode = (addr_t)&V3_OPCODE_LMSW; + break; + + case XED_IFORM_CLTS: + *opcode = (addr_t)&V3_OPCODE_CLTS; + break; + default: *opcode = 0; return -1;