aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc
Commit message (Collapse)AuthorAgeFilesLines
...
| * libxenctrl: xc_destroy_domain() handles EAGAIN.kfraser@localhost.localdomain2007-08-311-1/+5
| | | | | | | | Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
| * Cleanups after XSM checkin.kfraser@localhost.localdomain2007-08-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | 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
| * Xen Security Modules: ACM.kfraser@localhost.localdomain2007-08-311-1/+1
| | | | | | | | Signed-off-by: George Coker <gscoker@alpha.ncsc.mil>
| * Introduce xc_core_arch_gpfn_may_present() hook.kfraser@localhost.localdomain2007-08-308-10/+19
| | | | | | | | | | | | | | 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>
| * Optimize xc_core.c implementation.kfraser@localhost.localdomain2007-08-302-112/+123
| | | | | | | | | | | | | | | | 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>
| * Some minor cleanup of xc_core.c.kfraser@localhost.localdomain2007-08-301-70/+128
| | | | | | | | Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* | [IA64] Move nvram from /usr to /varAlex Williamson2007-08-281-18/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Presently nvram is stored in /usr/lib/xen/boot/nvram_<domain> next to the guest firmware. This violates the FHS because /usr might be mounted read-only. This patch moves the nvram storage to /var/lib/xen/nvram/nvram_<domain> Also clean up: - references to stat_buf assumed that stat() had succeeded; use access() instead since it's easier and doesn't require stat_buf at all - nvram_path[PATH_MAX] instead of nvram_path[100] - strncpy(..., strlen(src)) is meaningless, re-order length tests to work correctly Signed-off-by: Aron Griffis <aron@hp.com>
* | [IA64] Fix parallel build; directory must exist before making symlinkAlex Williamson2007-08-281-1/+1
| | | | | | | | Signed-off-by: Aron Griffis <aron@hp.com>
* | [IA64] Clean up NVRAM failure caseAlex Williamson2007-08-241-0/+5
|/ | | | | | | copy_from_GFW_to_nvram() in libxc forgot munmap() if NVRAM data invalid. Also it forgot free() and close() too. Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
* libxc: Various xc_evtchn_* functions must return signed integer type.kfraser@localhost.localdomain2007-08-144-90/+107
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Do not clobber new wallclock offset on restore.Ian Campbell2007-08-081-12/+23
| | | | | | | 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>
* domain builder: Zero start_info struct.kfraser@localhost.localdomain2007-08-031-0/+2
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* [IA64] Fix tools build.kfraser@localhost.localdomain2007-08-011-1/+3
| | | | Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* Move generate_acpi_checksum() from ia64 code to common.kfraser@localhost.localdomain2007-07-302-1/+14
| | | | Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
* [LIBXC] Fix xc_map_grant_refs() function.kfraser@localhost.localdomain2007-07-121-1/+1
| | | | | | | | 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>
* Merge with ia64 xen tree.kfraser@localhost.localdomain2007-07-122-0/+35
|\
| * Add new domctl hypercall to expose current heap values. Thiskfraser@localhost.localdomain2007-07-112-0/+35
| | | | | | | | | | | | | | | | 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>
* | merge with xen-unstable.hgAlex Williamson2007-07-104-2/+5
|\|
| * Specify -fno-strict-aliasing in root build config file.Keir Fraser2007-07-071-1/+0
| | | | | | | | | | | | | | | | 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>
| * Extended the physinfo sysctl to export NUMA cpu_to_node topology info.kfraser@localhost.localdomain2007-07-062-0/+3
| | | | | | | | | | | | Print this in 'xm info'. Signed-off-by: Ryan Harper <ryanh@us.ibm.com> Signed-off-by: Keir Fraser <keir@xensource.com>
| * Export debugger attached state to xc API.kfraser@localhost.localdomain2007-07-062-1/+2
| | | | | | | | Signed-off-by: Tristan Gingold <tgingold@free.fr>
* | merge with xen-unstable.hgAlex Williamson2007-07-023-6/+35
|\|
| * More getcpuinfo sysctl cleanup.Keir Fraser2007-06-272-13/+20
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| * Add new sysctl to return runtime information about physical CPU utilization.Steven Hand2007-06-272-0/+21
| | | | | | | | Signed-off-by: Steven Hadn <steven@xensource.com>
| * libxenguest: Add another range check to dom restore.kfraser@localhost.localdomain2007-06-211-1/+1
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| * libxenguest: Add missing range-check on count field read from a domainkfraser@localhost.localdomain2007-06-211-3/+4
| | | | | | | | | | save/restore file. Signed-off-by: Keir Fraser <keir@xensource.com>
* | [IA64] Fix incorrect NVRAM saving if domain is destroyed by config errorAlex Williamson2007-07-021-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | libxc: Add xc_domain_setdebugging in xenctrl APIAlex Williamson2007-06-263-8/+26
| | | | | | | | | | | | | | Use it in xc_ptrace.c Signed-off-by: Tristan Gingold <tgingold@free.fr> Acked-by: Keir Fraser <keir@xensource.com>
* | merge with xen-unstable.hgAlex Williamson2007-06-201-1/+1
|\|
| * tools: Fix compiler warning.kfraser@localhost.localdomain2007-06-191-1/+1
| | | | | | | | | | From: Charles Coffing <ccoffing@novell.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* | [IA64] Typo fix: avoid spurious errors.Alex Williamson2007-06-181-1/+1
|/ | | | Signed-off-by: Tristan Gingold <tgingold@free.fr>
* [IA64] Add error checking to nvram store mkdirAlex Williamson2007-06-151-3/+24
| | | | Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* [IA64] Create NVRAM save directoryAlex Williamson2007-06-151-0/+2
| | | | | | | | 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>
* [IA64] Don't try to save nvram on PV domainsAlex Williamson2007-06-141-1/+12
| | | | Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* [IA64] symlink kregs.h into libxc buildAlex Williamson2007-06-141-2/+4
| | | | | | Suggested by Akio Takebe Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* Merge with xen-unstable.hg (staging)Alex Williamson2007-06-124-9/+15
|\
| * Fix fully-virtualized core dumps for 32-bit guests.kfraser@localhost.localdomain2007-06-121-1/+1
| | | | | | | | Signed-off-by: Chris Lalancette <clalance@redhat.com>
| * [IA64] When a domU is destroyed, it will fall into NVRAM savingkfraser@localhost.localdomain2007-06-121-4/+11
| | | | | | | | | | | | | | | | 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>
| * tools: Clean up usage of const type qualifier.kfraser@localhost.localdomain2007-06-122-3/+3
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* | [IA64] libxc trivial fix compilation error.Alex Williamson2007-06-122-3/+3
| | | | | | | | Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* | [IA64] Use virtualized psr in vcpu context instead of real psr.Alex Williamson2007-06-123-13/+11
| | | | | | | | Signed-off-by: Tristan Gingold <tgingold@free.fr>
* | [IA64][BUILDER] Define native protocol ABI for IA64 guests.Alex Williamson2007-06-121-0/+3
| | | | | | | | Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* | [IA64] White space cleanup from nvram patchAlex Williamson2007-06-111-149/+147
| | | | | | | | | | | | This file is using space indenting. No functional changes. Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* | merge with xen-unstable.hg (staging)Alex Williamson2007-06-119-24/+330
|\|
| * hvm: e820 public header cleanup.Keir Fraser2007-06-105-7/+26
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| * [ACM] Simpler interface to hypercallskfraser@localhost.localdomain2007-05-241-9/+85
| | | | | | | | | | | | | | | | 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>
| * ia64: nvram setup.kfraser@localhost.localdomain2007-05-242-7/+216
| | | | | | | | | | From: "Zhang, Xing Z" <xing.z.zhang@intel.com> Signed-off-by: Keir Fraser <keir@xensource.com>
| * Merge with xen-ia64-unstable.hgkfraser@localhost.localdomain2007-05-222-0/+5
| |\
| | * [BUILDER] Propagate the native protocol ABI for a guest out of theIan Campbell2007-05-152-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | domain builder and in to python code. This knowledge will be useful to allow us to pre-seed the protocol field in a VBD entry in xenstore which will allow us to run older kernels in a 32on64 mixed environment. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* | | [IA64] Allow dynamic allocation of dom0 fw_tablesAlex Williamson2007-06-042-9/+24
| | | | | | | | | | | | | | | | | | This address Xensource bugzilla #980 Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>