xen.git
18 years ago[IA64] Xen build warning fixes
awilliam@xenbuild2.aw [Sun, 4 Feb 2007 19:06:59 +0000 (12:06 -0700)]
[IA64] Xen build warning fixes

Missing include and remove an sprintf

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years ago[IA64] Fix usage of 14 bit immediate value of IA64_RBS_OFFSET
awilliam@xenbuild2.aw [Sun, 4 Feb 2007 18:41:25 +0000 (11:41 -0700)]
[IA64] Fix usage of 14 bit immediate value of IA64_RBS_OFFSET

Limit is exceeded w/ 16k page size

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
18 years ago[IA64] Fix xencons_early_setup build warning
awilliam@xenbuild2.aw [Sun, 4 Feb 2007 18:37:48 +0000 (11:37 -0700)]
[IA64] Fix xencons_early_setup build warning

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
18 years ago[IA64] Fix PAL_HALT for paravirtualized domains
awilliam@xenbuild2.aw [Sun, 4 Feb 2007 18:36:12 +0000 (11:36 -0700)]
[IA64] Fix PAL_HALT for paravirtualized domains

machine_halt() stops the vcpus, but no longer destroys the domain.
This should be more in-line with the behavior on native hardware.

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
18 years ago[IA64] Bug fix new_tlbflush_clock_period()
awilliam@xenbuild2.aw [Sun, 4 Feb 2007 18:28:54 +0000 (11:28 -0700)]
[IA64] Bug fix new_tlbflush_clock_period()

__vhpt_flush() might be called from new_tlbflush_clock_period()
even if the vcpu doesn't have the per-vcpu-vhpt.
It erases 64KB memory content that starts from machine address 0.

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
18 years ago[IA64] Fix compile warnings in xenentry.S
awilliam@xenbuild2.aw [Thu, 1 Feb 2007 20:54:26 +0000 (13:54 -0700)]
[IA64] Fix compile warnings in xenentry.S

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
18 years ago[IA64] Optimize VTI domain hypercall path
awilliam@xenbuild2.aw [Thu, 1 Feb 2007 19:53:34 +0000 (12:53 -0700)]
[IA64] Optimize VTI domain hypercall path

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
18 years ago[IA64] Add arch_free_page()
awilliam@xenbuild2.aw [Wed, 31 Jan 2007 17:59:56 +0000 (10:59 -0700)]
[IA64] Add arch_free_page()

Without this, Linux can hit bad_page()

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
18 years agomerge with xen-unstable.hg
awilliam@xenbuild2.aw [Wed, 31 Jan 2007 17:30:54 +0000 (10:30 -0700)]
merge with xen-unstable.hg

18 years ago[XEND] Merge VFB support for PV and HVM guests.
Alastair Tse [Wed, 31 Jan 2007 13:20:36 +0000 (13:20 +0000)]
[XEND] Merge VFB support for PV and HVM guests.

This patch merges the way VFB are represented inside Xend by making
HVM VNC consoles use the VFB as its configuration object.

It preserves the way options are specified through xm but will create
a new VFB device that is used by image.py to put vnc config into
qemu-dm's command line. The parsing is moved into image.py's
parseDeviceModel() rather than in configVNC().

Through the Xen API, you can create a 'console' of protocol 'rfb' and
end up with a VNC console, on both HVM and PV guests. The location of
the connecting port is stored in the location attribute of the console
object. This is updated on each XendDomainInfo.update() if it
changes.

Also fixes missing read of the vnclisten and HVM_boot from the
config when initialised via xm. Makes sure bootable attribute for VBD
is store as an int when making SXP config.

Signed-off-by: Alastair Tse <atse@xensource.com>
18 years ago[XEND] Make python-pam warning only appear if using XenAPI
Alastair Tse [Wed, 31 Jan 2007 12:58:41 +0000 (12:58 +0000)]
[XEND] Make python-pam warning only appear if using XenAPI

