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.


Virtio NIC's guest-driven, vmm-driven, or adaptive modes can now
[palacios.releases.git] / palacios / src / palacios / vmm_perftune.c
index 8ffe3a9..0d58f6f 100644 (file)
@@ -71,7 +71,7 @@ static void set_yield(struct v3_vm_info *vm, v3_cfg_tree_t *cfg)
     
     // now override
 
-    t = v3_cfg_val(cfg, "yield_strategy");
+    t = v3_cfg_val(cfg, "strategy");
 
     if (t) { 
        if (!strcasecmp(t,"greedy")) { 
@@ -118,7 +118,7 @@ static void set_yield(struct v3_vm_info *vm, v3_cfg_tree_t *cfg)
 /*
 <vm>
   <perftune>
-     <group name="yield_strategy">
+     <group name="yield">
         <strategy>greedy,friendly,adaptive</strategy>
         <threshold>us</threshold>
         <time>us</time>
@@ -147,7 +147,7 @@ int      v3_setup_performance_tuning(struct v3_vm_info *vm, v3_cfg_tree_t *cfg)
        if (!id) { 
            V3_Print("Skipping performance parameter group without name\n");
        } else {
-           if (!strcasecmp(id,"yield_strategy")) { 
+           if (!strcasecmp(id,"yield")) { 
                set_yield(vm,t);
            } else {
                V3_Print("Skipping unknown performance parameter group\n");