Commit Graph
13707 Commits
Author SHA1 Message Date
"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
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 e32e2f1314 Document new error codes VLAN_TAG_INVALID and PIF_IS_PHYSICAL.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-28 13:50:56 +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 8359e64538 Integrate the Xen-API doc into the build.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-27 18:26:41 +00:00
Ewan Mellor a95d80318e Minor tidy-up.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-27 15:02:00 +00:00
shand@cosworth.eng.hq.xensource.com 57e76e2e7f [HVM] When guest explicitly modifies the TSC, update platform timers
_after_ updating guest time (since otherwise pt_reset() will get the 
old hvm_get_guest_time() and subsequently pt_intr_post() will warp 
the TSC back again). 

This is the smallest fix for the HVM SMP TSC issues seen on recent 
(viz. 2.6.18+) linux HVM kernels, but probably not the best. Cleaner
fix needs more thought. 

Signed-off-by: Steven Hand <steven@xensource.com>
2007-01-30 00:52:51 +00:00
Christian Limpach 495989297b [linux] Delay making the VCPUOP_initialise calls until the cpu is brought up
the first time.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-01-29 22:43:51 +00:00
kfraser@localhost.localdomain 37d690f328 Remove unused implementation of vsprintf().
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-29 21:16:02 +00:00
kfraser@localhost.localdomain 1abb530930 Remove little-endian assumption from library code.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-29 17:01:53 +00:00
Tim Deegan e3d9342716 Merge 2007-01-29 16:50:22 +00:00
Tim Deegan a1f771048a [HVM] Save/restore cleanups: don't save state for downed vcpus.
(Since we wouldn't load it anyway)
Also tidy up the plumbing around the hypercalls.

Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-01-29 16:49:29 +00:00
kfraser@localhost.localdomain 13e45065b1 Remove unused noth/hton endian conversion macros.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-29 16:48:42 +00:00
kfraser@localhost.localdomain 1b9603a42d Port ACM code to new Xen byteorder macros.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-29 16:46:52 +00:00
kfraser@localhost.localdomain 71200ab6fb Remove strcat/strncat/strcmp/strncmp. Replaced with safer
alternatives (including a new implementation of strlcat).
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-29 16:04:43 +00:00
kfraser@localhost.localdomain 724873d5c4 ia64 and ppc: Remove uses of strcpy and strncpy.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
2007-01-29 15:01:33 +00:00
kfraser@localhost.localdomain a9d66ce460 Remove uses of strcpy and strncpy from common and x86 code.
Retain safe_strcpy(). It can hide the third argument to strlcpy() in
most cases.

Based on patches from Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-29 14:59:42 +00:00
Ian Campbell 80777c3aae [LINUX] Force .data segment to be 4k aligned on i386.
Changeset 4e878f596c16 applied this change to the patches directory
but we also need to patch the sparse tree.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-01-29 13:22:21 +00:00
kfraser@localhost.localdomain b83f66feae libelf cannot rely on the strlcpy() BSD-ism.
Make a private definition based on strncpy and strlen.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-29 11:47:00 +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
kfraser@localhost.localdomain 45ce6547e6 Replace sprintf with snprintf and strncpy with strlcpy.
There are various cases where no NULL-terminated strings are
guaranteed and eventual possible overflows. This patch fixes them.

From: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-29 10:52:17 +00:00
kaf24@localhost.localdomain c642ec17d0 Clean up libelf endian macros and includes.
Based on a patch from John Levon <john.levon@sun.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-28 19:02:00 +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