Signed-off-by: Alastair Tse <atse@xensource.com>
18 years ago[HVM] Save/restore: save shared-info pfn and re-map it on restore
Tim Deegan [Wed, 31 Jan 2007 12:23:35 +0000 (12:23 +0000)]
[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>
18 years agoMerge
Tim Deegan [Wed, 31 Jan 2007 10:44:21 +0000 (10:44 +0000)]
Merge

18 years ago[XEN] Fix build breakage with gcc 4.1.2.
Ian Campbell [Wed, 31 Jan 2007 10:40:38 +0000 (10:40 +0000)]
[XEN] Fix build breakage with gcc 4.1.2.

domain_build.c: In function 'construct_dom' :
domain_build.c:874: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness

Unfortunately adding a simple cast to (char *) doesn't work since that
confuses safe_strcpy so revert to using strlcpy directly.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
18 years ago[HVM] Save/restore: save RTC state.
Tim Deegan [Wed, 31 Jan 2007 10:28:47 +0000 (10:28 +0000)]
[HVM] Save/restore: save RTC state.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
18 years ago[HVM] Save/restore: clean up marshalling code
Tim Deegan [Wed, 31 Jan 2007 10:27:10 +0000 (10:27 +0000)]
[HVM] Save/restore: clean up marshalling code
- All entries are now defined as structs and saved/restored
  in self-contained operations.
- Save/restore operations are type-safe, to tie each entry's
  typecode to a particular struct and its length.
- Save/restore handlers are registered once per host instead of
  per domain.
- Detect buffer overrun before it happens and abort.

Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
18 years ago[TOOLS] Fix foreign header build breakage.
Ian Campbell [Wed, 31 Jan 2007 10:25:12 +0000 (10:25 +0000)]
[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>
18 years ago[XEN] Fix XENVER_capabilities hypercall.
Ian Campbell [Wed, 31 Jan 2007 10:11:26 +0000 (10:11 +0000)]
[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>
18 years ago[IA64] Include dummy EFI memory descriptors for unmapped ranges
awilliam@xenbuild2.aw [Wed, 31 Jan 2007 06:35:32 +0000 (23:35 -0700)]
[IA64] Include dummy EFI memory descriptors for unmapped ranges

This eliminates a lot of warnings about dom0 trying to do UC
mappings to WB ranges.  Linux doesn't deal well with holes within
a granule.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years agoAdded VM_metrics class, taking some of the fields from VM. Make VM.static_max
Ewan Mellor [Tue, 30 Jan 2007 18:30:18 +0000 (18:30 +0000)]
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>
18 years ago[HVM] Save/restore: Reset PIT period correctly
Tim Deegan [Tue, 30 Jan 2007 18:30:27 +0000 (18:30 +0000)]
[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>
18 years agopygrub: fsimage binding must free objects with PyObject_DEL, not PyMem_DEL.
Keir Fraser [Tue, 30 Jan 2007 17:50:39 +0000 (17:50 +0000)]
pygrub: fsimage binding must free objects with PyObject_DEL, not PyMem_DEL.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
18 years agoia64: Use memcpy() to fill ACPI identifier fields.
Keir Fraser [Tue, 30 Jan 2007 17:39:54 +0000 (17:39 +0000)]
ia64: Use memcpy() to fill ACPI identifier fields.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years agoFix XendNode when no host state is saved.
Ewan Mellor [Tue, 30 Jan 2007 16:55:51 +0000 (16:55 +0000)]
Fix XendNode when no host state is saved.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoFix typo, as suggested by Stefan Berger.
Ewan Mellor [Tue, 30 Jan 2007 16:32:50 +0000 (16:32 +0000)]
Fix typo, as suggested by Stefan Berger.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoRemove sprintf() from Xen. Use snprintf() and friends.
Keir Fraser [Tue, 30 Jan 2007 16:27:53 +0000 (16:27 +0000)]
Remove sprintf() from Xen. Use snprintf() and friends.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoRemove the VTPM.instance field from the bindings.
Ewan Mellor [Tue, 30 Jan 2007 16:23:35 +0000 (16:23 +0000)]
Remove the VTPM.instance field from the bindings.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoClean up arch_get_xen_caps() to not use sprintf().
Keir Fraser [Tue, 30 Jan 2007 16:23:43 +0000 (16:23 +0000)]
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>
18 years agoia64, ppc: Remove uses of sprintf().
Keir Fraser [Tue, 30 Jan 2007 16:14:16 +0000 (16:14 +0000)]
ia64, ppc: Remove uses of sprintf().
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
18 years agoAdded task.session field.
Ewan Mellor [Tue, 30 Jan 2007 16:09:16 +0000 (16:09 +0000)]
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>
18 years agoia64: Clean up and fix errors in strncpy -> strlcpy conversion
kaf24@localhost.localdomain [Tue, 30 Jan 2007 15:57:58 +0000 (15:57 +0000)]
ia64: Clean up and fix errors in strncpy -> strlcpy conversion
Signed-off-by: Aron Griffis <aron@hp.com>
18 years agoAdded VM.is_control_domain field.
Ewan Mellor [Tue, 30 Jan 2007 15:27:10 +0000 (15:27 +0000)]
Added VM.is_control_domain field.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoAlign vTPM support in the Xen-API, documentation and lib-xen
kaf24@localhost.localdomain [Tue, 30 Jan 2007 14:51:05 +0000 (14:51 +0000)]
Align vTPM support in the Xen-API, documentation and lib-xen
(after the recent changes).

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
18 years agoOlder versions of as86 (<=0.16.0) require macro arguments to be bracketed.
kaf24@localhost.localdomain [Tue, 30 Jan 2007 14:20:00 +0000 (14:20 +0000)]
Older versions of as86 (<=0.16.0) require macro arguments to be bracketed.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoFix cross-compile (ia64-built-on-x86) failure.
kaf24@localhost.localdomain [Tue, 30 Jan 2007 13:59:01 +0000 (13:59 +0000)]
Fix cross-compile (ia64-built-on-x86) failure.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
18 years agoAdded backreference from PIF_metrics to PIF, and added a uuid to the session
Ewan Mellor [Tue, 30 Jan 2007 13:53:44 +0000 (13:53 +0000)]
Added backreference from PIF_metrics to PIF, and added a uuid to the session
record.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoAdded uuid to the PIF_metrics record.
Ewan Mellor [Tue, 30 Jan 2007 13:52:03 +0000 (13:52 +0000)]
Added uuid to the PIF_metrics record.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoAdded uuid to the PIF record.
Ewan Mellor [Tue, 30 Jan 2007 13:51:45 +0000 (13:51 +0000)]
Added uuid to the PIF record.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoAdded host_metrics class.
Ewan Mellor [Tue, 30 Jan 2007 13:46:46 +0000 (13:46 +0000)]
Added host_metrics class.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoAdded modelling and C bindings for crashdumps, and suspend VDIs.
Ewan Mellor [Tue, 30 Jan 2007 12:43:40 +0000 (12:43 +0000)]
Added modelling and C bindings for crashdumps, and suspend VDIs.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agonew domain builder fix to boot domU on IA64.
kaf24@localhost.localdomain [Tue, 30 Jan 2007 13:52:52 +0000 (13:52 +0000)]
new domain builder fix to boot domU on IA64.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
18 years agoPush the target to build foreign headers into tools and xen
Ian Campbell [Tue, 30 Jan 2007 13:46:48 +0000 (13:46 +0000)]
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>
18 years agoFix passing keymap parameter to xen-vncfb.
kaf24@localhost.localdomain [Tue, 30 Jan 2007 13:42:19 +0000 (13:42 +0000)]
Fix passing keymap parameter to xen-vncfb.
Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com>
18 years agoxc_linux_save was broken in 13594:30af6cfdb05c. Unbreak it.
kaf24@localhost.localdomain [Tue, 30 Jan 2007 13:39:37 +0000 (13:39 +0000)]
xc_linux_save was broken in 13594:30af6cfdb05c. Unbreak it.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
18 years agolinux: Build TPM backend as a module by default.
kaf24@localhost.localdomain [Tue, 30 Jan 2007 13:37:43 +0000 (13:37 +0000)]
linux: Build TPM backend as a module by default.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
18 years ago[XEN] 32on64 fix compat page table shutdown
Emmanuel Ackaouy [Tue, 30 Jan 2007 12:33:43 +0000 (12:33 +0000)]
[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>
18 years agoAdded host.logging, to hold server-side logging configuration.
Ewan Mellor [Tue, 30 Jan 2007 12:31:20 +0000 (12:31 +0000)]
Added host.logging, to hold server-side logging configuration.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoMerge
Tim Deegan [Tue, 30 Jan 2007 11:57:56 +0000 (11:57 +0000)]
Merge

18 years ago[XEND] Fix bootable flag bypass in XendConfig
Alastair Tse [Tue, 30 Jan 2007 11:56:27 +0000 (11:56 +0000)]
[XEND] Fix bootable flag bypass in XendConfig

Signed-off-by: Alastair Tse <atse@xensource.com>
18 years ago[PATCH][HVM] fix smp guest hang after restore
"Zhai, Edwin" [Tue, 30 Jan 2007 11:56:25 +0000 (11:56 +0000)]
[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

18 years ago[XEND] Unparsable VLAN numbers should default to -1
Alastair Tse [Tue, 30 Jan 2007 11:37:18 +0000 (11:37 +0000)]
[XEND] Unparsable VLAN numbers should default to -1

Signed-off-by: Alastair Tse <atse@xensource.com>
18 years agoSet the log level back to WARN, reverting accidentally committed change.
Ewan Mellor [Tue, 30 Jan 2007 11:14:23 +0000 (11:14 +0000)]
Set the log level back to WARN, reverting accidentally committed change.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoAdded host.other_config.
Ewan Mellor [Tue, 30 Jan 2007 01:23:58 +0000 (01:23 +0000)]
Added host.other_config.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoRemove XEN_API_CPU_FEATURE enum.
Ewan Mellor [Tue, 30 Jan 2007 00:36:43 +0000 (00:36 +0000)]
Remove XEN_API_CPU_FEATURE enum.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoRemove VM.actions_after_suspend, which never made any sense.
Ewan Mellor [Tue, 30 Jan 2007 00:34:31 +0000 (00:34 +0000)]
Remove VM.actions_after_suspend, which never made any sense.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoRemove the CPU feature handling, unimplementable as it stands.
Ewan Mellor [Tue, 30 Jan 2007 00:10:05 +0000 (00:10 +0000)]
Remove the CPU feature handling, unimplementable as it stands.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoDocument PIF_HANDLE_INVALID and PIF_METRICS_HANDLE_INVALID.
Ewan Mellor [Mon, 29 Jan 2007 19:04:54 +0000 (19:04 +0000)]
Document PIF_HANDLE_INVALID and PIF_METRICS_HANDLE_INVALID.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoMove the io bandwidth fields from PIF onto a new PIF_metrics class.
Ewan Mellor [Mon, 29 Jan 2007 19:00:48 +0000 (19:00 +0000)]
Move the io bandwidth fields from PIF onto a new PIF_metrics class.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years ago[IA64] Update buildconfigs
awilliam@xenbuild2.aw [Mon, 29 Jan 2007 18:17:15 +0000 (11:17 -0700)]
[IA64] Update buildconfigs

Mainly just taking defaults from make oldconfig.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years agoFix documentation so that the connection objects (PIF, VBD, and VIF) are
Ewan Mellor [Mon, 29 Jan 2007 14:52:27 +0000 (14:52 +0000)]
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>
18 years agoAdded missing PBD-related C bindings.
Ewan Mellor [Mon, 29 Jan 2007 13:18:20 +0000 (13:18 +0000)]
Added missing PBD-related C bindings.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoAdded modelling and C bindings for the PBD class. PBDs are the analogue of
Ewan Mellor [Mon, 29 Jan 2007 13:17:53 +0000 (13:17 +0000)]
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>
18 years agoTidy-ups; no semantic-change.
Ewan Mellor [Mon, 29 Jan 2007 13:16:00 +0000 (13:16 +0000)]
Tidy-ups; no semantic-change.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoRemove VIF.name from the documentation, matching recent change to Xend.
Ewan Mellor [Mon, 29 Jan 2007 12:57:49 +0000 (12:57 +0000)]
Remove VIF.name from the documentation, matching recent change to Xend.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoUpdate doc-comments.
Ewan Mellor [Mon, 29 Jan 2007 12:53:18 +0000 (12:53 +0000)]
Update doc-comments.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoRemove the VDI.parent and VDI.children fields -- this needs more thinking out,
Ewan Mellor [Mon, 29 Jan 2007 12:19:40 +0000 (12:19 +0000)]
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>
18 years agoRename VM.otherConfig to VM.other_config, for consistency with the other fields,
Ewan Mellor [Mon, 29 Jan 2007 12:11:13 +0000 (12:11 +0000)]
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>
18 years agoRemove VBD.driver, VIF.type, VIF.name, VTPM.driver. This modelling was never
Ewan Mellor [Mon, 29 Jan 2007 00:05:40 +0000 (00:05 +0000)]
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>
18 years agomerge with xen-unstable.hg
awilliam@xenbuild2.aw [Sun, 28 Jan 2007 23:47:12 +0000 (16:47 -0700)]
merge with xen-unstable.hg

18 years ago[IA64] Remove PG_foreign hack
awilliam@xenbuild2.aw [Sun, 28 Jan 2007 23:37:02 +0000 (16:37 -0700)]
[IA64] Remove PG_foreign hack

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years ago[IA64] New resend_irq_on_evtchn() params
awilliam@xenbuild2.aw [Sun, 28 Jan 2007 23:33:18 +0000 (16:33 -0700)]
[IA64] New resend_irq_on_evtchn() params

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years ago[IA64] update xensetup.S for new upstream
awilliam@xenbuild2.aw [Sun, 28 Jan 2007 23:32:27 +0000 (16:32 -0700)]
[IA64] update xensetup.S for new upstream

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years ago[IA64] Update installing the panic notifier for new upstream
awilliam@xenbuild2.aw [Sun, 28 Jan 2007 23:31:08 +0000 (16:31 -0700)]
[IA64] Update installing the panic notifier for new upstream

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years ago[IA64] Fix for irq_desc() missing in new upstream
awilliam@xenbuild2.aw [Sun, 28 Jan 2007 23:30:19 +0000 (16:30 -0700)]
[IA64] Fix for irq_desc() missing in new upstream

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years ago[IA64] Kludge for XEN_GUEST_HANDLE_64
awilliam@xenbuild2.aw [Sun, 28 Jan 2007 23:29:21 +0000 (16:29 -0700)]
[IA64] Kludge for XEN_GUEST_HANDLE_64

This is ugly, but the include spaghetti around xen.h isn't giving
us the right defines.  This should be removed with the includes
are untangled.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years ago[IA64] Update for RCU code
awilliam@xenbuild2.aw [Sun, 28 Jan 2007 23:26:28 +0000 (16:26 -0700)]
[IA64] Update for RCU code

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years ago[IA64] arch_vcpu_reset() stub
awilliam@xenbuild2.aw [Sun, 28 Jan 2007 23:25:44 +0000 (16:25 -0700)]
[IA64] arch_vcpu_reset() stub

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years agoDocument TASK_HANDLE_INVALID.
Ewan Mellor [Sun, 28 Jan 2007 23:07:37 +0000 (23:07 +0000)]
Document TASK_HANDLE_INVALID.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoAdded TASK_HANDLE_INVALID to the messages file.
Ewan Mellor [Sun, 28 Jan 2007 23:06:21 +0000 (23:06 +0000)]
Added TASK_HANDLE_INVALID to the messages file.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoTidy up the VBD API calls.
Ewan Mellor [Sun, 28 Jan 2007 23:05:59 +0000 (23:05 +0000)]
Tidy up the VBD API calls.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoClean up libelf endian macros and includes.
kaf24@localhost.localdomain [Sun, 28 Jan 2007 19:02:00 +0000 (19:02 +0000)]
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>
18 years agoFix firmware compile on Solaris.
kaf24@localhost.localdomain [Sun, 28 Jan 2007 18:45:04 +0000 (18:45 +0000)]
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>
18 years agoMatch recent changes to the task class in XenAPI with the get_record call here.
Ewan Mellor [Sun, 28 Jan 2007 18:39:17 +0000 (18:39 +0000)]
Match recent changes to the task class in XenAPI with the get_record call here.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoFix bootloader handling.
Ewan Mellor [Sun, 28 Jan 2007 18:38:47 +0000 (18:38 +0000)]
Fix bootloader handling.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoFix the handling of MESSAGE_METHOD_UNKNOWN, MESSAGE_PARAMETER_COUNT_MISMATCH,
Ewan Mellor [Sun, 28 Jan 2007 18:37:42 +0000 (18:37 +0000)]
Fix the handling of MESSAGE_METHOD_UNKNOWN, MESSAGE_PARAMETER_COUNT_MISMATCH,
through the AsyncProxy.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoAdd task.allowed_operations field, and task.cancel message. The
Ewan Mellor [Sun, 28 Jan 2007 18:05:13 +0000 (18:05 +0000)]
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>
18 years agoMade task.name_* read-only (these are set by Xend) and drop task.eta.
Ewan Mellor [Sun, 28 Jan 2007 17:33:50 +0000 (17:33 +0000)]
Made task.name_* read-only (these are set by Xend) and drop task.eta.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoMake session.this_host and session.this_user ROrun -- they are implicitly set
Ewan Mellor [Sun, 28 Jan 2007 17:21:37 +0000 (17:21 +0000)]
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>
18 years agoAdded a VBD.bootable flag.
Ewan Mellor [Sun, 28 Jan 2007 17:11:40 +0000 (17:11 +0000)]
Added a VBD.bootable flag.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoFix compat build for weird solaris gcc target.
kaf24@localhost.localdomain [Sun, 28 Jan 2007 16:05:07 +0000 (16:05 +0000)]
Fix compat build for weird solaris gcc target.
Signed-off-by: John Levon <john.levon@sun.com>
18 years agoFix interface_name() after change of definition for the vlan field.
Ewan Mellor [Sun, 28 Jan 2007 15:55:55 +0000 (15:55 +0000)]
Fix interface_name() after change of definition for the vlan field.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoDocument new error codes VLAN_TAG_INVALID and PIF_IS_PHYSICAL.
Ewan Mellor [Sun, 28 Jan 2007 13:50:56 +0000 (13:50 +0000)]
Document new error codes VLAN_TAG_INVALID and PIF_IS_PHYSICAL.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoDocument existing PIF.create_VLAN, and remove PIF.create (PIFs are implicitly
Ewan Mellor [Sun, 28 Jan 2007 13:40:07 +0000 (13:40 +0000)]
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>
18 years agoTo avoid problems (hang) when doing migration, the Console Controller
kaf24@localhost.localdomain [Sun, 28 Jan 2007 09:47:22 +0000 (09:47 +0000)]
To avoid problems (hang) when doing migration, the Console Controller
needs to implement a (dummy) migrate method.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
18 years ago[HVM] save/restore fix
kaf24@localhost.localdomain [Sun, 28 Jan 2007 09:46:09 +0000 (09:46 +0000)]
[HVM] save/restore fix

* do not save "down" vcpu's vmcs to avoid system crash
* make hvm_ctxt buffer bigger as all vmcs sit here, otherwise >=4
* vcpus cause overflow

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
18 years agoAllow 'xm create' to set scheduling parameters.
kaf24@localhost.localdomain [Sun, 28 Jan 2007 09:37:18 +0000 (09:37 +0000)]
Allow 'xm create' to set scheduling parameters.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
18 years agoReject xm sched-* comands for other than the in-use scheduler.
kaf24@localhost.localdomain [Sun, 28 Jan 2007 09:35:00 +0000 (09:35 +0000)]
Reject xm sched-* comands for other than the in-use scheduler.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
18 years agoFix xentop error return code if passed unrecognised options.
kaf24@localhost.localdomain [Sun, 28 Jan 2007 09:33:47 +0000 (09:33 +0000)]
Fix xentop error return code if passed unrecognised options.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
18 years agomerge with xen-unstable.hg
awilliam@xenbuild2.aw [Sat, 27 Jan 2007 21:07:19 +0000 (14:07 -0700)]
merge with xen-unstable.hg

18 years agoIntegrate the Xen-API doc into the build.
Ewan Mellor [Sat, 27 Jan 2007 18:26:41 +0000 (18:26 +0000)]
Integrate the Xen-API doc into the build.

Signed-off-by: Ewan Mellor <ewan@xensource.com>