Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


added debugging for operand mode
Jack Lange [Tue, 12 Apr 2011 00:03:01 +0000 (19:03 -0500)]
palacios/src/palacios/vmm_xed.c

index 36612ba..4b52148 100644 (file)
@@ -402,6 +402,9 @@ int v3_decode(struct guest_info * info, addr_t instr_ptr, struct x86_instr * ins
 
        v3_op = &(instr->dst_operand);
 
+       V3_Print("Operand 0 mode: %s\n", xed_operand_action_enum_t2str(op->_rw));
+
+
        if ((op->_rw == XED_OPERAND_ACTION_RW) || 
            (op->_rw == XED_OPERAND_ACTION_R)|| 
            (op->_rw == XED_OPERAND_ACTION_RCW)) {
@@ -480,6 +483,8 @@ int v3_decode(struct guest_info * info, addr_t instr_ptr, struct x86_instr * ins
        */
        v3_op = &(instr->src_operand);
 
+       V3_Print("Operand 1 mode: %s\n", xed_operand_action_enum_t2str(op->_rw));
+
        if ((op->_rw == XED_OPERAND_ACTION_RW) || 
            (op->_rw == XED_OPERAND_ACTION_R)|| 
            (op->_rw == XED_OPERAND_ACTION_RCW)) {
@@ -558,6 +563,9 @@ int v3_decode(struct guest_info * info, addr_t instr_ptr, struct x86_instr * ins
        xed_operand_type_enum_t op_type = xed_operand_type(op);
        xed_operand_enum_t op_enum = xed_operand_name(op);
 
+       V3_Print("Operand 3 mode: %s\n", xed_operand_action_enum_t2str(op->_rw));
+
+
        if ((op->_rw == XED_OPERAND_ACTION_RW) || 
            (op->_rw == XED_OPERAND_ACTION_R)|| 
            (op->_rw == XED_OPERAND_ACTION_RCW)) {