Commit Graph
25 Commits
Author SHA1 Message Date
Ewan Mellor c2739fc6af Rename abstract_value.double_val -> float_val. All the other names match the
abstract type names in the doc, so this one should too.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-09 11:40:28 +00:00
Ewan Mellor b17549f692 Added a destroy method for each object. Based upon the code for VM.destroy
by Jim Fehlig.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-09 11:37:35 +00:00
Ewan Mellor 312e1b1845 More capitalisation fixes -- the on-wire method name should match the
documentation in terms of capitalisation.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-09 11:23:09 +00:00
Ewan Mellor 1f926835c3 Minor tidying.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-09 11:11:38 +00:00
Ewan Mellor 9b91aeb6ad Replace uses of the typename (e.g. xen_host) where its used as a variable name.
This is an unusual style, and out of sync with the rest of the library.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-09 11:02:48 +00:00
jfehlig@jfehlig2.provo.novell.com 0d869553e3 Add support for VM.destroy RPC in libxen.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
2006-11-07 18:14:16 -07:00
kfraser@localhost.localdomain 93f56e1536 [XENAPI] Add 'image' field to xen_vbd_record, allowing an image to be
associated with the vbd. xend supports this field and the client
bindings need it to support existing images that are not under
control of an SR.

Signed-off-by: Jim Fehlig <jfehlig@novell.com>
2006-11-07 10:46:03 +00:00
Ewan Mellor 65488fbb18 uint64_t replaced with int64_t everywhere.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-28 13:30:21 +01: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 55923ae058 Fix marshalling to and from record_opts.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-28 12:00:02 +01:00
Ewan Mellor 88e408ccda Fix freeing of records, when the given pointer is NULL.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-28 11:54:05 +01:00
Ewan Mellor 07b95037c7 Fix the handling of sets in the interface -- expecting a pointer to X to serve
as a list of them was too hopeful -- that's what the set structures are for.

Based upon a patch by Jim Fehlig.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-28 11:50:35 +01:00
Ewan Mellor 4d00dc893b The on-wire names for the fields should be exactly as documented, including
case.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-28 11:41:55 +01:00
Ewan Mellor eb95231af8 Tidy.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-28 11:21:35 +01:00
Ewan Mellor 98fce5e002 Tidy.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-28 11:20:47 +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 Mellor 160e3425fc Fix VTPM bindings -- ints in the model are uint64_t at the C binding level.
VM's, being referenced from the VTPM, have a backreferring set.  Remove the
implementation of the old, dead VTPM-related fields on VM.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-26 16:02:49 +01:00
Ewan Mellor 75fc47c34f Implement new PIF-based network model, and match movement of I/O-statistics.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-26 15:59:51 +01:00
Ewan Mellor 90a38027f4 Implement VDI.resize message.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-26 15:57:29 +01:00
Ewan Mellor 6e30095293 Implement HostCPU.{vendor,speed,modelname}.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-26 15:56:44 +01:00
Ewan Mellor 4809ab6f09 Implement new VMX feature flag.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-26 15:53:31 +01:00
Ewan Mellor 947025bc2f C bindings 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 17:30:17 +01:00
Ewan Mellor 8e9710138a The session class has a lower-case S -- fix the C bindings to match.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-25 16:06:29 +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