kaf24@firebug.cl.cam.ac.uk
b9b24cd1bf
Fix __gpfn_to_mfn() to work correctly when not executed
...
in the queried domain's context.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-11-23 13:58:44 +01:00
kaf24@firebug.cl.cam.ac.uk
53600718bf
Clean up use of get_pfn_from_mfn().
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-11-23 13:54:40 +01:00
kaf24@firebug.cl.cam.ac.uk
b9f1e46324
Move arch-specific portions of grant-table implementation
...
out of common code. Ready for use by ia64.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-11-23 13:50:14 +01:00
sos22@douglas.cl.cam.ac.uk
3fa276f635
Merge.
...
Signed-off-by: Steven Smith, sos22@cam.ac.uk
2005-11-23 13:38:34 +01:00
sos22@douglas.cl.cam.ac.uk
27fa09fe1d
Merge.
...
Signed-off-by: Steven Smith, sos22@cam.ac.uk
2005-11-23 13:35:50 +01: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
root@localhost.localdomain
d29e39f1f4
xm-test: add tests for network-attach command
...
Signed-off-by: Murillo Fernandes Bernardes <mfb@br.ibm.com >
2005-11-23 12:32:44 +01:00
dan@guaranine.beaverton.ibm.com
399bffa1e9
Add tests for bug #331
2005-11-23 12:31:55 +01:00
dan@guaranine.beaverton.ibm.com
2d0693f8dd
Make 04_memset_smallmem differentiate between console run-away and console
...
daemon death.
2005-11-23 12:31:30 +01:00
emellor@leeni.uk.xensource.com
f7ba489565
Fix to xm create --help from Ken Grant.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2005-11-23 12:29:58 +01:00
kaf24@firebug.cl.cam.ac.uk
5d7d4a952f
BUG_ON test for xmalloc alignment should not be excluded
...
for ia64. SMP_CACHE_BYTES should be increased for uniproc
ia64 systems (how many uniproc ia64 boxes are there?!).
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-11-23 12:22:58 +01:00
kaf24@firebug.cl.cam.ac.uk
39fcc013ef
Intel systems with more than 8 CPUs require that the APIC is configured
...
in clustered mode with the apic=bigsmp kernel parameter. This patch does
the APIC mode selection automatically without needing to manually specify
the kernel paremeter.
(KAF note: I see the patch is also present in Linux 2.6.14.2)
Signed-off-by: Nitin Kamble <nitin.a.kamble@intel.com >
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com >
Signed-off-by: Andrew Morton <akpm@osdl.org >
2005-11-23 12:11:05 +01:00
kaf24@firebug.cl.cam.ac.uk
9d401b35f0
Add -Wdeclaration-after-statement to CFLAGS only if the
...
compiler supports it. Move test-gcc-flag function to
Config.mk where it can be used by any component of the
build.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-11-23 11:15:18 +01:00
smh22@firebug.cl.cam.ac.uk
1366ee55cc
Avoid GPF when attempting to save / restore 64bit guests. More thought
...
required as to best way to get M2P mfns under 64...
Signed-off-by: Steven Hand <steven@xensource.com >
2005-11-22 19:10:50 +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
ed5b604759
When a foreign page is mapped via a grant reference, it
...
must also be unmapped explicitly via the grant-table
interface (GNTTABOP_unmap_grant_ref). If not, the guest
ends up with a dangling grant reference that is not cleared
up until the guest dies.
Because this can obviously lead to deferred hard-to-debug
problems, debug builds of Xen use a 'spare' PTE flag to
track granted mappings and to crash a domain if it attempts
to free such a PTE without using GNTTABOP_unmap_grant_ref.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-11-22 15:53:22 +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
76866c7be5
SHADOW_CONTROL_OP_OFF should be checkign whether shadow mode
...
is actually currently enabled.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-11-22 11:53:45 +01:00
kaf24@firebug.cl.cam.ac.uk
c4da02a2ab
Fix the zombie domain when destroying 2.6 linux vmx guest.
...
The zombie domain is caused by unreleased shadow page
because of lack of put_shadow_ref.
When unshadow a L1 page, set l2e to zero and put ref.
Signed-off-by: <xiaofeng.ling@intel.com >
2005-11-22 07:08:57 +01:00
rread@ubuntu.eng.hq.xensource.com
0a9b9b5eb2
Build the USB boot keyboard and mouse drivers as modules, so the real
...
USB modules will be loaded after boot.
2005-11-21 15:19:26 -07:00
smh22@firebug.cl.cam.ac.uk
297fc3718d
Fix syntax error.
...
Signed-off-by: Steven Hand <steven@xensource.com >
2005-11-21 19:28:50 +01:00
emellor@leeni.uk.xensource.com
10edfe8abf
Merged.
2005-11-21 19:08:44 +01:00
emellor@leeni.uk.xensource.com
cd082ee2d3
Misc fixes for breakage when moving to new Python/C interface style.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2005-11-21 19:08:27 +01:00
kgrant@localhost.localdomain
b12096d703
use help in create.py for "xm help create"
2005-11-21 18:53:31 +01:00
xenrtd@shispar-rt.testdev.hq.xensource.com
859804fbea
Catch parsing errors in xm create.
2005-11-21 18:52:40 +01:00
emellor@leeni.uk.xensource.com
dd6ab4433e
Merged.
2005-11-21 18:47:31 +01:00
emellor@leeni.uk.xensource.com
aecd7580d4
As with xs.c, change the module interface to match the current Python/C
...
tutorial, simplifying the interface here, and making it more conventional.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2005-11-21 18:46:09 +01:00
smh22@firebug.cl.cam.ac.uk
a346ac4c89
Remove unnecessary assert.
...
Signed-off-by: Steven Hand <steven@xensource.com >
2005-11-21 18:45:09 +01:00
emellor@leeni.uk.xensource.com
2b2f00d237
Tidy use of module / package names.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2005-11-21 18:34:25 +01:00
emellor@leeni.uk.xensource.com
4922a76ab2
Merged.
2005-11-21 18:33:27 +01:00
emellor@leeni.uk.xensource.com
78d2a7ffe3
Return the changed path as an argument to the watch callback. This is useful
...
for the test CD, and simplifies DevController everso slightly. It ought to be
generally useful, too.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2005-11-21 18:33:17 +01:00
kaf24@firebug.cl.cam.ac.uk
a1584b36b2
Change semantics of gnttab_transfer to take the page away
...
from the calling domain, even on error (except for special
error GNTST_bad_page). This has a knock-on advantage of
simplifying Linux's netback driver.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-11-21 18:10:35 +01:00
emellor@leeni.uk.xensource.com
e9653b1204
Remove many unnecessary uses of keyword arguments, to reduce complexity.
...
Have the self parameter to all the methods be an XsHandle, not a PyObject, to
avoid casting.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2005-11-21 17:48:22 +01:00
emellor@leeni.uk.xensource.com
a6f7d807ed
Merged.
2005-11-21 17:30:43 +01:00
emellor@leeni.uk.xensource.com
0bed005388
Fix removal of use of scheduler, broken earlier today by mismerge.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2005-11-21 17:30:22 +01:00
emellor@leeni.uk.xensource.com
124d92e3b0
Merged.
2005-11-21 17:06:42 +01:00
emellor@leeni.uk.xensource.com
20e3f38ade
Changes check for "udev", so that it works on debian sid (that does not
...
have /sbin/udev anymore).
Signed-off-by: Murillo F. Bernardes <mfb@br.ibm.com >
2005-11-21 17:03:21 +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
kaf24@firebug.cl.cam.ac.uk
daee19a8a7
Linux swiotlb now uses correct method for determining if any RAM
...
is mapped above 2GB.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-11-21 16:10:19 +01:00
kaf24@firebug.cl.cam.ac.uk
da618e9258
Mute error message on SMP resume if a secondary CPU is
...
already back online.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-11-21 15:06:49 +01:00
emellor@leeni.uk.xensource.com
ea8c03c331
Merged.
2005-11-21 14:48:31 +01:00
emellor@leeni.uk.xensource.com
f7abab3a59
Replace initialiser for readonly parameter in xshandle_init that should never
...
have been deleted.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2005-11-21 14:48:10 +01:00
kaf24@firebug.cl.cam.ac.uk
0200af138e
Fix grant-table transfer implementation. Also fix transfer
...
error paths in network frontend and backend drivers.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-11-21 14:17:50 +01:00
emellor@leeni.uk.xensource.com
5d1f08e233
Merged.
2005-11-21 13:17:29 +01:00
emellor@leeni.uk.xensource.com
10201a9dd6
Removed, now unused.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2005-11-21 13:15:08 +01:00