Commit Graph
904 Commits
Author SHA1 Message Date
kfraser@localhost.localdomain 0269e41669 libxenctrl: xc_destroy_domain() handles EAGAIN.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-08-31 15:43:28 +01:00
kfraser@localhost.localdomain 61c6564d34 Cleanups after XSM checkin.
Signed-off-by: Keir Fraser <keir@xensource.com>

--HG--
rename : xen/include/public/acm.h => xen/include/public/xsm/acm.h
rename : xen/include/public/acm_ops.h => xen/include/public/xsm/acm_ops.h
rename : xen/include/acm/acm_core.h => xen/include/xsm/acm/acm_core.h
rename : xen/include/acm/acm_endian.h => xen/include/xsm/acm/acm_endian.h
rename : xen/include/acm/acm_hooks.h => xen/include/xsm/acm/acm_hooks.h
2007-08-31 12:05:07 +01:00
kfraser@localhost.localdomain 670a6002b9 Xen Security Modules: ACM.
Signed-off-by: George Coker <gscoker@alpha.ncsc.mil>
2007-08-31 11:41:49 +01:00
kfraser@localhost.localdomain 75dabf614d Introduce xc_core_arch_gpfn_may_present() hook.
On ia64 trying to map a foreign domain page which isn't allocated
cause annoying warning message. xm dump-core results in too many
warnings. With this hook, ia64 dump-core can suprress warning.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-08-30 15:00:21 +01:00
kfraser@localhost.localdomain 0e0204500e Optimize xc_core.c implementation.
Optimize out unnecessary map/unmap foreign domain page
by moving p2m/pfn talbe after pages array.
This patch doesn't change the xm dump-core format.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-08-30 14:58:40 +01:00
kfraser@localhost.localdomain c583625712 Some minor cleanup of xc_core.c.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-08-30 14:57:24 +01:00
kfraser@localhost.localdomain 807d8048a2 libxc: Various xc_evtchn_* functions must return signed integer type.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-08-14 09:21:39 +01:00
Ian Campbell 16e00ecd92 Do not clobber new wallclock offset on restore.
The new hypervisor will set shared_info->wc_* so do not clobber those
values with the saved versions from the old hypervisor.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-08-08 15:03:40 +01:00
kfraser@localhost.localdomain 5a9b83aea8 domain builder: Zero start_info struct.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-08-03 12:23:03 +01:00
kfraser@localhost.localdomain bd51a860fa [IA64] Fix tools build.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2007-08-01 08:57:55 +01:00
kfraser@localhost.localdomain 9b10f22848 Move generate_acpi_checksum() from ia64 code to common.
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
2007-07-30 10:59:27 +01:00
kfraser@localhost.localdomain fa88310477 [LIBXC] Fix xc_map_grant_refs() function.
This patch fixes the xc_map_grant_refs() function, which would fail
because, instead of passing the malloc()-ed ioctl argument pointer to
the ioctl, the address of this pointer was being passed instead.

Signed-off-by: Derek Murray <Derek.Murray@cl.cam.ac.uk>
2007-07-12 14:14:29 +01:00
kfraser@localhost.localdomain 7263c43515 Merge with ia64 xen tree. 2007-07-12 09:53:58 +01:00
kfraser@localhost.localdomain 4871e12b20 Add new domctl hypercall to expose current heap values. This
functionality is needed for probing how much memory is available in a
given node prior to VM creation.

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-07-11 13:03:57 +01:00
Alex Williamson 2cae8465ac merge with xen-unstable.hg 2007-07-10 08:39:26 -06:00
Keir Fraser 43aa5ed8c0 Specify -fno-strict-aliasing in root build config file.
Fixes correctness issues with xenstored and gcc-4.2.

Original patch by Charles Coffing <ccoffing@novell.com>

Signed-off-by: Keir Fraser <keir@xensource.com>
2007-07-07 10:31:15 +01:00
kfraser@localhost.localdomain be259653f3 Extended the physinfo sysctl to export NUMA cpu_to_node topology info.
Print this in 'xm info'.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-07-06 16:12:07 +01:00
kfraser@localhost.localdomain ac9fcaa957 Export debugger attached state to xc API.
Signed-off-by: Tristan Gingold <tgingold@free.fr>
2007-07-06 14:42:55 +01:00
Alex Williamson 19472a02dd merge with xen-unstable.hg 2007-07-02 12:19:26 -06:00
Alex Williamson b624e17e3d [IA64] Fix incorrect NVRAM saving if domain is destroyed by config error
Nvram saving is always executed even if a domain is destroyed by a
configuration parameter error.  In this case, Nvram saving function
will get a bad address for the NVRAM data and save garbage into the
NVRAM file. Configuring a wrong vif parameter can expose this issue.

This patch fixes the issue by adding an address check function in
NVRAM saving path.

Signed-off-by: Zhang Xin <xing.z.zhang@intel.com>
2007-07-02 09:05:24 -06:00
Keir Fraser 41b3adc925 More getcpuinfo sysctl cleanup.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-06-27 21:43:43 +01:00
Steven Hand 3bc33badf2 Add new sysctl to return runtime information about physical CPU utilization.
Signed-off-by: Steven Hadn <steven@xensource.com>
2007-06-27 21:01:08 +01:00
Alex Williamson 0aa79431e8 libxc: Add xc_domain_setdebugging in xenctrl API
Use it in xc_ptrace.c

