ia64/xen-unstable

view tools/python/README.XendConfig @ 19460:2269d8704139

XenAPI: Implement {get,set}_auto_power_on

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 31 11:48:07 2009 +0100 (2009-03-31)
parents 8f7f29f718a6
children
line source
1 XendConfig parameters
2 =====================
4 Things that are empty means there is no direct mapping.
6 In order to make the XendConfig fully backwards compatible, it needs a
7 representation of all the below parameters. Where both columns have
8 values, it means we can have a direct translation.
10 Where the Legacy Config value does not exist, it means we have to make
11 up the value on whether we supported it or not.
13 Where the Legacy config value is prefixed with an '!', it means it is
14 not a direct mapping and needs a translation function.
16 Where the Xen API config value does not exist, it means we have to add
17 a parameter outside of the Xen API Configuration to support it.
20 Xen API Config Legacy Config
21 -------------- -------------
22 uuid uuid
23 power_state !state (and xc_getinfo)
24 name_label name
25 name_description
26 user_version
27 is_a_template
28 auto_power_on
29 resident_on
30 memory_static_min memory
31 memory_static_max maxmem
32 memory_actual
33 memory_dynamic_min
34 memory_dynamic_max
35 vcpus_policy !set_credit/set_sedf
36 vcpus_params !set_credit/set_sedf
37 vcpus_number vcpus
38 vcpus_utilisation
39 vcpus_features_required
40 vcpus_features_can_use
41 vcpus_features_force_on
42 vcpus_features_force_off
43 actions_after_shutdown on_poweroff
44 actions_after_reboot on_reboot
45 actions_after_suspend
46 actions_after_crash on_crash
48 vifs !(devices.vifs)
49 - uuid dev.uuid
50 - name
51 - type vif.type
52 - device
53 - network
54 - vm
55 - MAC vif.mac
56 - MTU
57 - io_read_kbs !vif.rate
58 - io_write_kbs !vif.rate
59 vif.bridge
60 vif.script
61 vif.ip
62 vif.vifname (backend name)
64 vbds !(devices.vbds)
65 - uuid
66 - vm
67 - vdi
68 - device vbd.uname
69 - mode !vbd.mode
70 - driver vbd.driver
71 - io_read_kbs
72 - io_write_kbs
74 tpm_instance tpm.instance
75 tpm_backend tpm.backend
76 bios_boot image.boot?
77 platform_std_VGA image.stdvga
78 platform_serial image.serial
79 platform_localtime !localtime (bool)
80 platform_clock_offset
81 platform_enable_audio !image.soundhw (bool)
82 builder (sxp root name)
83 boot_method
84 kernel_kernel kernel.kernel
85 kernel_initrd kernel.ramdisk
86 kernel_args !kernel.args
87 grub_cmdline bootloader_args
88 PCI_bus
89 tools_version
91 otherConfig
92 - image image (see image.*)
93 - shadow_memory shadow_memory
94 - security security
95 - vcpu_avail vcpu_avail
96 - features features
97 - on_xend_stop on_xend_stop
98 - on_xend_start on_xend_start
99 - start_time start_time
100 - cpus cpus (?)
101 max_vcpu_id
103 >> only from xc
104 - online_vcpus xc.online_vcpus
105 - status xc.status
106 - cpu_time xc.cpu_time
107 - shutdown_reason xc.shutdown_reason
108 - up_time xc.uptime
109 - crashed xc.crashed
110 - dying xc.dying
111 - shutdown xc.shutdown
113 image.type (linux or hvm)
114 image.root
115 image.ip
116 image.nographic
117 image.vnc
118 image.sdl
119 image.monitor
120 image.vncdisplay
121 image.vncunused
122 image.hvm.device_model
123 image.hvm.display
124 image.hvm.xauthority
125 image.hvm.vncconsole
126 image.hvm.pae
127 image.hvm.acpi (also in image.devices)
128 image.hvm.apic
129 image.hvm.devices.boot
130 image.hvm.devices.fda
131 image.hvm.devices.fdb
132 image.hvm.devices.soundhw
133 image.hvm.devices.isa
134 image.hvm.devices.vcpus?
135 image.hvm.devices.acpi
136 image.hvm.devices.usb
137 image.hvm.devices.usbdevice
140 dev.backend
141 dev.dom
142 dev.id
144 pci.domain
145 pci.bus
146 pci.slot
147 pci.func
149 pciquirk.pci_ids
150 pciquirk.pci_config_space_fields
151 pciquirk.unconstrained_dev_ids
153 irq.irq
155 - vcpu (probably not needed, only in XM and generated dynamically)
156 vcpu.number
157 vcpu.online
158 vcpu.blocked
159 vcpu.running
160 vcpu.cpu_time
161 vcpu.cpu
162 vcpu.cpumap