]> xenbits.xen.org Git - xenclient/toolstack.git/commitdiff
add cpu affinity in the config
authorVincent Hanquez <vincent.hanquez@eu.citrix.com>
Tue, 8 Sep 2009 14:45:20 +0000 (15:45 +0100)
committerVincent Hanquez <vincent.hanquez@eu.citrix.com>
Tue, 8 Sep 2009 14:45:20 +0000 (15:45 +0100)
xenvm/vmconfig.ml

index b6b40b87abfaa4f9d159a8a70a8af54f5b3054c5..e68cd0076f79bab927a2e03edbcc01fc11445d3e 100644 (file)
@@ -150,6 +150,7 @@ type config = {
        sound: string option;
        inject_sci: int;
        qemu_pv: bool;
+       cpus_affinity: (int * (int list)) list;
 }
 
 let default_nic =
@@ -598,6 +599,7 @@ let empty =
                on_halt = ActionDestroy;
                on_restart = ActionRestart;
                on_crash = ActionDestroy;
+               cpus_affinity = [];
        }
 
 let of_file uuid error_report file =