2.9.
CLASS: VM
CHAPTER 2.
API REFERENCE
RW
VCPUs/max
int
Max number of VCPUs
RW
VCPUs/at startup
int
Boot number of VCPUs
RW
actions/after shutdown
on normal exit
action to take after the guest has
shutdown itself
RW
actions/after reboot
on normal exit
action to take after the guest has re-
booted itself
RW
actions/after crash
on crash behaviour
action to take if the guest crashes
RO
run
consoles
(console ref) Set
virtual console devices
RO
run
VIFs
(VIF ref) Set
virtual network interfaces
RO
run
VBDs
(VBD ref) Set
virtual block devices
RO
run
crash dumps
(crashdump ref) Set
crash dumps associated with this VM
RO
run
VTPMs
(VTPM ref) Set
virtual TPMs
RW
PV/bootloader
string
name of or path to bootloader
RW
PV/kernel
string
path to the kernel
RW
PV/ramdisk
string
path to the initrd
RW
PV/args
string
kernel command-line arguments
RW
PV/bootloader args
string
miscellaneous
arguments
for
the
bootloader
RW
PV/legacy args
string
to make Zurich guests boot
RW
HVM/boot policy
string
HVM boot policy
RW
HVM/boot params
(string
→
string) Map
HVM boot params
RW
HVM/shadow multiplier
float
multiplier applied to the amount of
shadow that will be made available
to the guest
RW
platform
(string
→
string) Map
platform-specific configuration
RW
PCI bus
string
PCI bus path for pass-through de-
vices
RW
other config
(string
→
string) Map
additional configuration
RO
run
domid
int
domain ID (if available, -1 otherwise)
RO
run
domarch
string
Domain architecture (if available,
null string otherwise)
RO
run
last boot CPU flags
(string
→
string) Map
describes the CPU flags on which the
VM was last booted
RO
run
is control domain
bool
true if this is a control domain (do-
main 0 or a driver domain)
RO
run
metrics
VM metrics ref
metrics associated with this VM
RO
run
guest metrics
VM guest metrics ref
metrics associated with the running
guest
RO
run
last booted record
string
marshalled value containing VM
record at time of last boot, updated
dynamically to reflect the runtime
state of the domain
RW
recommendations
string
An XML specification of recom-
mended values and ranges for prop-
erties of this VM
RW
xenstore data
(string
→
string) Map
data to be inserted into the xenstore
tree
(/local/domain/¡domid¿/vm-
data) after the VM is created.
2.9.2
RPCs associated with class: VM
RPC name: clone
Overview:
56