Signed-off-by: Tristan Gingold <tgingold@free.fr>
Acked-by: Keir Fraser <keir@xensource.com>
2007-06-26 16:18:28 -06:00
kfraser@localhost.localdomain 5a07d757fb libxenguest: Add another range check to dom restore.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-06-21 12:10:01 +01:00
kfraser@localhost.localdomain 284d8c4881 libxenguest: Add missing range-check on count field read from a domain
save/restore file.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-06-21 09:47:39 +01:00
Alex Williamson 4f27e3fe03 merge with xen-unstable.hg 2007-06-20 12:49:27 -06:00
kfraser@localhost.localdomain 310da2e989 tools: Fix compiler warning.
From: Charles Coffing <ccoffing@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-06-19 15:55:13 +01:00
Alex Williamson ea203ff9ad [IA64] Typo fix: avoid spurious errors.
Signed-off-by: Tristan Gingold <tgingold@free.fr>
2007-06-18 13:36:36 -06:00
Alex Williamson 8619e2100c [IA64] Add error checking to nvram store mkdir
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2007-06-15 11:34:34 -06:00
Alex Williamson 2d66d8efcf [IA64] Create NVRAM save directory
If you use RPM to install XEN, the directory(/usr/lib/xen/boot)
will be removed when you un-install the RPM. This patch create
that directory before NVRAM file creating.

Signed-off-by: Zhang Xin <xing.z.zhang@intel.com>
2007-06-15 09:25:09 -06:00
Alex Williamson 2a46c653b1 [IA64] Don't try to save nvram on PV domains
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2007-06-14 15:32:22 -06:00
Alex Williamson 5be530d543 [IA64] symlink kregs.h into libxc build
Suggested by Akio Takebe

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2007-06-14 15:13:59 -06:00
Alex Williamson 8a25d0a58c Merge with xen-unstable.hg (staging) 2007-06-12 20:41:08 -06:00
Alex Williamson eca595007b [IA64] libxc trivial fix compilation error.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-06-12 15:23:55 -06:00
Alex Williamson e588d94efc [IA64] Use virtualized psr in vcpu context instead of real psr.
Signed-off-by: Tristan Gingold <tgingold@free.fr>
2007-06-12 15:16:03 -06:00
Alex Williamson d522ac669b [IA64][BUILDER] Define native protocol ABI for IA64 guests.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-06-12 14:58:39 -06:00
kfraser@localhost.localdomain 1b0d4ab994 Fix fully-virtualized core dumps for 32-bit guests.
Signed-off-by: Chris Lalancette <clalance@redhat.com>
2007-06-12 11:39:51 +01:00
kfraser@localhost.localdomain ab053a8b33 [IA64] When a domU is destroyed, it will fall into NVRAM saving
path. But if there is no NVRAM file for the domU, the save operation
would fail. Then domU blocked by Xend's exception. This patch fixs
that issue.

Signed-off-by: Zhang Xin <xing.z.zhang@intel.com>
2007-06-12 11:32:03 +01:00
kfraser@localhost.localdomain ea511d357e tools: Clean up usage of const type qualifier.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-06-12 11:26:51 +01:00
Alex Williamson 50ee69313f [IA64] White space cleanup from nvram patch
This file is using space indenting.  No functional changes.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2007-06-11 14:19:05 -06:00
Alex Williamson 6fe1b92429 merge with xen-unstable.hg (staging) 2007-06-11 13:46:42 -06:00
Keir Fraser ebb19b1cc8 hvm: e820 public header cleanup.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-06-10 19:49:44 +01:00
Alex Williamson b079d72c10 [IA64] Allow dynamic allocation of dom0 fw_tables
This address Xensource bugzilla #980

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-06-04 13:57:08 -06:00
Alex Williamson c811f1fa77 [IA64] memmap: save/restore: support save/restore with domain memmap
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-05-24 15:54:52 -06:00
kfraser@localhost.localdomain fab51b46ae [ACM] Simpler interface to hypercalls
Implement a simpler interface for the hypercalls to ACM. I put the
parameters to all hypercalls into a union. On top of this I have
implemented a shim layer for enabling ACM hypercalls on PPC.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-05-24 10:18:55 +01:00
kfraser@localhost.localdomain d5cd127e3b ia64: nvram setup.
From: "Zhang, Xing Z" <xing.z.zhang@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-05-24 09:54:03 +01:00
Alex Williamson 53a695dfbc [IA64] Trivial whitespace cleanups
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2007-05-23 10:40:19 -06:00
kfraser@localhost.localdomain 09bf75fb8a Merge with xen-ia64-unstable.hg 2007-05-22 06:43:05 +01:00
Alex Williamson 0d1ee450d9 [IA64] memmap: dump-core: enable ia64 memory map code
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-05-21 14:09:27 -06:00
Alex Williamson bbe11c9e2e [IA64] memmap: ia64 domVTi memmap info support
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-05-21 14:08:19 -06:00