aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxen/test
Commit message (Collapse)AuthorAgeFilesLines
* cpupools [3/6]: libxen changesKeir Fraser2010-04-211-0/+649
| | | | Signed-off-by: Juergen Gross <juergen.gross@ts.fujitsu.com>
* Move all internal header files to a separate directory, so that it's clear whatewan@localhost.localdomain2007-04-213-455/+2
| | | | | | | | forms the public API. Tidy up a couple of macros in xen_internal.h. Remove test_hvm_bindings, which no longer builds, and which has had its functionality subsumed into test_bindings. Bump the library version to 0.9. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added documentation, C bindings, and test for VM_metrics.VCPUs_flags.Ewan Mellor2007-04-131-0/+20
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added documentation, C bindings, and a test for VM_metrics.{start_time,Ewan Mellor2007-04-091-0/+20
| | | | | | | | VCPUs_CPU,VCPUs_params}. Changed VM_metrics.start_time to be a DateTime, not an integer. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Make host.sched_policy read-only. Added docs, bindings, and a test forEwan Mellor2007-04-091-0/+45
| | | | | | host.cpu_configuration and host.sched_policy. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Expose the method-listing call as host.list_methods.Ewan Mellor2007-04-041-0/+43
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Minor fix.Ewan Mellor2007-03-291-3/+3
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added asynchronous event notification through the Xen-API. Added a new command,Ewan Mellor2007-03-291-0/+211
| | | | | | | xm event-monitor, a new test program for the C bindings, and new bindings themselves. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Create the new VM with the default crash behaviour set.Ewan Mellor2007-03-261-1/+1
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* 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-261-1/+49
| | | | | | session.get_uuid. 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>
* Add a last_updated field to every metrics class.Ewan Mellor2007-03-231-0/+5
| | | | 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-171-2/+1
| | | | | | | | 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-141-1/+0
| | | | 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>
* Added host.capabilities field.Ewan Mellor2007-02-251-0/+24
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added C bindings for host.supported_bootloaders.Ewan Mellor2007-02-211-3/+34
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Remove VM.VCPUs_number and VM.VCPUs_utilisation as these have moved onto theEwan Mellor2007-02-201-7/+35
| | | | | | | 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-021-0/+17
| | | | | | | 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>
* 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>
* Change VM.HVM_boot to VM.HVM_boot_policy and VM.HVM_boot_params.Ewan Mellor2007-02-011-3/+8
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* [XENAPI] Add VDI.location support and test c prog for HVM test.Alastair Tse2007-01-312-5/+452
| | | | Signed-off-by: Alastair Tse <atse@xensource.com>
* Added VM_metrics class, taking some of the fields from VM. Make VM.static_maxEwan Mellor2007-01-301-1/+2
| | | | | | | | | | and static_min read-write. Added VM.VCPUs/{max,at_startup}. Make VM.VCPUs/params a string -> string map. This is the modelling, the C bindings, and the message file -- Xend support to follow. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Remove VM.actions_after_suspend, which never made any sense.Ewan Mellor2007-01-301-15/+0
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Remove VBD.driver, VIF.type, VIF.name, VTPM.driver. This modelling was neverEwan Mellor2007-01-291-2/+1
| | | | | | correct, and the values are best left implicit. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added a test for xen_vm_get_power_state.Ewan Mellor2006-12-151-9/+49
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Updated test to match new booting arrangement.Ewan Mellor2006-12-141-7/+7
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Have a 1GiB disk rather than 1MiB, for a slightly more sensible test.Ewan Mellor2006-12-141-1/+1
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* The get_by_name_label functions return a set, not a singleton, because namesEwan Mellor2006-10-281-11/+20
| | | | | | are not guaranteed to be unique. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Remove VTPM-related values, now obsolete.Ewan Mellor2006-10-271-2/+0
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Give our test VM a name with no space (Xend does not allow this at the moment).ewan@linford.intra2006-10-071-1/+1
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Import libxen-src-0.4.3-2.tar.bz2.ewan@linford.intra2006-10-071-0/+417
Signed-off-by: Ewan Mellor <ewan@xensource.com>