Commit Graph
341 Commits
Author SHA1 Message Date
Ewan Mellor a8ca4c264c This fixes the xen-api documentation latex-compilation.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-01-11 18:54:09 +00:00
Ewan Mellor 4faade7465 Fix examples to have correct class names and error handling.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-05 15:52:58 +00:00
Ewan Mellor 66e0f08171 Added session.last_active field. Removed the constructors and destructors for
session and task classes -- these are implicitly added and removed, so we
should not have explicit constructors and destructors for them.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-05 15:51:39 +00:00
Ewan Mellor a76d47f9b7 Added NETWORK_ALREADY_CONNECTED error code to the documentation.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-05 15:50:20 +00:00
Ewan Mellor 79a9f1f484 Rename the 3DNOW and 3DNOWEXT API constants to THREEDNOW, so that they may be
used directly as identifiers in bindings.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-05 15:34:47 +00:00
Ewan Mellor dcd6000dae Improve the documentation of the set add/remove methods.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-28 16:14:48 +00:00
Ewan Mellor 17afe524e1 Added the BAD_VM_STATE error code, and tidy up the error code section.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-25 18:44:27 +00:00
Ewan Mellor a99ec19fc3 Fix escaping.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-23 11:37:01 +00:00
Ewan Mellor 0883cc63a1 Fix description of ErrorDescription to be all strings, and update the examples.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-22 11:49:19 +00:00
Ewan Mellor 0317e15cfc More error codes.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-21 17:38:02 +00:00
Ewan Mellor 3f30d0805d Document a few error codes.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-21 13:12:09 +00:00
Ewan Mellor cc3b3deb34 Document recent changes to the booting API, introducing PV and HVM groups in
favour of the old kernel / BIOS sections.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-21 13:11:24 +00:00
Ewan Mellor 12e12aa8f9 Added VM.set_VCPUs_features_force_on, VM.set_VCPUs_features_force_off,
VM.set_otherConfig.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-06 16:33:48 +00:00
Ewan Mellor a784042736 Make VM.VCPUs.number a writable field.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-06 16:26:53 +00:00
Ewan Mellor af87afdaaf Added VBD.type field (CD or Disk).
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-06 15:45:09 +00:00
Ewan Mellor 76b9ef8804 Add extra detail to the VM.destroy description.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-06 15:42:28 +00:00
Ewan Mellor b916a8f279 Add VM.auto_power_on field.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-06 15:40:26 +00:00
Ewan Mellor 41eb2f8c0d Clarify that memory values are in bytes.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-06 15:38:29 +00:00
Ewan Mellor b7bca7b892 Improved task handling model.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-06 15:20:03 +00:00
Ewan Mellor 16eaa7dd1c Tidy up the get_by_name_label description.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-06 15:13:33 +00:00
Ewan Mellor 449775b249 Clarify that the self parameter is an object reference, not the instance (i.e.
record) itself.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-06 15:05:23 +00:00
Ewan Mellor 9b30833144 Tidy up the get_record and get_by_uuid descriptions.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-06 15:01:08 +00:00
Ewan Mellor 46bdf803f9 More description tidyups -- constructors and destructors this time.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-06 13:28:37 +00:00
Ewan Mellor 3f4a3b3602 Tidy-up some of the descriptions.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-06 13:24:28 +00:00
Ewan Mellor dc7f685195 Added the console class to the diagram.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-29 23:40:40 +00:00
Ewan Mellor 621fec4c37 State that getters and setters do not have asynchronous versions -- there's no
point, because they ought to be immediate.

Tidy up the examples in the presentation and wire-protocol sections, and bring
them into sync with the main body text.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-29 23:34:33 +00:00
Ewan Mellor ef7c4eec7b New modelling for consoles -- have them as separate classes attached to the
VM, much like the arrangements for devices.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-29 23:31:07 +00:00
kfraser@localhost.localdomain f2b23d6824 [DOCS] Update for new Xen boot parameters.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-29 10:58:35 +00:00
kaf24@localhost.localdomain 7be8e242ee [XEN] Add 'loglvl' and 'guest_loglvl' boot parameters.
<lvl> := none|error|warning|info|debug|all

 loglvl=<lvl_print_always>[/<lvl_print_ratelimit>]
  <lvl_print_always>: log level which is always printed
  <lvl_print_rlimit>: log level which is rate-limit printed

 'loglvl' applies to non-guest-related messages.
 'guest_loglvl' applies to guest-related messages.

 Defaults: loglvl=warning ; guest_loglvl=none/warning

