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.


s patch fixes some issues I've had when compiling Palacios 32-bit.
[palacios.git] / palacios / src / palacios / vmx_ctrl_regs.c
index c7bf6e3..eb12760 100644 (file)
@@ -157,10 +157,10 @@ static int handle_mov_to_cr0(struct guest_info * info, v3_reg_t * new_cr0, struc
         }
        
         if (vmx_info->state == VMXASSIST_ENABLED) {
-            PrintDebug("Loading VMXASSIST at RIP: %p\n", (void *)info->rip);
+            PrintDebug("Loading VMXASSIST at RIP: %p\n", (void *)(addr_t)info->rip);
         } else {
             PrintDebug("Leaving VMXASSIST and entering protected mode at RIP: %p\n",
-                      (void *)info->rip);
+                      (void *)(addr_t)info->rip);
         }
 
        // PE switches modify the RIP directly, so we clear the instr_len field to avoid catastrophe