Commit Graph
13738 Commits
Author SHA1 Message Date
Ian Campbell ff0b3cef8d [XEN] Fix XENVER_capabilities hypercall.
Passing an array to a function turns it into a pointer which confuses
safe_strcat.

Also fix 54->64 typo in ia64 tree.

Thanks to Alex Williamson for pointing out the problem.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-01-31 10:11:26 +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
Tim Deegan 11e16a75a0 [HVM] Save/restore: Reset PIT period correctly
This fixes some time-speedup after restore in guests that use the PIT.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-01-30 18:30:27 +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
Keir Fraser ec6e374f1b ia64: Use memcpy() to fill ACPI identifier fields.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2007-01-30 17:39:54 +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
Keir Fraser 57464e1a9c Remove sprintf() from Xen. Use snprintf() and friends.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-30 16:27:53 +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
Keir Fraser ba8fa1be9e Clean up arch_get_xen_caps() to not use sprintf().
Based on a patch from Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-30 16:23:43 +00:00
Keir Fraser 46b860ba4b ia64, ppc: Remove uses of sprintf().
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
2007-01-30 16:14:16 +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
kaf24@localhost.localdomain e9bca537ab ia64: Clean up and fix errors in strncpy -> strlcpy conversion
Signed-off-by: Aron Griffis <aron@hp.com>
2007-01-30 15:57:58 +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
kaf24@localhost.localdomain 771bcffa97 Fix cross-compile (ia64-built-on-x86) failure.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-01-30 13:59:01 +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
kaf24@localhost.localdomain 00baa47b02 linux: Build TPM backend as a module by default.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-01-30 13:37:43 +00:00
Emmanuel Ackaouy c7cdf6739f [XEN] 32on64 fix compat page table shutdown
When releasing the guest page table, do not clobber the xen private
L4 page pointer which is managed by setup/release_compat_l4.

Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
2007-01-30 12:33:43 +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
Tim Deegan 1e3473e5e1 Merge 2007-01-30 11:57:56 +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
"Zhai, Edwin" fa5664be22 [PATCH][HVM] fix smp guest hang after restore
[PATCH][HVM] fix smp guest hang after restore

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>

update the pt irq after restore, otherwise all lapic timer intr are lost
2007-01-30 11:56:25 +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 0c787417a5 Document PIF_HANDLE_INVALID and PIF_METRICS_HANDLE_INVALID.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-29 19:04:54 +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 a698e69d29 Tidy-ups; no semantic-change.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-29 13:16:00 +00:00
Ewan Mellor 826c1590e8 Remove VIF.name from the documentation, matching recent change to Xend.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-29 12:57:49 +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 83bd001dc6 Document TASK_HANDLE_INVALID.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 23:07:37 +00:00