| Type: | Map[string,string] |
| mapping from string to string | |
| Name: | VCPUs_params |
| configuration parameters for the selected VCPU policy |
Accessors
-
Map[string,string]
get_VCPUs_params
(session session_id, VM self)
Get the VCPUs/params field of the given VM.
-
void
set_VCPUs_params
(session session_id, VM self, Map[string,string] value)
Set the VCPUs/params field of the given VM.
-
void
add_to_VCPUs_params
(session session_id, VM self, string key, string value)
Add the given key-value pair to the VCPUs/params field of the given VM.
-
void
remove_from_VCPUs_params
(session session_id, VM self, string key)
Remove the given key and its corresponding value from the VCPUs/params field of the given VM. If the key is not in that Map, then do nothing.
VCPUs can be pinned with a setting like:
mask=1,2,3The VM will run on physical CPUs 1 2 and 3.
Scheduling can be altered with settings like:
weight=100 cap=100