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
015c384bf9
Put the set size in the structure on set-allocation.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 23:59:13 +00:00
Ewan Mellor
c24f2b2bec
Remove host.create and host.destroy -- these never made any sense.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 22:46:21 +00:00
Ewan Mellor
1a84dd141d
Added modelling and C bindings for VIF/VBD QoS parameter setting. No Xend
...
implementation yet.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 22:40:55 +00:00
Ewan Mellor
fa4627735b
Split the VIF I/O statistics fields out into a VIF_metrics class. Implement
...
this in Xend, and fix the VBD_metrics implementation. Implement C bindings
also.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 21:55:11 +00:00
Ewan Mellor
d8d0f7d08c
Split the VBD I/O statistics out into a VBD_metrics class. Document the
...
VBD.type field, and add it to the C bindings (this was already in Xend).
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 21:28:19 +00:00
Ewan Mellor
c2592685ff
Added Console.other_config to the docs (Xend already has this).
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 19:38:24 +00:00
Ewan Mellor
cdbec983af
Rename Console.uri to location. Xend already uses the latter.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 19:23:28 +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
d650ce4366
Remove VM_power_state value ShuttingDown. This should be indicated with
...
an in-progress task, when known.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-02 10:07:58 +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
f3efbd339f
Remove the VTPM.instance field from the bindings.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-30 16:23:35 +00:00
Ewan Mellor
899dc94915
Added VM.is_control_domain field.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-30 15:27:10 +00:00
kaf24@localhost.localdomain
a36b1fbb02
Align vTPM support in the Xen-API, documentation and lib-xen
...
(after the recent changes).
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2007-01-30 14:51:05 +00:00
Ewan Mellor
e9363fa86b
Added host_metrics class.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-30 13:46:46 +00:00
Ewan Mellor
93775fde38
Added modelling and C bindings for crashdumps, and suspend VDIs.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-30 12:43:40 +00:00
Ewan Mellor
f1efb233c1
Added host.logging, to hold server-side logging configuration.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-30 12:31:20 +00:00
Ewan Mellor
9057060b19
Added host.other_config.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-30 01:23:58 +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
ff9fb017b3
Remove the CPU feature handling, unimplementable as it stands.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-30 00:10:05 +00:00
Ewan Mellor
bc1f80dd2c
Move the io bandwidth fields from PIF onto a new PIF_metrics class.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-29 19:00:48 +00:00
Ewan Mellor
32890a0e31
Fix documentation so that the connection objects (PIF, VBD, and VIF) are
...
connected to their referands through StaticRO fields.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-29 14:52:27 +00:00
Ewan Mellor
4ba0f770be
Added missing PBD-related C bindings.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-29 13:18:20 +00:00
Ewan Mellor
3c828fdc18
Added modelling and C bindings for the PBD class. PBDs are the analogue of
...
PIFs, indicating how an SR is attached to a host.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-29 13:17:53 +00:00
Ewan Mellor
667ba0a809
Update doc-comments.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-29 12:53:18 +00:00
Ewan Mellor
8ed82355a0
Remove the VDI.parent and VDI.children fields -- this needs more thinking out,
...
and cannot be supported in this form.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-29 12:19:40 +00:00
Ewan Mellor
22309ac566
Rename VM.otherConfig to VM.other_config, for consistency with the other fields,
...
and implement add_to_other_config and remove_from_other_config in the C
bindings.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-29 12:11:13 +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
bdafeefd69
Added a VBD.bootable flag.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-28 17:11:40 +00:00
Ewan Mellor
bd16434c05
Document existing PIF.create_VLAN, and remove PIF.create (PIFs are implicitly
...
created from the physical host configuration).
Change PIF.name to PIF.device, for consistency with other uses, and make
PIF.VLAN an int.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-28 13:40:07 +00:00
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