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
Alex Williamson
f5c99d6ee9
[IA64] memmap: make libxc domain builder set up firmware instead of xen
...
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp >
2007-05-21 14:05:08 -06:00
Alex Williamson
6c11e429e5
[IA64] memmap: add necessary definitions
...
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp >
2007-05-21 13:59:38 -06:00
Alex Williamson
b4835ed4dd
[IA64] memmap: introduce memmap_info_t
...
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp >
2007-05-21 10:10:31 -06:00
Alex Williamson
00eb2b2ff1
[IA64] Fix xen/ia64 save/restore error recovery path.
...
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp >
2007-05-20 21:28:48 -06:00
Alex Williamson
fc073c9c01
[IA64] Replace mlock()/munlock() in ia64 libxc with un/lock_pages()
...
For Consistency. Also add some missing unlock_pages().
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp >
2007-05-20 21:23:35 -06:00
Alex Williamson
f6cf01ff27
merge with xen-unstable.hg
2007-05-16 10:59:01 -06:00
Ian Campbell
f32a69e588
[BUILDER] Propagate the native protocol ABI for a guest out of the
...
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 >
2007-05-15 17:54:48 +01:00
Ian Campbell
310ae8d009
[BUILDER] Ensure that the L3 page table page for a PAE guest which does not
...
support the extended-cr3 format is below the 4G boundary.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-05-09 18:53:02 +01:00
Alex Williamson
4d3fafa5f8
merge with xen-unstable.hg
2007-05-08 09:09:17 -06:00
Alex Williamson
a5fb2402e5
[IA64] Remove obsolete bug work around code in xc_ia64_stubs.c.
...
Now xencomm solved the issue.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp >
2007-05-07 13:24:37 -06:00
Alex Williamson
2360010187
[IA64] Rewrite ia64 vcpu_guest_context_regs structure
...
All registers and the rbs are now declared in the structure.
Minimal updates to other parts.
Signed-off-by: Tristan Gingold <tgingold@free.fr >
2007-05-07 10:37:16 -06:00