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 / vmm_config.c
index 627bb84..81a37d3 100644 (file)
@@ -277,7 +277,15 @@ static int pre_config_guest(struct guest_info * info, struct v3_config * config_
 
     info->yield_cycle_period = (V3_CPU_KHZ() * 1000) / sched_hz;
     
-
+    if (info->vm_class == V3_PC_VM) {
+       if (pre_config_pc(info, config_ptr) == -1) {
+           PrintError("PC Post configuration failure\n");
+           return -1;
+       }
+    } else {
+       PrintError("Invalid VM Class\n");
+       return -1;
+    }
 
     return 0;
 }