Commit Graph
4815 Commits
Author SHA1 Message Date
Alastair Tse 6501ac6994 [XEND] Make python-pam warning only appear if using XenAPI
Signed-off-by: Alastair Tse <atse@xensource.com>
2007-01-31 12:58:41 +00:00
Tim Deegan 3f44314932 [HVM] Save/restore: save shared-info pfn and re-map it on restore
In the short term this allows us to save the same domain more than once.
Longer-term some more careful shared-info management will be needed.

Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-01-31 12:23:35 +00:00
Ian Campbell 8e84e3f524 [TOOLS] Fix foreign header build breakage.
Having both the Xen tree and the tools tree recurse into the foreign
headers directory causes headaches in parallel builds and when
building 32-bit tools + 64 bit Xen in the same tree.

Therefore we cause mk-symlinks to symlink in the foreign headers build
bits and generate a local version of the headers and checker tool.

Only libxc needs to do this since the other tools were actually
picking up the libxc version of the headers anyway so the mk-symlinks
calls can be removed from these components.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-01-31 10:25:12 +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
Keir Fraser 880562ad8b pygrub: fsimage binding must free objects with PyObject_DEL, not PyMem_DEL.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2007-01-30 17:50:39 +00:00
Ewan Mellor f2c7f02e99 Fix XendNode when no host state is saved.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 16:55:51 +00:00
Ewan Mellor 37704ecd82 Fix typo, as suggested by Stefan Berger.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 16:32:50 +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 77442ed1d3 Added task.session field.
Fix session.get_by_uuid and get_uuid, and remove session.get_all.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 16:09:16 +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
kaf24@localhost.localdomain 64559068e4 Older versions of as86 (<=0.16.0) require macro arguments to be bracketed.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-30 14:20:00 +00:00
Ewan Mellor a417e6aaaf Added backreference from PIF_metrics to PIF, and added a uuid to the session
record.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 13:53:44 +00:00
Ewan Mellor 4704ee8540 Added uuid to the PIF_metrics record.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 13:52:03 +00:00
Ewan Mellor f397e61b89 Added uuid to the PIF record.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 13:51:45 +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
kaf24@localhost.localdomain 2bc69bd7d9 new domain builder fix to boot domU on IA64.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-01-30 13:52:52 +00:00
Ian Campbell 0a957ea75a Push the target to build foreign headers into tools and xen
directories.  This allows those directories to be built independently
without relying on the toplevel Makefile.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-01-30 13:46:48 +00:00
kaf24@localhost.localdomain 5d63cf3871 Fix passing keymap parameter to xen-vncfb.
Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com>
2007-01-30 13:42:19 +00:00
kaf24@localhost.localdomain 7883dce659 xc_linux_save was broken in 13594:30af6cfdb05c. Unbreak it.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
2007-01-30 13:39:37 +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
Alastair Tse 52c24132c3 [XEND] Fix bootable flag bypass in XendConfig
Signed-off-by: Alastair Tse <atse@xensource.com>
2007-01-30 11:56:27 +00:00
Alastair Tse 9fd37a7622 [XEND] Unparsable VLAN numbers should default to -1
Signed-off-by: Alastair Tse <atse@xensource.com>
2007-01-30 11:37:18 +00:00
Ewan Mellor 4708b773f5 Set the log level back to WARN, reverting accidentally committed change.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 11:14:23 +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 2ee3755575 Remove XEN_API_CPU_FEATURE enum.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-30 00:36:43 +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 c7f15f456a Added TASK_HANDLE_INVALID to the messages file.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 23:06:21 +00:00
Ewan Mellor 02f22726b5 Tidy up the VBD API calls.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 23:05:59 +00:00
Ewan Mellor 6a288c4b02 Match recent changes to the task class in XenAPI with the get_record call here.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 18:39:17 +00:00
Ewan Mellor fcbd69e648 Fix bootloader handling.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 18:38:47 +00:00
Ewan Mellor 1e382e1113 Fix the handling of MESSAGE_METHOD_UNKNOWN, MESSAGE_PARAMETER_COUNT_MISMATCH,
through the AsyncProxy.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 18:37:42 +00:00
Ewan Mellor 063417a54b Add task.allowed_operations field, and task.cancel message. The
task_status_type enum has gained cancelling and cancelled values.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 18:05:13 +00:00
Ewan Mellor e9d603068b Made task.name_* read-only (these are set by Xend) and drop task.eta.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 17:33:50 +00:00
Ewan Mellor e0ad524018 Make session.this_host and session.this_user ROrun -- they are implicitly set
by a call to session.login_with_password, and cannot be created through a
constructor.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 17:21:37 +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 f3ca404628 Fix interface_name() after change of definition for the vlan field.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 15:55:55 +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
kfraser@localhost.localdomain d0ee673709 Fix 'xm create' and 'xm start' when SEDF scheduler is used.
If the Xen is running with the sedf scheduler, the following functions
do not call the domain_sched_credit_set().
 - domain_create()
 - domain_create_from_dict()
 - domain_start()

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2007-01-29 10:55:20 +00:00
kaf24@localhost.localdomain 6696b4ae89 Fix firmware compile on Solaris.
Use $(LD) not ld. Include right headers for x86 ELF bits.

Signed-off-by: John Levon <john.levon@sun.com>
2007-01-28 18:45:04 +00:00