X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_xed.c;h=a53a8b47419981c5635f89d35c5ae2c673880402;hb=3eca92952c19aa937b39d7f147b4950bb5de24ce;hp=f492a222b1b2b44bd8415d53e3b0f35569d9dc00;hpb=43cdc41d7b78f09feb66231b580ba250c1b12f38;p=palacios-OLD.git diff --git a/palacios/src/palacios/vmm_xed.c b/palacios/src/palacios/vmm_xed.c index f492a22..a53a8b4 100644 --- a/palacios/src/palacios/vmm_xed.c +++ b/palacios/src/palacios/vmm_xed.c @@ -313,6 +313,8 @@ int v3_decode(struct guest_info * info, addr_t instr_ptr, struct x86_instr * ins xed_decoded_inst_t xed_instr; xed_error_enum_t xed_error; + memset(instr, 0, sizeof(struct x86_instr)); + v3_get_prefixes((uchar_t *)instr_ptr, &(instr->prefixes)); @@ -450,7 +452,7 @@ int v3_decode(struct guest_info * info, addr_t instr_ptr, struct x86_instr * ins } } - V3_Print("Operand 0 mode: %s\n", xed_operand_action_enum_t2str(xed_operand_rw(op))); +// V3_Print("Operand 0 mode: %s\n", xed_operand_action_enum_t2str(xed_operand_rw(op))); if (xed_operand_read(op)) { @@ -540,7 +542,7 @@ int v3_decode(struct guest_info * info, addr_t instr_ptr, struct x86_instr * ins } } - V3_Print("Operand 1 mode: %s\n", xed_operand_action_enum_t2str(xed_operand_rw(op))); +// V3_Print("Operand 1 mode: %s\n", xed_operand_action_enum_t2str(xed_operand_rw(op))); if (xed_operand_read(op)) { v3_op->read = 1;