cl349@firebug.cl.cam.ac.uk
c4b7794669
Make version strings consistent across all interfaces.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-12-04 18:16:33 +01:00
smh22@firebug.cl.cam.ac.uk
2b039aa937
Fix VBD recovery logic on SMP guests (+ a minor error reporting fix for save)
...
Signed-off-by: Steven Hand <steven@xensource.com >
2005-12-01 20:43:04 +01:00
kaf24@firebug.cl.cam.ac.uk
96428d33d9
Define explicit evtchn_port_t type (32 bits) and plumb up
...
to user space thru /dev/xen/evtchn.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-12-01 15:22:22 +01:00
emellor@leeni.uk.xensource.com
f814d1f288
Merged.
2005-11-30 19:55:08 +00:00
emellor@leeni.uk.xensource.com
df2ba9e15b
Added the errno to the messages printed with the ERR macro. Tidy the use of
...
this macro where newlines have been appended -- the macro does this itself so
there is no need to add another one.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2005-11-30 18:38:14 +00:00
kaf24@firebug.cl.cam.ac.uk
ba3f55e57a
GNTTABOP_map_grant_ref returns error status and handle as
...
separate fields. Update callers for new interface. Also
use int16_t as standard error code type on all public
interfaces.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-11-30 17:24:27 +01:00
kaf24@firebug.cl.cam.ac.uk
9bd97f28fa
Bundle vcpu_time and vcpu_info structures together into a single
...
structure that is 64 bytes on x86. This ensures that indexing into
the array is fast (power-of-two size) and that accesses are cache
friendly (cache line size is usually 32 or 64 bytes).
Rename vcpu_data to vcpu_info, vcpu_time to vcpu_info.time.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-11-28 19:48:54 +01:00
cl349@firebug.cl.cam.ac.uk
016ef02e87
Move mk-symlinks target into tools/Rules.mk.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-11-28 18:07:22 +01:00
smh22@firebug.cl.cam.ac.uk
c7458fa52e
Fix formatting.
...
Signed-off-by: Steven Hand <steven@xensource.com >
2005-11-26 12:17:35 +01:00
smh22@firebug.cl.cam.ac.uk
d8fa063ad2
Fix save/restore and migrate on x86_64.
...
Signed-off-by: Steven Hand <steven@xensource.com >
2005-11-26 12:13:39 +01:00
kaf24@firebug.cl.cam.ac.uk
83120737f5
Implement new memory_op() XENMEM_machphys_mfn_list. Replaces old
...
privcmd Linux ioctl and includes an implementation for x86/64.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-11-25 18:43:35 +01:00
smh22@firebug.cl.cam.ac.uk
4d58b5d8ba
Tolerate temporary inconsistency between type info and page contents on
...
(live) restore. This should now enable live migrate of fork-intensive (or
other page-table-intensive) workloads.
Signed-off-by: Steven Hand <steven@xensource.com >
2005-11-25 17:53:41 +01:00
smh22@firebug.cl.cam.ac.uk
9661835101
Re-enable tools support for live migration on PAE.
...
Signed-off-by: Steven Hand <steven@xensource.com >
2005-11-24 16:32:38 +01:00
emellor@leeni.uk.xensource.com
f6d80a7f57
Reverse accidental commits for changesets 8001 and 7996-7999.
...
The Mercurial Queues extensions suddenly looks a lot less useful than it first
seemed.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2005-11-23 19:37:33 +00:00
emellor@leeni.uk.xensource.com
a640b7c2dd
imported patch quiet_linux_build.patch
2005-11-23 19:19:24 +00:00
emellor@leeni.uk.xensource.com
8856d17150
imported patch my-config
2005-11-23 19:19:23 +00:00
sos22@douglas.cl.cam.ac.uk
05607bfc8f
Make sure that accesses to the machine_to_phys table all go through
...
suitable macros.
Signed-off-by: Steven Smith, sos22@cam.ac.uk
2005-11-23 13:34:25 +01:00
kaf24@firebug.cl.cam.ac.uk
869e86d8e6
Add -Wdeclaration-after-statement to Xen and tools build.
...
Fix the compile errors that result from this.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-11-22 18:44:08 +01:00
smh22@firebug.cl.cam.ac.uk
49e566a9aa
Tidy up debugging output.
...
Signed-off-by: Steven Hand <steven@xensource.com >
2005-11-22 18:21:22 +01:00
smh22@firebug.cl.cam.ac.uk
1b5fd028bf
Better handle page type info becoming incoherent during live migrate.
...
Signed-off-by: Steven Hand <steven@xensource.com >
2005-11-22 17:50:41 +01:00
emellor@leeni.uk.xensource.com
ee19599218
Merged.
2005-11-22 17:00:56 +01:00
emellor@leeni.uk.xensource.com
a22292f2bb
Make it possible to run valgrind on code linked with the libxc libraries.
...
Valgrind cannot see when a hypercall has initialised entries in a data
structure, so appropriate memsets have been placed before using dom0_op_t,
privcmd_hypercall_t, and a couple of miscellaneous blocks passed into this
layer. This initialises the block so that valgrind considers it to be valid,
but the data therein will be immediately overwritten by the hypercall, all
being well.
These changes are semantically neutral if -DVALGRIND is not set.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2005-11-22 16:31:16 +01:00
kaf24@firebug.cl.cam.ac.uk
d35dd33f4c
Ignore live flag on PAE/64-bit migrations, rather than
...
failing the migration entirely.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-11-22 12:04:03 +01:00
kaf24@firebug.cl.cam.ac.uk
9ba9cbdb3f
Update the memory_op() hypercall. Add two new subcommands, to
...
query a domain's current and maximum memory reservation. Also,
XENMEM_maximum_ram_page now returns the max_page directly,
rather than writing through a passed-in pointer.
Also, disable PAE in the default config (accidentally checked
in two changesets ago).
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-11-21 16:56:39 +01:00
smh22@firebug.cl.cam.ac.uk
7cdf0f6407
Fix 'belt + braces' check in xc_linux_save and improve error handling
...
for live migrate (this includes making shadow enable idempotent).
Signed-off-by: Steven Hand <steven@xensource.com >
2005-11-21 16:40:16 +01:00
djm@kirby.fc.hp.com
6b7047253a
Recode usage of FPSR_DEFAULT due to strange double declaration
2005-11-19 15:41:08 -06:00
kaf24@firebug.cl.cam.ac.uk
e39174283d
Disable live relocation for PAE and x86/64. Currently it can
...
seriously harm Xen's health. Better to just disable it in the
tools until the outstanding issues are resolved.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-11-18 13:51:20 +01:00
smh22@firebug.cl.cam.ac.uk
a041c675c7
Fix pinning logic on restore.
...
Signed-off-by: Steven Hand <steven@xensource.com >
2005-11-17 10:10:52 +01:00
smh22@firebug.cl.cam.ac.uk
0f2781b12e
One more try...
...
Signed-off-by: Steven Hand <steven@xensource.com >
2005-11-16 18:41:43 +01:00
smh22@firebug.cl.cam.ac.uk
5aebcfee2a
Fix annoying error introduced during cleanup. Oops.
...
Signed-off-by: Steven Hand <steven@xensource.com >
2005-11-16 18:28:09 +01:00
smh22@tempest.cl.cam.ac.uk
99e88d6dd7
Trivial fixes for 64bit and xend.
...
Signed-off-by: Steven Hand <steven@xensource.com >
2005-11-16 18:03:48 +01:00
smh22@firebug.cl.cam.ac.uk
4c908cf0e3
Many fixes for save/restore and related areas for PAE in particular. Now
...
should be able to save/restore successfully on machines with up to 16GB
and any size of guest.
Signed-off-by: Steven Hand <steven@xensource.com >
2005-11-16 17:45:03 +01:00
kaf24@firebug.cl.cam.ac.uk
568a59e7fc
Rename XENVER_parameters to slightly more informative
...
XENVER_platform_parameters.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-11-16 12:44:12 +01:00
kaf24@firebug.cl.cam.ac.uk
3d95cc36a0
Fix up start_info_t magic string to match the format of
...
XENVER_capabilities strings.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-11-16 12:23:17 +01:00
kaf24@firebug.cl.cam.ac.uk
26ed038491
Clean up xenstore/console shared page initialisation, which is
...
now handled solely by the domain builder.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-11-14 11:36:42 +01:00
kaf24@firebug.cl.cam.ac.uk
3947efa1c2
Revert accidentally applied changes from changeset
...
7783:5aad7e145e501fbfb346954950a33b042a963633.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-11-14 11:35:50 +01:00
kaf24@firebug.cl.cam.ac.uk
e7b975b0b6
If /sbin/ isn't in the path, udev rules will erroneously not get
...
installed.
Signed-off-by: Nivedita Singhvi <niv@us.ibm.com >
2005-11-14 11:05:34 +01:00
kaf24@firebug.cl.cam.ac.uk
f8e8438eef
Remove unnecessary NULL checks before freeing memory blocks.
...
The following functions check for NULL internally:
free, kfree, xfree, free_xenheap_page[s]
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-11-11 12:55:47 +01:00
kaf24@firebug.cl.cam.ac.uk
5aa99be215
Merge with xen-unstable-ia64.hg
2005-11-11 10:47:43 +01:00
kaf24@firebug.cl.cam.ac.uk
41317fc7d5
Remove unnecessary ifdef in defn of xprintk. Install
...
xenguest.h.
Signed-off-by: Joseph Cihula <joseph.cihula@intel.com >
2005-11-11 10:39:20 +01:00
djm@kirby.fc.hp.com
093551c035
Merge latest xen-unstable into xen-ia64-unstable
2005-11-10 08:34:09 -06:00
kaf24@firebug.cl.cam.ac.uk
6c48136bc4
Add some minor defensive coding/error handling in xc_vmx_build.c like
...
C/S 7687
Signed-off-by: Haifeng Xue <haifeng.xue@intel.com >
Signed-off-by: Xin Li <xin.b.li@intel.com >
2005-11-10 12:06:50 +01:00
djm@kirby.fc.hp.com
930b8bf98f
Fix ia64 tools build (new parameter in xc_vmx_build)
2005-11-09 12:59:28 -06:00
kaf24@firebug.cl.cam.ac.uk
e7570f0014
Support recent change moving virtual IOAPIC model into Xen for
...
ia64/VTI. Now ia64/vti will create links to arch/x86/dm/vmx_vioapic.c
and include/x86/vmx_vlapic.h.
Firstly, a small change to common virtual IOAPIC model to be used by
both sides. Also some compilation fix to tools is included in first
one. Secondly, there are ia64-specific changes to hook to common
IOAPIC model.
Based on this patch upon latest xen-ia64-unstable tip, we can see
multiple domains working again on XEN/IA64, including both domU and
VTI domain simultaneously in run-time.
Signed-off-by Kevin Tian <kevin.tian@intel.com >
Signed-off-by Anthony Xu <Anthony.xu@intel.com >
Signed-off-by Yunhong Jiang <yunhong.jiang@intel.com >
Signed-off-by Eddie Dong <eddie.dong@intel.com >
2005-11-09 14:53:12 +01:00
smh22@firebug.cl.cam.ac.uk
b99415e527
More fixes for save/restore; use configured memory for generating sxp.
...
Signed-off-by: Steven Hand <steven@xensource.com >
2005-11-09 13:59:53 +01:00
smh22@firebug.cl.cam.ac.uk
9d894bc217
Fix 64-bit build.
...
Signed-off-by: Steven Hand <steven@xensource.com >
2005-11-09 09:02:59 +01:00
smh22@firebug.cl.cam.ac.uk
7962b47d8b
Enable save/restore for PAE domains.
...
This includes quite a few cleanups / refactoring of the old code, some
of which is intended to prepare for 64-bit save/restore.
Signed-off-by: Steven Hand <steven@xensource.com >
2005-11-08 18:42:07 +01:00
smh22@firebug.cl.cam.ac.uk
a2520b396e
Use '-' instead of '_' in xen version strings.
...
Signed-off-by: Steven Hand <steven@xensource.com >
2005-11-08 18:39:58 +01:00
mafetter@seana.research.intel-research.net
873985d3e4
Added some minor defensive coding/error handling in xc_linux_build.c
2005-11-08 11:29:07 +01:00
unknown@aosda.research.intel-research.net
2bedd29af9
Minor Makefile cleanup in tools/libxc/Makefile
2005-11-07 18:35:55 +01:00