| 1 | XendConfig parameters |
|---|
| 2 | ===================== |
|---|
| 3 | |
|---|
| 4 | Things that are empty means there is no direct mapping. |
|---|
| 5 | |
|---|
| 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. |
|---|
| 9 | |
|---|
| 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. |
|---|
| 12 | |
|---|
| 13 | Where the Legacy config value is prefixed with an '!', it means it is |
|---|
| 14 | not a direct mapping and needs a translation function. |
|---|
| 15 | |
|---|
| 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. |
|---|
| 18 | |
|---|
| 19 | |
|---|
| 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 | resident_on |
|---|
| 29 | memory_static_min memory |
|---|
| 30 | memory_static_max maxmem |
|---|
| 31 | memory_actual |
|---|
| 32 | memory_dynamic_min |
|---|
| 33 | memory_dynamic_max |
|---|
| 34 | vcpus_policy !set_credit/set_sedf |
|---|
| 35 | vcpus_params !set_credit/set_sedf |
|---|
| 36 | vcpus_number vcpus |
|---|
| 37 | vcpus_utilisation |
|---|
| 38 | vcpus_features_required |
|---|
| 39 | vcpus_features_can_use |
|---|
| 40 | vcpus_features_force_on |
|---|
| 41 | vcpus_features_force_off |
|---|
| 42 | actions_after_shutdown on_poweroff |
|---|
| 43 | actions_after_reboot on_reboot |
|---|
| 44 | actions_after_suspend |
|---|
| 45 | actions_after_crash on_crash |
|---|
| 46 | |
|---|
| 47 | vifs !(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 | |
|---|
| 63 | vbds !(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 | |
|---|
| 73 | tpm_instance tpm.instance |
|---|
| 74 | tpm_backend tpm.backend |
|---|
| 75 | bios_boot image.boot? |
|---|
| 76 | platform_std_VGA image.stdvga |
|---|
| 77 | platform_serial image.serial |
|---|
| 78 | platform_localtime !localtime (bool) |
|---|
| 79 | platform_clock_offset |
|---|
| 80 | platform_enable_audio !image.soundhw (bool) |
|---|
| 81 | builder (sxp root name) |
|---|
| 82 | boot_method |
|---|
| 83 | kernel_kernel kernel.kernel |
|---|
| 84 | kernel_initrd kernel.ramdisk |
|---|
| 85 | kernel_args !kernel.args |
|---|
| 86 | grub_cmdline bootloader_args |
|---|
| 87 | PCI_bus |
|---|
| 88 | tools_version |
|---|
| 89 | |
|---|
| 90 | otherConfig |
|---|
| 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 |
|---|