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.


Linux user updates for more recent distros (Ubuntu 14.04 as target)
[palacios.git] / linux_usr / v3_guest_mem_track.c
index 7a257dd..37d86a9 100644 (file)
@@ -74,24 +74,24 @@ int text_out(char *vm, char *target, v3_mem_track_snapshot *s)
   fprintf(fd,"Reset:\t%s\n", 
          s->reset_type==V3_MEM_TRACK_ONESHOT ? "oneshot" :
          s->reset_type==V3_MEM_TRACK_PERIODIC ? "periodic" : "UNKNOWN");
-  fprintf(fd,"Interval:\t%llu cycles\n", s->period);
+  fprintf(fd,"Interval:\t%lu cycles\n", s->period);
   fprintf(fd,"Access:\t%s%s%s\n",
          s->access_type&V3_MEM_TRACK_READ ? "r" : "",
          s->access_type&V3_MEM_TRACK_WRITE ? "w" : "",
          s->access_type&V3_MEM_TRACK_EXEC ? "x" : "");
          
-  fprintf(fd,"Cores:\t%llu\n",s->num_cores);
-  fprintf(fd,"Pages:\t%llu\n\n",s->core[0].num_pages);
+  fprintf(fd,"Cores:\t%u\n",s->num_cores);
+  fprintf(fd,"Pages:\t%lu\n\n",s->core[0].num_pages);
 
   
   for (i=0;i<s->num_cores;i++) { 
-    fprintf(fd,"Core %llu (%llu to %llu, ",
+    fprintf(fd,"Core %lu (%lu to %lu, ",
            i, s->core[i].start_time, s->core[i].end_time);
     count=0;
     for (j=0;j<s->core[i].num_pages;j++) {
        count+=GET_BIT(s->core[i].access_bitmap,j);
     }
-    fprintf(fd," %llu pages touched) : ", count);
+    fprintf(fd," %lu pages touched) : ", count);
     for (j=0;j<s->core[i].num_pages;j++) {
       if (GET_BIT(s->core[i].access_bitmap,j)) { 
        fprintf(fd,"X");