Commit Graph
425 Commits
Author SHA1 Message Date
Ewan Mellor fccf5da0dd Expose the method-listing call as host.list_methods.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-04 18:42:20 +01:00
Ewan Mellor 3a7400aa86 Remove docs and bindings for unimplemented VDI.resize and VDI.snapshot.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-04 15:00:57 +01:00
Ewan Mellor 5adf114d68 Remove docs and bindings for unimplemented SR.{create,destroy,clone}.
Implement PBD class, matching existing docs and bindings.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-04 14:49:38 +01:00
kfraser@localhost.localdomain c6c944eabd hvm hap: Add hap option to user's manual.
Signed-off-by: Wei Huang <wei.huang2@amd.com>
2007-04-02 13:06:48 +01:00
Ewan Mellor d05727902f Fix bad behaviour of xm when calling event.next(), by adding a different error
code (SESSION_NOT_REGISTERED).

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-29 16:18:39 +01:00
Ewan Mellor 5a1f59a822 Added asynchronous event notification through the Xen-API. Added a new command,
xm event-monitor, a new test program for the C bindings, and new bindings
themselves.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-29 15:46:30 +01:00
Ewan Mellor 99b271fd7d Added network.other_config map. To make this easier, add a new automatic
plumbing facility from the XendNetwork class into XendAPI (credit to Tom
Wilkie for the idea).

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-27 00:19:20 +01:00
Ewan Mellor a166ff93f8 Fix VM.resume/suspend docs.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-26 01:13:16 +01:00
Ewan Mellor f3e6380659 Mark host. and PIF.metrics fields as ROrun, to match VIF, VM, and VBD.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-26 01:02:18 +01:00
Ewan Mellor 231f7bf638 Added C bindings and docs for recent addition VM.set_VCPUs_number_live.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-25 22:17:30 +01:00
Ewan Mellor 669b95b0a5 Remove stillborn DTD section, in favour of an upcoming new doc for the xm
create DTD.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-25 16:47:18 +01:00
Ewan Mellor f38e3b431b Add a last_updated field to every metrics class.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-23 13:27:29 +00:00
Ewan Mellor 98321440ec Replace VDI.location with a more generic VDI.other_config map. Remove
VDI.sector_size.

Xend work by Tom Wilkie <tom.wilkie@gmail.com>.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-17 23:55:03 +00:00
kfraser@localhost.localdomain 607ea02797 Add boot option to allow console I/O to be placed into ring buffer
This option allows console I/O to be placed into the hypervisor
console ring buffer. When enabled, all output to the console
device will be reflected in the ring buffer.  When disabled (the
default), only hypervisor output is available from the ring buffer.

Signed-off-by: Ben Thomas <ben@virtualiron.com>
2007-03-15 10:33:32 +00:00
Ewan Mellor efcaa9d8d3 Match recent removal of VM.VCPUs_policy.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-14 21:59:11 +00:00
kfraser@localhost.localdomain 3bd39c408e docs: update some todo items.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-03-13 09:52:11 +00:00
Ewan Mellor 2cb49001bc Added an VM_HVM_REQUIRED error code, and use it on VM.start.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-10 23:22:00 +00:00
Ewan Mellor abc324d48f Replace VM.platform_{std_VGA,serial,localtime,clock_offset,enable_audio} with
a single VM.platform String -> String Map.

Propogate this change through to XendDomainInfo and image so that the
backwards compatibility is handled by XendConfig.

Make PCI_bus a read-write field.

Added C bindings for these changes also.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-10 21:48:22 +00:00
kfraser@localhost.localdomain dce5dbf051 Simple fix to the man page for xm block-attach.
It currently says to use "ro" or "rw" for the mode, when it seems,
empirically, to take "r" or "w" for the mode, respectively.  Update
the man page to reflect that.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
2007-03-10 16:59:57 +00:00
kfraser@localhost.localdomain 4d42d7146c dump-core: store .xen_p2m or .xen_pfn section in pfn ascending order.
So far the order isn't specified and may be random in theory.
But sorted array is requested by crash utility for efficient search.

