source: trunk/packages/xen-3.1/xen-3.1/tools/python/README.XendConfig @ 34

Last change on this file since 34 was 34, checked in by hartmans, 18 years ago

Add xen and xen-common

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