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.


Minor compile warning fixup and error checks
[palacios.git] / palacios / src / palacios / vmm_swapping.c
index 90475d1..e3095d0 100644 (file)
@@ -31,8 +31,6 @@
 
 #include <palacios/vmm_xml.h>
 
-#include <stdio.h>
-#include <stdlib.h>
 
 /*
 
@@ -471,7 +469,7 @@ static int swap_out_region_internal(struct v3_vm_info *vm, struct v3_mem_region
     
     for (i=0, fail=0; i<vm->num_cores;i++ ) {
        struct guest_info * core = &(vm->cores[i]);
-       int rc;
+       int rc=0;
 
        if (core->shdw_pg_mode == SHADOW_PAGING) {
            v3_mem_mode_t mem_mode = v3_get_vm_mem_mode(core);