ia64/xen-unstable
changeset 12146:f7f8f0038920
A survey of all the supported configuration options in Xend and also
what they map to in the Xen API.
what they map to in the Xen API.
author | Alastair Tse <atse@xensource.com> |
---|---|
date | Thu Oct 26 19:43:11 2006 +0100 (2006-10-26) |
parents | df5431b2b519 |
children | 808f5aa6dbb0 |
files | tools/python/README.XendConfig tools/python/README.sxpcfg |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tools/python/README.XendConfig Thu Oct 26 19:43:11 2006 +0100 1.3 @@ -0,0 +1,144 @@ 1.4 +XendConfig parameters 1.5 +===================== 1.6 + 1.7 +Things that are empty means there is no direct mapping. 1.8 + 1.9 +In order to make the XendConfig fully backwards compatible, it needs a 1.10 +representation of all the below parameters. Where both columns have 1.11 +values, it means we can have a direct translation. 1.12 + 1.13 +Where the Legacy Config value does not exist, it means we have to make 1.14 +up the value on whether we supported it or not. 1.15 + 1.16 +Where the Legacy config value is prefixed with an '!', it means it is 1.17 +not a direct mapping and needs a translation function. 1.18 + 1.19 +Where the Xen API config value does not exist, it means we have to add 1.20 +a parameter outside of the Xen API Configuration to support it. 1.21 + 1.22 + 1.23 +Xen API Config Legacy Config 1.24 +-------------- ------------- 1.25 +uuid uuid 1.26 +power_state !state (and xc_getinfo) 1.27 +name_label name 1.28 +name_description 1.29 +user_version 1.30 +is_a_template 1.31 +resident_on 1.32 +memory_static_min memory 1.33 +memory_static_max maxmem 1.34 +memory_actual 1.35 +memory_dynamic_min 1.36 +memory_dynamic_max 1.37 +vcpus_policy !set_credit/set_sedf 1.38 +vcpus_params !set_credit/set_sedf 1.39 +vcpus_number vcpus 1.40 +vcpus_utilisation 1.41 +vcpus_features_required 1.42 +vcpus_features_can_use 1.43 +vcpus_features_force_on 1.44 +vcpus_features_force_off 1.45 +actions_after_shutdown on_poweroff 1.46 +actions_after_reboot on_reboot 1.47 +actions_after_suspend 1.48 +actions_after_crash on_crash 1.49 + 1.50 +vifs !(devices.vifs) 1.51 + - uuid dev.uuid 1.52 + - name 1.53 + - type vif.type 1.54 + - device 1.55 + - network 1.56 + - vm 1.57 + - MAC vif.mac 1.58 + - MTU 1.59 + - io_read_kbs !vif.rate 1.60 + - io_write_kbs !vif.rate 1.61 + vif.bridge 1.62 + vif.script 1.63 + vif.ip 1.64 + vif.vifname (backend name) 1.65 + 1.66 +vbds !(devices.vbds) 1.67 + - uuid 1.68 + - vm 1.69 + - vdi 1.70 + - device vbd.uname 1.71 + - mode !vbd.mode 1.72 + - driver vbd.driver 1.73 + - io_read_kbs 1.74 + - io_write_kbs 1.75 + 1.76 +tpm_instance tpm.instance 1.77 +tpm_backend tpm.backend 1.78 +bios_boot image.boot? 1.79 +platform_std_VGA image.stdvga 1.80 +platform_serial image.serial 1.81 +platform_localtime !localtime (bool) 1.82 +platform_clock_offset 1.83 +platform_enable_audio !image.soundhw (bool) 1.84 +builder (sxp root name) 1.85 +boot_method 1.86 +kernel_kernel kernel_kernel 1.87 +kernel_initrd kernel_ramdisk 1.88 +kernel_args kernel_args 1.89 +grub_cmdline bootloader_args 1.90 +PCI_bus 1.91 +tools_version 1.92 +otherConfig 1.93 + - image image (maybe?) 1.94 + - shadow_memory shadow_memory 1.95 + - security security 1.96 + - vcpu_avail vcpu_avail 1.97 + - features features 1.98 + - on_xend_stop on_xend_stop 1.99 + - on_xend_start on_xend_start 1.100 + - start_time start_time 1.101 + - cpus cpus (?) 1.102 + >> only from xc 1.103 + - online_vcpus xc.online_vcpus 1.104 + - status xc.status 1.105 + - cpu_time xc.cpu_time 1.106 + - shutdown_reason xc.shutdown_reason 1.107 + - up_time xc.uptime 1.108 + 1.109 + image.root 1.110 + image.ip 1.111 + image.nographic 1.112 + image.vnc 1.113 + image.sdl 1.114 + image.vncdisplay 1.115 + image.vncunused 1.116 + image.hvm.device_model 1.117 + image.hvm.display 1.118 + image.hvm.xauthority 1.119 + image.hvm.vncconsole 1.120 + image.hvm.pae 1.121 + image.hvm.acpi (also in image.devices) 1.122 + image.hvm.apic 1.123 + image.devices.boot 1.124 + image.devices.fda 1.125 + image.devices.fdb 1.126 + image.devices.soundhw 1.127 + image.devices.isa 1.128 + image.devices.vcpus? 1.129 + image.devices.acpi 1.130 + image.devices.usb 1.131 + image.devices.usbdevice 1.132 + 1.133 + 1.134 + dev.backend 1.135 + dev.dom 1.136 + dev.id 1.137 + 1.138 + pci.domain 1.139 + pci.bus 1.140 + pci.slot 1.141 + pci.func 1.142 + 1.143 + pciquirk.pci_ids 1.144 + pciquirk.pci_config_space_fields 1.145 + pciquirk.unconstrained_dev_ids 1.146 + 1.147 + irq.irq
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/tools/python/README.sxpcfg Thu Oct 26 19:43:11 2006 +0100 2.3 @@ -0,0 +1,117 @@ 2.4 +Map of all supported SXP configuration options 2.5 +---------------------------------------------- 2.6 + 2.7 +uuid 2.8 +vcpus 2.9 +maxmem 2.10 +memory 2.11 +name 2.12 +on_poweroff 2.13 +on_reboot 2.14 +on_crash 2.15 +bootloader 2.16 +kernel_kernel 2.17 +kernel_initrd 2.18 +kernel_args 2.19 +localtime 2.20 + 2.21 +shadow_memory 2.22 +security 2.23 +ssidref (deprecated) 2.24 +vcpu_avail 2.25 +cpu_weight (deprecated) 2.26 +bootloader_args 2.27 +features 2.28 +on_xend_stop 2.29 +on_xend_start 2.30 +start_time 2.31 +cpu (deprecated) 2.32 +cpus 2.33 + 2.34 +(xc getinfo) 2.35 +domid 2.36 +online_vcpus 2.37 +status 2.38 +cpu_time 2.39 +shutdown_reason 2.40 +(xm list --long) 2.41 +up_time 2.42 + 2.43 +image 2.44 + - kernel 2.45 + - ramdisk 2.46 + - args 2.47 + - ip 2.48 + - root 2.49 + (configVNC) 2.50 + - nographic 2.51 + - vnc 2.52 + - sdl 2.53 + - vncdisplay 2.54 + - vncunused 2.55 + (HVM) 2.56 + - device_model 2.57 + - display 2.58 + - xauthority 2.59 + - vncconsole 2.60 + - pae 2.61 + - acpi 2.62 + - apic 2.63 + (parseDeviceModel) 2.64 + - boot 2.65 + - fda 2.66 + - fdb 2.67 + - soundhw 2.68 + - localtime 2.69 + - serial 2.70 + - stdvga 2.71 + - isa 2.72 + - vcpus 2.73 + - acpi 2.74 + - usb 2.75 + - usbdevice 2.76 + 2.77 +(all devices) 2.78 + - backend 2.79 + - dom 2.80 + - id 2.81 + - uuid 2.82 + 2.83 +vbd 2.84 + - uname 2.85 + - dev (ioemu:, .. etc) 2.86 + - mode (r, w. w!) 2.87 + 2.88 +vif 2.89 + - type 2.90 + - mac 2.91 + - bridge 2.92 + - model 2.93 + - rate 2.94 + - vifname 2.95 + - script 2.96 + - ip 2.97 + 2.98 +pci 2.99 + - domain 2.100 + - bus 2.101 + - slot 2.102 + - func 2.103 + (Xen 2.0) 2.104 + - dev 2.105 + 2.106 +io 2.107 + - from 2.108 + - to 2.109 + 2.110 +tpm 2.111 + - pref_instance 2.112 + - instance 2.113 + 2.114 +pciquirk 2.115 + - pci_ids 2.116 + - pci_config_space_fields 2.117 + - unconstrained_dev_ids 2.118 + 2.119 +irq 2.120 + - irq