Fortunately it is the case except ia64 full virtualized domain.
Update document such that those array must be sorted and fix the ia64
full virtualized domain case.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-03-09 18:33:36 +00:00
Ewan Mellor d0a005909a Remove VDI.set_SR -- this was always unimplemented, and pretty mad.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-09 01:25:43 +00:00
Ewan Mellor 4eb63aba01 Fancy headings.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-09 01:15:07 +00:00
Ewan Mellor 9f7e9b2820 Move the booting description out of the VM class description into the VM
Lifecycle section of the doc.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-09 01:06:11 +00:00
Ewan Mellor 409ea8c197 Remove the word "Additional" from all the RPC subheadings -- we include all
the methods now, not just the non-accessors.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-09 00:46:50 +00:00
Ewan Mellor ee1ed8aafb Added section on references vs UUIDs.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-09 00:44:10 +00:00
Ewan Mellor 35dc738880 Changed the example of linked references (Set(Ref(x)) <-> Ref(y)) to use VM and
VIFs rather than VM and VMGroups, now that we've deleted VMGroups.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-09 00:35:29 +00:00
Ewan Mellor 9e92a72fb5 Added {VIF,VBD}.{plug,unplug} methods. Docs and C bindings -- Xend to follow.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-08 23:47:24 +00:00
Ewan Mellor 5579ba52ec Added VM_BAD_POWER_STATE error code to VM.hard_shutdown.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-08 23:22:56 +00:00
Ewan Mellor 9c3b29a772 Remove crashdump.create -- this doesn't make sense.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-08 23:16:34 +00:00
kfraser@localhost.localdomain 0cb97f4d8b dump-core: always use elfclass64 format to support x86_32pae.
Without this patch xen dump-core format can't handle over 4GB case.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-03-07 10:53:34 +00:00
Ewan Mellor 6bd6a1390e Fix missing bits of the docs from cset 14020, and match that change by removing
the similar fields on host_metrics, PIF_metrics, and VM_guest_metrics.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-27 01:52:27 +00:00
Ewan Mellor b33bb1e4d9 Implementation of host_metrics.get_all, PIF_metrics.get_all, and docs and
bindings for many of the get_all methods elsewhere that Xend already
implemented.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-27 01:05:32 +00:00
Ewan Mellor d8309d27a1 Added some more fields to host_cpu.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-27 00:37:27 +00:00
Ewan Mellor f8b1ed8706 Remove unused network.default_{gateway,netmask}.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-26 00:07:14 +00:00
Ewan Mellor 51b6900b84 Redefine units of VDI.virtual_size to be bytes, not sectors.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-25 23:45:39 +00:00
Ewan Mellor 496ee4e22a Added host.capabilities field.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-25 23:37:05 +00:00
Ewan Mellor d8f5871da1 Replace VM.tools_version with a richer VM_guest_metrics class.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-25 23:17:14 +00:00
Ewan Mellor 719e521fa2 Added documentation and C bindings for VBD/VIF.status_detail, status_code, and
currently_attached fields.  Not yet implemented.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-25 22:47:29 +00:00
Ewan Mellor 9421735453 Added a VM.domid field.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-25 22:31:43 +00:00
Ewan Mellor 5baa3458c5 Added host.API_version_{major,minor,vendor,vendor_implementation} fields.
Fix missing host.other_config from the record returned by Xend.

Improve the error diagnosis when we catch TypeError.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-25 17:20:51 +00:00
Ewan Mellor b0a0faf30a Added VBD. and VIF.qos_supported_algorithms fields, with C bindings, Xend
implementation to follow.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-21 23:03:00 +00:00
Keir Fraser 6948b54199 dump-core: documentation on its format.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-02-24 14:33:34 +00:00
Ewan Mellor 160d895b13 Added host.supported_bootloaders field.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-20 22:54:30 +00:00
Ewan Mellor c24f2b2bec Remove host.create and host.destroy -- these never made any sense.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-20 22:46:21 +00:00
Ewan Mellor 1a84dd141d Added modelling and C bindings for VIF/VBD QoS parameter setting. No Xend
implementation yet.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-20 22:40:55 +00:00
Ewan Mellor fa4627735b Split the VIF I/O statistics fields out into a VIF_metrics class. Implement
this in Xend, and fix the VBD_metrics implementation.  Implement C bindings
also.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-20 21:55:11 +00:00
Ewan Mellor d8d0f7d08c Split the VBD I/O statistics out into a VBD_metrics class. Document the
VBD.type field, and add it to the C bindings (this was already in Xend).

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-20 21:28:19 +00:00
Ewan Mellor c2592685ff Added Console.other_config to the docs (Xend already has this).
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-20 19:38:24 +00:00
Ewan Mellor cdbec983af Rename Console.uri to location. Xend already uses the latter.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-20 19:23:28 +00:00
Ewan Mellor ada588411f Remove VM.VCPUs_number and VM.VCPUs_utilisation as these have moved onto the
VM_metrics class.  Remove VM_metrics.VM -- the backreference is unnecessary
and awkward to deal with.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-20 16:30:24 +00:00