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 major palacios barrier implementation error with potentially serious implicatio...
[palacios.releases.git] / palacios / src / palacios / vmm.c
index 53a1508..5f164b7 100644 (file)
@@ -215,13 +215,13 @@ struct v3_vm_info * v3_create_vm(void * cfg, void * priv_data, char * name) {
     strncpy(vm->name, name, 127);
 
     /*
-     * Creates scheduling hash table and register default scheduler (host scheduler)
+     * Register this VM with the palacios scheduler. It will ask for admission
+     * prior to launch.
      */
-
-    //if(v3_scheduler_register_vm(vm) != -1) {
+    if(v3_scheduler_register_vm(vm) == -1) {
     
-    //    PrintError(vm, VCORE_NONE,"Error registering VM with scheduler\n");
-   //  }
+        PrintError(vm, VCORE_NONE,"Error registering VM with scheduler\n");
+    }
 
     return vm;
 }