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_io.c
index d4af89f..04b488b 100644 (file)
@@ -171,7 +171,7 @@ int v3_handle_svm_io_ins(struct guest_info * info) {
     mask = get_gpr_mask(info);
 
     PrintDebug("INS io_info invalid address size, mask=0x%p, io_info=0x%p\n",
-              (void *)mask, (void *)(io_info));
+              (void *)(addr_t)mask, (void *)(addr_t)(io_info));
     // PrintDebug("INS Aborted... Check implementation\n");
     //return -1;
   }
@@ -311,7 +311,7 @@ int v3_handle_svm_io_outs(struct guest_info * info) {
     mask = get_gpr_mask(info);
 
     PrintDebug("OUTS io_info invalid address size, mask=0%p, io_info=0x%p\n",
-              (void *)mask, (void *)io_info);
+              (void *)(addr_t)mask, (void *)(addr_t)io_info);
     // PrintDebug("INS Aborted... Check implementation\n");
     //return -1;
     // should never happen