aboutsummaryrefslogtreecommitdiffstats
path: root/tools/python/README.XendConfig
diff options
context:
space:
mode:
authorAlastair Tse <atse@xensource.com>2006-10-26 19:43:11 +0100
committerAlastair Tse <atse@xensource.com>2006-10-26 19:43:11 +0100
commitb6ee4d8a3fe0d00af987e57a34484669f766ec8d (patch)
tree85ae6c95f8ff1978d2ad4152a066442e84330252 /tools/python/README.XendConfig
parenta5f7c420940df72f613dbffec088ca703921d43d (diff)
downloadxen-b6ee4d8a3fe0d00af987e57a34484669f766ec8d.tar.gz
xen-b6ee4d8a3fe0d00af987e57a34484669f766ec8d.tar.bz2
xen-b6ee4d8a3fe0d00af987e57a34484669f766ec8d.zip
A survey of all the supported configuration options in Xend and also
what they map to in the Xen API.
Diffstat (limited to 'tools/python/README.XendConfig')
-rw-r--r--tools/python/README.XendConfig144
1 files changed, 144 insertions, 0 deletions
diff --git a/tools/python/README.XendConfig b/tools/python/README.XendConfig
new file mode 100644
index 0000000000..4416f3eecc
--- /dev/null
+++ b/tools/python/README.XendConfig
@@ -0,0 +1,144 @@
+XendConfig parameters
+=====================
+
+Things that are empty means there is no direct mapping.
+
+In order to make the XendConfig fully backwards compatible, it needs a
+representation of all the below parameters. Where both columns have
+values, it means we can have a direct translation.
+
+Where the Legacy Config value does not exist, it means we have to make
+up the value on whether we supported it or not.
+
+Where the Legacy config value is prefixed with an '!', it means it is
+not a direct mapping and needs a translation function.
+
+Where the Xen API config value does not exist, it means we have to add
+a parameter outside of the Xen API Configuration to support it.
+
+
+Xen API Config Legacy Config
+-------------- -------------
+uuid uuid
+power_state !state (and xc_getinfo)
+name_label name
+name_description
+user_version
+is_a_template
+resident_on
+memory_static_min memory
+memory_static_max maxmem
+memory_actual
+memory_dynamic_min
+memory_dynamic_max
+vcpus_policy !set_credit/set_sedf
+vcpus_params !set_credit/set_sedf
+vcpus_number vcpus
+vcpus_utilisation
+vcpus_features_required
+vcpus_features_can_use
+vcpus_features_force_on
+vcpus_features_force_off
+actions_after_shutdown on_poweroff
+actions_after_reboot on_reboot
+actions_after_suspend
+actions_after_crash on_crash
+
+vifs !(devices.vifs)
+ - uuid dev.uuid
+ - name
+ - type vif.type
+ - device
+ - network
+ - vm
+ - MAC vif.mac
+ - MTU
+ - io_read_kbs !vif.rate
+ - io_write_kbs !vif.rate
+ vif.bridge
+ vif.script
+ vif.ip
+ vif.vifname (backend name)
+
+vbds !(devices.vbds)
+ - uuid
+ - vm
+ - vdi
+ - device vbd.uname
+ - mode !vbd.mode
+ - driver vbd.driver
+ - io_read_kbs
+ - io_write_kbs
+
+tpm_instance tpm.instance
+tpm_backend tpm.backend
+bios_boot image.boot?
+platform_std_VGA image.stdvga
+platform_serial image.serial
+platform_localtime !localtime (bool)
+platform_clock_offset
+platform_enable_audio !image.soundhw (bool)
+builder (sxp root name)
+boot_method
+kernel_kernel kernel_kernel
+kernel_initrd kernel_ramdisk
+kernel_args kernel_args
+grub_cmdline bootloader_args
+PCI_bus
+tools_version
+otherConfig
+ - image image (maybe?)
+ - shadow_memory shadow_memory
+ - security security
+ - vcpu_avail vcpu_avail
+ - features features
+ - on_xend_stop on_xend_stop
+ - on_xend_start on_xend_start
+ - start_time start_time
+ - cpus cpus (?)
+ >> only from xc
+ - online_vcpus xc.online_vcpus
+ - status xc.status
+ - cpu_time xc.cpu_time
+ - shutdown_reason xc.shutdown_reason
+ - up_time xc.uptime
+
+ image.root
+ image.ip
+ image.nographic
+ image.vnc
+ image.sdl
+ image.vncdisplay
+ image.vncunused
+ image.hvm.device_model
+ image.hvm.display
+ image.hvm.xauthority
+ image.hvm.vncconsole
+ image.hvm.pae
+ image.hvm.acpi (also in image.devices)
+ image.hvm.apic
+ image.devices.boot
+ image.devices.fda
+ image.devices.fdb
+ image.devices.soundhw
+ image.devices.isa
+ image.devices.vcpus?
+ image.devices.acpi
+ image.devices.usb
+ image.devices.usbdevice
+
+
+ dev.backend
+ dev.dom
+ dev.id
+
+ pci.domain
+ pci.bus
+ pci.slot
+ pci.func
+
+ pciquirk.pci_ids
+ pciquirk.pci_config_space_fields
+ pciquirk.unconstrained_dev_ids
+
+ irq.irq