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.


reverted CPU id patch
Jack Lange [Tue, 25 May 2010 21:39:42 +0000 (16:39 -0500)]
palacios/src/palacios/vmm_config.c

index efac49a..39c4d49 100644 (file)
@@ -355,7 +355,6 @@ struct v3_vm_info * v3_config_guest(void * cfg_blob) {
     int i = 0;
     v3_cfg_tree_t * cores_cfg = NULL;
     v3_cfg_tree_t * per_core_cfg = NULL;
-    int start_cpu_id = 0;
 
     if (cpu_type == V3_INVALID_CPU) {
        PrintError("Configuring guest on invalid CPU\n");
@@ -377,7 +376,6 @@ struct v3_vm_info * v3_config_guest(void * cfg_blob) {
     }
 
     num_cores = atoi(v3_cfg_val(cores_cfg, "count"));
-    start_cpu_id = atoi(v3_cfg_val(cores_cfg, "start"));
 
     if (num_cores == 0) {
        PrintError("No cores specified in configuration\n");
@@ -411,7 +409,7 @@ struct v3_vm_info * v3_config_guest(void * cfg_blob) {
        struct guest_info * info = &(vm->cores[i]);
 
        
-       info->cpu_id = start_cpu_id + i;
+       info->cpu_id = i;
        info->vm_info = vm;
 
        pre_config_core(info, per_core_cfg);