2.9.
CLASS: VM
CHAPTER 2.
API REFERENCE
RPC name: add to VCPUs params
Overview:
Add the given key-value pair to the VCPUs/params field of the given VM.
Signature:
void add_to_VCPUs_params (session_id s, VM ref self, string key, string value)
Arguments:
type
name
description
VM ref
self
reference to the object
string
key
Key to add
string
value
Value to add
Return Type:
void
RPC name: remove from VCPUs params
Overview:
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.
Signature:
void remove_from_VCPUs_params (session_id s, VM ref self, string key)
Arguments:
type
name
description
VM ref
self
reference to the object
string
key
Key to remove
Return Type:
void
RPC name: get VCPUs max
Overview:
Get the VCPUs/max field of the given VM.
Signature:
int get_VCPUs_max (session_id s, VM ref self)
Arguments:
type
name
description
VM ref
self
reference to the object
Return Type:
int
value of the field
77