2.9.
CLASS: VM
CHAPTER 2.
API REFERENCE
RPC name: get affinity
Overview:
Get the affinity field of the given VM.
Signature:
(host ref) get_affinity (session_id s, VM ref self)
Arguments:
type
name
description
VM ref
self
reference to the object
Return Type:
host ref
value of the field
RPC name: set affinity
Overview:
Set the affinity field of the given VM.
Signature:
void set_affinity (session_id s, VM ref self, host ref value)
Arguments:
type
name
description
VM ref
self
reference to the object
host ref
value
New value to set
Return Type:
void
RPC name: get memory static max
Overview:
Get the memory/static max field of the given VM.
Signature:
int get_memory_static_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
73