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.


fixed format string issues due to printf attribute checks
[palacios.git] / palacios / src / palacios / svm_handler.c
index 23546e2..798177e 100644 (file)
@@ -417,7 +417,7 @@ int v3_handle_svm_exit(struct guest_info * info) {
 #ifdef DEBUG_INTERRUPTS
        PrintDebug("Injecting Interrupt %d (EIP=%p)\n", 
                   guest_ctrl->guest_ctrl.V_INTR_VECTOR, 
-                  (void *)info->rip);
+                  (void *)(addr_t)info->rip);
 #endif
        v3_injecting_intr(info, irq, EXTERNAL_IRQ);
        
@@ -446,7 +446,7 @@ int v3_handle_svm_exit(struct guest_info * info) {
 #ifdef DEBUG_INTERRUPTS
        PrintDebug("Injecting Interrupt %d (EIP=%p)\n", 
                   guest_ctrl->EVENTINJ.vector, 
-                  (void *)info->rip);
+                  (void *)(addr_t)info->rip);
 #endif
        v3_injecting_intr(info, excp, EXCEPTION);
        break;