[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] A survey of all the supported configuration options in Xend and also



# HG changeset patch
# User Alastair Tse <atse@xxxxxxxxxxxxx>
# Node ID f7f8f003892065b0d9f1d8105cdba35e81660574
# Parent  df5431b2b519a8e56bfbe0b092a27f8087828099
A survey of all the supported configuration options in Xend and also
what they map to in the Xen API.
---
 tools/python/README.XendConfig |  144 +++++++++++++++++++++++++++++++++++++++++
 tools/python/README.sxpcfg     |  117 +++++++++++++++++++++++++++++++++
 2 files changed, 261 insertions(+)

diff -r df5431b2b519 -r f7f8f0038920 tools/python/README.XendConfig
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/python/README.XendConfig    Thu Oct 26 19:43:11 2006 +0100
@@ -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
diff -r df5431b2b519 -r f7f8f0038920 tools/python/README.sxpcfg
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/python/README.sxpcfg        Thu Oct 26 19:43:11 2006 +0100
@@ -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

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.