mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
A survey of all the supported configuration options in Xend and also
what they map to in the Xen API.
This commit is contained in:
1 parent
a5f7c42094
commit
b6ee4d8a3f
2 files changed
+261
No files matched your search
@@ -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
|
||||
@@ -0,0 +1,117 @@
|
||||
Map of all supported SXP configuration options
|
||||
----------------------------------------------
|
||||
|
||||
uuid
|
||||
vcpus
|
||||
maxmem
|
||||
memory
|
||||
name
|
||||
on_poweroff
|
||||
on_reboot
|
||||
on_crash
|
||||
bootloader
|
||||
kernel_kernel
|
||||
kernel_initrd
|
||||
kernel_args
|
||||
localtime
|
||||
|
||||
shadow_memory
|
||||
security
|
||||
ssidref (deprecated)
|
||||
vcpu_avail
|
||||
cpu_weight (deprecated)
|
||||
bootloader_args
|
||||
features
|
||||
on_xend_stop
|
||||
on_xend_start
|
||||
start_time
|
||||
cpu (deprecated)
|
||||
cpus
|
||||
|
||||
(xc getinfo)
|
||||
domid
|
||||
online_vcpus
|
||||
status
|
||||
cpu_time
|
||||
shutdown_reason
|
||||
(xm list --long)
|
||||
up_time
|
||||
|
||||
image
|
||||
- kernel
|
||||
- ramdisk
|
||||
- args
|
||||
- ip
|
||||
- root
|
||||
(configVNC)
|
||||
- nographic
|
||||
- vnc
|
||||
- sdl
|
||||
- vncdisplay
|
||||
- vncunused
|
||||
(HVM)
|
||||
- device_model
|
||||
- display
|
||||
- xauthority
|
||||
- vncconsole
|
||||
- pae
|
||||
- acpi
|
||||
- apic
|
||||
(parseDeviceModel)
|
||||
- boot
|
||||
- fda
|
||||
- fdb
|
||||
- soundhw
|
||||
- localtime
|
||||
- serial
|
||||
- stdvga
|
||||
- isa
|
||||
- vcpus
|
||||
- acpi
|
||||
- usb
|
||||
- usbdevice
|
||||
|
||||
(all devices)
|
||||
- backend
|
||||
- dom
|
||||
- id
|
||||
- uuid
|
||||
|
||||
vbd
|
||||
- uname
|
||||
- dev (ioemu:, .. etc)
|
||||
- mode (r, w. w!)
|
||||
|
||||
vif
|
||||
- type
|
||||
- mac
|
||||
- bridge
|
||||
- model
|
||||
- rate
|
||||
- vifname
|
||||
- script
|
||||
- ip
|
||||
|
||||
pci
|
||||
- domain
|
||||
- bus
|
||||
- slot
|
||||
- func
|
||||
(Xen 2.0)
|
||||
- dev
|
||||
|
||||
io
|
||||
- from
|
||||
- to
|
||||
|
||||
tpm
|
||||
- pref_instance
|
||||
- instance
|
||||
|
||||
pciquirk
|
||||
- pci_ids
|
||||
- pci_config_space_fields
|
||||
- unconstrained_dev_ids
|
||||
|
||||
irq
|
||||
- irq
|
||||