Commit Graph
28 Commits
Author SHA1 Message Date
Ewan Mellor 79a9f1f484 Rename the 3DNOW and 3DNOWEXT API constants to THREEDNOW, so that they may be
used directly as identifiers in bindings.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-05 15:34:47 +00:00
jfehlig@jfehlig2.provo.novell.com 160ed4756b Fix VM.get_power_state API. On the xend side an integer representation of the power state was being returned instead of a string representation as specified by the XenAPI spec.
On the c-bindings side the marshalling code converts the string representation to an enum value.  A subsequent attempt to convert the enum from a string to an enum was causing a seg fault.

Signed-off-by: Jim Fehlig <jfehlig@novell.com>
2006-12-13 18:06:48 -07:00
Ewan Mellor 87221c6db2 Remove the boot-type implementation -- now replaced by the HVM and PV boot
configuration.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-14 18:24:41 +00:00
Ewan Mellor 184500f7fc Implement new booting parameters for Xen-API, and backwards compatibility for
the old bootloader settings.

We now have two mutually exclusive config groups HVM and PV, with HVM/boot
and PV/{bootloader,kernel,ramdisk,args,bootloader_args}.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-14 18:24:14 +00:00
Ewan Mellor 75e4e9bd32 Implement xen_vm_set_vcpus_number,
xen_vm_{add,remove}_vcpus_features_force{on,off}.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-09 17:16:52 +00:00
Ewan Mellor 46d863fd0c Remove accidental double declaration of xen_vm_destroy.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-08 11:06:28 +00:00
Ewan Mellor 2f1190118f Implement the VM.auto_power_on field.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-08 10:59:18 +00:00
Ewan Mellor 4d68cba9cf One more doc-comment update.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-08 10:57:14 +00:00
Ewan Mellor bf5a051721 Update doc-comments to match recent documentation tidy-ups.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-08 10:51:41 +00:00
Ewan Mellor ef7c4eec7b New modelling for consoles -- have them as separate classes attached to the
VM, much like the arrangements for devices.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-29 23:31:07 +00:00
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 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 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 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 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@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