Also clean up hvm_print_line().

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-02 22:24:20 +00:00
kfraser@localhost.localdomain 7ffcc43b02 [XEN] Extend dom0_mem syntax to support min/max clamps.
dom0_mem=[min:<min_amt>,][max:<max_amt>,][<amt>]

<min_amt>: The minimum amount of memory which should be allocated for dom0.
<max_amt>: The maximum amount of memory which should be allocated for dom0.
<amt>:     The precise amount of memory to allocate for dom0.

Notes:
 1. <amt> is clamped from below by <min_amt> and from above by available
    memory and <max_amt>
 2. <min_amt> is clamped from above by available memory and <max_amt>
 3. <min_amt> is ignored if it is greater than <max_amt>
 4. If <amt> is not specified, it is calculated as follows:
    "All of memory is allocated to domain 0, minus 1/16th which is reserved
     for uses such as DMA buffers (the reservation is clamped to 128MB)."

Each value can be specified as positive or negative:
 If +ve: The specified amount is an absolute value.
 If -ve: The specified amount is subtracted from total available memory.

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-01 11:18:29 +00:00
Ewan Mellor fb2358c250 Merge xen-api.hg changeset 142:d75413e65ba319d577c764be6c13efa5eae6da1c.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-01 10:40:46 +00:00
kfraser@localhost.localdomain a75c9af600 Use the name of the title of the system to boot into (instead of the
kernel version) to determine where to make the entry into the grub
configuration file.

Signed-off-by: Reiner Sailer <sailer@us.ibm.com>
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2006-10-20 09:32:16 +01:00
kfraser@localhost.localdomain ae02701367 [ACM] Add access control module information for hypercalls and
xenstore entries to the interface manual.

Signed-off by: Reiner Sailer <sailer@us.ibm.com>
2006-10-18 17:54:06 +01:00
kfraser@localhost.localdomain 6311dc03da Clean up duplication of 'install' macros in the Makefiles.
Signed-off-by: John Levon <john.levon@sun.com>
2006-10-17 15:57:05 +01:00
Ewan Mellor efbc4c6ce8 Remove the get_all method from most classes -- we'd like people to be able to
get all VMs, for example, but for VBDs et al it doesn't really make sense.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-26 18:17:56 +01:00
Ewan Mellor 11e5828508 Replace the datamodel graph eps with a dot file.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-26 16:03:52 +01:00
Ewan Mellor 01b62fa670 Added HostCPU.{vendor,speed,modelname}.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-26 15:49:57 +01:00
Ewan Mellor 4fec63fde6 Added VMX feature flag.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-26 15:48:44 +01:00
Ewan Mellor 3b180b47fe New PIF class.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-26 15:47:46 +01:00
Ewan Mellor f25b797cb0 Remove get_record_internal -- it's not needed at the binding level.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-26 15:46:46 +01:00
Ewan Mellor 44aa0e316d Rename VTPM.type to VTPM.driver, to match the libxen bindings.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-26 15:43:32 +01:00
Ewan Mellor 0461886435 Fix network model by moving Network.NIC and Network.VLAN onto a new PIF class.
Also, merge network and disk bandwidth into a single io/ namespace.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-26 15:35:18 +01:00
Ewan Mellor 4b440ab478 Rename get_by_label to get_by_name_label everywhere -- this was always the
intended name.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-26 15:03:47 +01:00
Ewan Mellor c300a22e13 Added VDI.resize method.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-26 14:40:22 +01:00
Ewan Mellor d6a74db4b0 Make all Ref Sets DynamicRO -- they are implied by the existence of an instance
elsewhere, and cannot be modified directly.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-26 14:39:34 +01:00
Ewan Mellor 0cc6b0be8f Datamodel changes adding some basic vTPM extensions to the API that
make its handling similar to that of VBD etc.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2006-10-25 20:44:01 +01:00
Ewan Mellor 7145dab4ea Fix preamble -- get_by_short_name is now called get_by_name_label.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-25 20:40:49 +01:00
Ewan Mellor f41edb0843 Import Xen Management API Draft, 0.4.3, from
http://wiki.xensource.com/xenwiki/XenApi

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-25 20:34:26 +01:00
Emmanuel Ackaouy 7ccdaed2ed Adds support for the keyword 'all' to the vcpu-pin operation.
Using 'all' in place of a specific vcpu will apply the cpumask
to all vcpus in the domain.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
2006-09-26 12:17:51 +01:00
Emmanuel Ackaouy ad8ae4055e Make dom0_vcpus_pin a platform independant option.
By default, it's off. When enabled on the command line, it
causes dom0's VCPUs to be pinned to their respective physical
CPUs at creation time. Once pinned, they can never be moved.
ALso cleanup VCPU initialization of scheduler parameters.
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
2006-09-25 16:31:02 +01:00