aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxen
Commit message (Collapse)AuthorAgeFilesLines
...
* Added I/O debugging mode.Ewan Mellor2007-03-261-0/+12
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Fix memory values -- they should be in bytes.Ewan Mellor2007-03-261-4/+4
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Tidy up use of stdout vs stderr.Ewan Mellor2007-03-261-11/+15
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Implement session.last_active, session.this_host, session.get_record,Ewan Mellor2007-03-263-7/+225
| | | | | | session.get_uuid. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added C bindings and docs for recent addition VM.set_VCPUs_number_live.Ewan Mellor2007-03-252-0/+24
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Workaround buggy GCCs wrt strftime.Ewan Mellor2007-03-231-1/+11
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Don't use the client-side shortcut for get_uuid calls -- we need to keepEwan Mellor2007-03-2321-24/+204
| | | | | | handles and UUIDs conceptually separate. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Add a last_updated field to every metrics class.Ewan Mellor2007-03-2313-6/+173
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Implement parsing of datetimes.Ewan Mellor2007-03-231-10/+33
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Match the name change for the QCoW SR.Ewan Mellor2007-03-221-1/+1
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Replace VDI.location with a more generic VDI.other_config map. RemoveEwan Mellor2007-03-175-36/+105
| | | | | | | | VDI.sector_size. Xend work by Tom Wilkie <tom.wilkie@gmail.com>. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Match recent removal of VM.VCPUs_policy.Ewan Mellor2007-03-143-53/+0
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Replace VM.platform_{std_VGA,serial,localtime,clock_offset,enable_audio} withEwan Mellor2007-03-102-163/+35
| | | | | | | | | | | | | 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>
* Add vcpus_max and vcpus_at_startup values to the example VM creation.Ewan Mellor2007-03-101-0/+2
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Fix get_val_as_string so that it does not truncate integers.Ewan Mellor2007-03-101-5/+7
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Allow empty structs to represent empty Maps.Ewan Mellor2007-03-101-2/+1
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* This patch fixes two problems with sending and receiving of (arrays of)Ewan Mellor2007-03-091-1/+5
| | | | | | | | | | | structures. The first one allows to determine the size of a member when parsing a 'set'. The cast in the second part fixes the address calculation when serializing an array. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* Remove VDI.set_SR -- this was always unimplemented, and pretty mad.Ewan Mellor2007-03-092-23/+0
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Move the booting description out of the VM class description into the VMEwan Mellor2007-03-091-33/+0
| | | | | | Lifecycle section of the doc. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added {VIF,VBD}.{plug,unplug} methods. Docs and C bindings -- Xend to follow.Ewan Mellor2007-03-084-0/+88
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Remove crashdump.create -- this doesn't make sense.Ewan Mellor2007-03-082-42/+18
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* tools: Clean up use of 'install' command.kfraser@localhost.localdomain2007-03-071-2/+2
| | | | | | | | | - convert raw "install" command to use $(INSTALL) - convert some $(INSTALL) to $(INSTALL_DATA) as appropriate - modify the specific $(INSTALL) definitions to use -p. Original patch by Ben Thomas <ben@virtualiron.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* Fix missing bits of the docs from cset 14020, and match that change by removingEwan Mellor2007-02-276-94/+2
| | | | | | the similar fields on host_metrics, PIF_metrics, and VM_guest_metrics. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Implementation of host_metrics.get_all, PIF_metrics.get_all, and docs andEwan Mellor2007-02-2726-8/+255
| | | | | | | bindings for many of the get_all methods elsewhere that Xend already implemented. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added some more fields to host_cpu.Ewan Mellor2007-02-272-35/+48
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Remove unused network.default_{gateway,netmask}.Ewan Mellor2007-02-262-109/+5
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added host.capabilities field.Ewan Mellor2007-02-253-0/+53
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Replace VM.tools_version with a richer VM_guest_metrics class.Ewan Mellor2007-02-255-27/+547
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added documentation and C bindings for VBD/VIF.status_detail, status_code, andEwan Mellor2007-02-254-0/+166
| | | | | | currently_attached fields. Not yet implemented. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added a VM.domid field.Ewan Mellor2007-02-252-0/+27
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Remove the bindings for VM.get_VCPUs_{number,utilisation} -- these have movedEwan Mellor2007-02-252-60/+2
| | | | | | onto the metrics class. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added host.API_version_{major,minor,vendor,vendor_implementation} fields.Ewan Mellor2007-02-252-0/+112
| | | | | | | | 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>
* Added VBD. and VIF.qos_supported_algorithms fields, with C bindings, XendEwan Mellor2007-02-214-0/+60
| | | | | | implementation to follow. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added C bindings for host.supported_bootloaders.Ewan Mellor2007-02-216-3/+205
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Fix allocation of the error_description fields.Ewan Mellor2007-02-211-2/+2
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Put the set size in the structure on set-allocation.Ewan Mellor2007-02-201-1/+4
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Remove host.create and host.destroy -- these never made any sense.Ewan Mellor2007-02-202-47/+2
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added modelling and C bindings for VIF/VBD QoS parameter setting. No XendEwan Mellor2007-02-204-0/+314
| | | | | | implementation yet. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Split the VIF I/O statistics fields out into a VIF_metrics class. ImplementEwan Mellor2007-02-205-38/+378
| | | | | | | this in Xend, and fix the VBD_metrics implementation. Implement C bindings also. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Split the VBD I/O statistics out into a VBD_metrics class. Document theEwan Mellor2007-02-208-25/+609
| | | | | | VBD.type field, and add it to the C bindings (this was already in Xend). Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added Console.other_config to the docs (Xend already has this).Ewan Mellor2007-02-202-1/+106
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Rename Console.uri to location. Xend already uses the latter.Ewan Mellor2007-02-202-12/+12
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Remove VM.VCPUs_number and VM.VCPUs_utilisation as these have moved onto theEwan Mellor2007-02-203-40/+37
| | | | | | | VM_metrics class. Remove VM_metrics.VM -- the backreference is unnecessary and awkward to deal with. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added host.dmesg method.Ewan Mellor2007-02-023-0/+41
| | | | | | | Also, fixed all of the host methods, which had been broken by the introduction of the host_metrics class. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Remove VM_power_state value ShuttingDown. This should be indicated withEwan Mellor2007-02-022-6/+0
| | | | | | an in-progress task, when known. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Improved the example to show creation of a VNC console, and the differenceEwan Mellor2007-02-011-19/+67
| | | | | | between HVM and PV domains. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added support for maps inside structs, so that we can send the HVM boot paramsEwan Mellor2007-02-011-38/+106
| | | | | | and VCPU params. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Make the string->string map and int->float map allocation functions set theEwan Mellor2007-02-012-4/+8
| | | | | | map size on allocation. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Change VM.HVM_boot to VM.HVM_boot_policy and VM.HVM_boot_params.Ewan Mellor2007-02-013-20/+131
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* [XENAPI] Add VDI.location support and test c prog for HVM test.Alastair Tse2007-01-315-5/+459
| | | | Signed-off-by: Alastair Tse <atse@xensource.com>