Commit Graph
36 Commits
Author SHA1 Message Date
Keir Fraser 6e6a088333 cpupools [3/6]: libxen changes
Signed-off-by: Juergen Gross <juergen.gross@ts.fujitsu.com>
2010-04-21 12:49:41 +01:00
ewan@localhost.localdomain e83be11595 Move all internal header files to a separate directory, so that it's clear what
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>
2007-04-21 12:21:06 -07:00
Ewan Mellor 7371dd7b91 Added documentation, C bindings, and test for VM_metrics.VCPUs_flags.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-13 18:14:06 +01:00
Ewan Mellor 6492f2ffbf Added documentation, C bindings, and a test for VM_metrics.{start_time,
VCPUs_CPU,VCPUs_params}.

Changed VM_metrics.start_time to be a DateTime, not an integer.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-09 17:09:21 +01:00
Ewan Mellor 668fbded84 Make host.sched_policy read-only. Added docs, bindings, and a test for
host.cpu_configuration and host.sched_policy.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-09 12:20:35 +01:00
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 c7dfb7d170 Minor fix.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-29 15:51:04 +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 ab49221978 Create the new VM with the default crash behaviour set.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-26 00:40:34 +01:00
Ewan Mellor 275caa6d09 Added I/O debugging mode.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-26 00:17:17 +01:00
Ewan Mellor c664b94562 Fix memory values -- they should be in bytes.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-26 00:16:40 +01:00
Ewan Mellor 5382908367 Tidy up use of stdout vs stderr.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-26 00:12:19 +01:00
Ewan Mellor 9c052c30d6 Implement session.last_active, session.this_host, session.get_record,
session.get_uuid.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-26 00:08:13 +01:00
Ewan Mellor 7984b6bc71 Workaround buggy GCCs wrt strftime.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-23 17:51:24 +00: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 657d3fa3dd Match the name change for the QCoW SR.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-22 17:04:55 +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
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
Ewan Mellor 6eb3760aa8 Add vcpus_max and vcpus_at_startup values to the example VM creation.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-10 14:57:11 +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 b057b19321 Added C bindings for host.supported_bootloaders.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-21 00:04:59 +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
Ewan Mellor 8389ab43f5 Added host.dmesg method.
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>
2007-02-02 10:25:17 +00:00
Ewan Mellor a98eadf63a Improved the example to show creation of a VNC console, and the difference
between HVM and PV domains.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-01 19:02:55 +00:00
Ewan Mellor 73c92d7bb2 Change VM.HVM_boot to VM.HVM_boot_policy and VM.HVM_boot_params.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-01 11:55:31 +00:00
Alastair Tse ddffd1ed7d [XENAPI] Add VDI.location support and test c prog for HVM test.
Signed-off-by: Alastair Tse <atse@xensource.com>
2007-01-31 15:08:29 +00:00
Ewan Mellor 8a3405e402 Added VM_metrics class, taking some of the fields from VM. Make VM.static_max
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>
2007-01-30 18:30:18 +00:00
Ewan Mellor e9ee2b1071 Remove VM.actions_after_suspend, which never made any sense.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 00:34:31 +00:00
Ewan Mellor fbe0a45886 Remove VBD.driver, VIF.type, VIF.name, VTPM.driver. This modelling was never
correct, and the values are best left implicit.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-29 00:05:40 +00:00
Ewan Mellor 7bdf0f5b26 Added a test for xen_vm_get_power_state.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-15 11:00:04 +00:00
Ewan Mellor 1c253aa41e Updated test to match new booting arrangement.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-14 18:30:35 +00:00
Ewan Mellor ca636dbc6e Have a 1GiB disk rather than 1MiB, for a slightly more sensible test.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-14 14:50:35 +00:00
Ewan Mellor e9a8f0e261 The get_by_name_label functions return a set, not a singleton, because names
are not guaranteed to be unique.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-28 12:04:08 +01:00
Ewan Mellor 3de924f62e Remove VTPM-related values, now obsolete.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-27 09:52:49 +01:00
ewan@linford.intra 92ad3cb65a Give our test VM a name with no space (Xend does not allow this at the moment).
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-07 18:22:48 +01:00
ewan@linford.intra 273a416d03 Import libxen-src-0.4.3-2.tar.bz2.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-07 18:22:09 +01:00