Commit Graph
5289 Commits
Author SHA1 Message Date
iap10@freefall.cl.cam.ac.uk 3cc33b87b6 bitkeeper revision 1.1655 (429f9c02qVlZ13S-reG9GUvOJtT9tA)
Current -unstable doesn't build, it's missing one exec_domain -> vcpu cleanup.

Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: ian@xensource.com
2005-06-02 23:53:38 +00:00
cl349@firebug.cl.cam.ac.uk b7a0fb87b9 bitkeeper revision 1.1654 (429f793bJpez_x78azX5iKCsmtPMUQ)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
2005-06-02 21:25:15 +00:00
cl349@firebug.cl.cam.ac.uk 7b9361498f bitkeeper revision 1.1653 (429f7931iJ8kgS9qBlBbtyY9irorQA)
Many files:
  More include cleanups towards "include where it's used".
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-02 21:25:05 +00:00
kaf24@firebug.cl.cam.ac.uk 550e86d463 bitkeeper revision 1.1648.1.1 (429f74a466gMuUJnqOh6jpVeBCjqyg)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xxx.bk
2005-06-02 21:05:40 +00:00
kaf24@firebug.cl.cam.ac.uk dc33311d82 bitkeeper revision 1.1644.1.1 (429f749dKFzVUg9NXDMVu4apHJvpNQ)
The last annoying rename:
 struct exec_domain *ed -> struct vcpu *v
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-02 21:05:33 +00:00
cl349@firebug.cl.cam.ac.uk 983789122c bitkeeper revision 1.1652 (429f70f9moC9qZBswXttF9sYcHtxTA)
sched.h:
  g/c unneeded include.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-02 20:50:01 +00:00
cl349@firebug.cl.cam.ac.uk f0b36257f4 bitkeeper revision 1.1651 (429f70102tptpkVKU9_mkUC4olK_-Q)
Many files:
  More include cleanups towards "include where it's used".
sched.h:
  g/c unneeded include.
  include xen/spinlock.h once should be enough.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-02 20:46:08 +00:00
cl349@firebug.cl.cam.ac.uk 15a452392c bitkeeper revision 1.1650 (429f6be0yhaLJSkViUR2RPj8TUVeIA)
console.c, sched.h:
  g/c unneeded includes.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-02 20:28:16 +00:00
cl349@firebug.cl.cam.ac.uk 42825bdf1d bitkeeper revision 1.1649 (429f6bb65KQm70mnFwO33ykh9n1qag)
sched.h:
  g/c unneeded include.
Many files:
  Rename xen/slab.h to xen/xmalloc.h and fix resulting fallout.
xmalloc.h:
  Rename: xen/include/xen/slab.h -> xen/include/xen/xmalloc.h
sched.h, multicall.c, dom_mem_ops.c, asm-offsets.c:
  cleanup incorrect includes.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-02 20:27:34 +00:00
cl349@firebug.cl.cam.ac.uk 4e8fab61b5 bitkeeper revision 1.1648 (429f66691itoasLMLtaAWyPKnHVINg)
sched.h, seg_fixup.c:
  g/c unneeded include.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-02 20:04:57 +00:00
cl349@firebug.cl.cam.ac.uk 182081c09a bitkeeper revision 1.1647 (429f65565B2MImxe97HP-SSMYr5JPw)
sched.h:
  g/c unneeded include and prototype for function which doesn't even exist.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-02 20:00:22 +00:00
cl349@firebug.cl.cam.ac.uk d26ed5e0be bitkeeper revision 1.1646 (429f647ejz5YEoIPEm_Y2iLwylO84A)
page.h:
  Keep it simple.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-02 19:56:46 +00:00
cl349@firebug.cl.cam.ac.uk bef01829ee bitkeeper revision 1.1645 (429f63fb6JW1K1LYjnjnswN1KOd0Jg)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
2005-06-02 19:54:35 +00:00
cl349@firebug.cl.cam.ac.uk c5494ce304 bitkeeper revision 1.1642.1.1 (429f63f1jJ1MDBYeqjO8tWNOxXwFYw)
Fix x86_64 build.
usercopy.c:
  Fix build.
  Sync w/ x86_64 version.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-02 19:54:25 +00:00
kaf24@firebug.cl.cam.ac.uk b5290d3405 bitkeeper revision 1.1644 (429f5bbcdEHtCPmUE0h_BEwN9vBiKQ)
Fix x86/64 build.
Signed-off-by: Scott Parish <srparish@us.ibm.com>
2005-06-02 19:19:24 +00:00
kaf24@firebug.cl.cam.ac.uk a12ff66914 bitkeeper revision 1.1643 (429f4488tj590Fmn5s5Gd_pv8fLXeg)
The merge of PAE support introduced the intpte_t type and PRIpte format
specifier.  Most of the shadow mode code was fixed, but debugging
printks were not; this broke the compile if shadow mode debugging was
enabled.

The attached patch should fix the problem.  Not tested with PAE enabled,
but it shouldn't make anything worse than it already is.

Signed-off-by: Michael Vrable <mvrable@cs.ucsd.edu>
2005-06-02 17:40:24 +00:00
kaf24@firebug.cl.cam.ac.uk bf6fe7ee2e bitkeeper revision 1.1642 (429f43a9Urbk2TjIlm7NZJ_Z8LDQQQ)
l?e_from_paddr() expects the physical address to already be page
aligned. Fix map_domain_mem() to do this, and add an assertion to the
macros to check for it in debug builds.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-02 17:36:41 +00:00
vh249@arcadians.cl.cam.ac.uk 31d46bd2a1 bitkeeper revision 1.1641 (429f3b38tjTPpWx1UAEWtuvYiFH0Qw)
serial.h needs spinlock.h

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-06-02 17:00:40 +00:00
kaf24@firebug.cl.cam.ac.uk e0e918a18b bitkeeper revision 1.1640 (429f380cmOBrQfCPrfaJptORVNmNSQ)
Fix page-table initialisation (MPT, linear mappings, and mapcache).
In particular, we were mapping garbage pages into the idle page
directory which caused bogus unflushable mappings to get speculatively
loaded into the TLB (nasty crashes).
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-02 16:47:08 +00:00
cl349@firebug.cl.cam.ac.uk b7cd155cf5 bitkeeper revision 1.1639 (429f10138AGmYb8WkpDuXWG6NvuSjQ)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
2005-06-02 13:56:35 +00:00
cl349@firebug.cl.cam.ac.uk a6b2e4dcdb bitkeeper revision 1.1637.1.1 (429f100et_8vOZLTej8un3-WOmraFg)
Fix bug #68: x86_64 build break - `pgd_cache' undeclared
http://bugzilla.xensource.com/cgi-bin/bugzilla/show_bug.cgi?id=68               
reboot.c:
  Fix x86_64 build.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-02 13:56:30 +00:00
vh249@arcadians.cl.cam.ac.uk de3ea2577e bitkeeper revision 1.1638 (429f0702i8Aq9b8ywQxXo9xS63DS0A)
missing braces for the for body (this is not python)

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-06-02 13:17:54 +00:00
cl349@firebug.cl.cam.ac.uk 9ed4cfb2ca bitkeeper revision 1.1637 (429efe55wJJIZHFiBeWAvMfzBaNppw)
network:
  - remove route added by setting addr/netmask on new interface
  - do exact match on interface names (eth0 matches veth0 otherwise)
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-02 12:40:53 +00:00
cl349@firebug.cl.cam.ac.uk 47b5bccd2f bitkeeper revision 1.1636 (429ed8e5gOiR2KuJtp1UWCleuYe5Kg)
network:
  Copy netmask across to veth0.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-02 10:01:09 +00:00
leendert@watson.ibm.com[kaf24] 3021e629c9 bitkeeper revision 1.1635 (429ebf7b-aCgsRXeG4E_c8L_uhA9iw)
[PATCH] [PATCH] vmx assist moved to a new address

To accomodate Intel's ACPI support, VMX assist now lives at 0xD0000.

        Leendert

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
2005-06-02 08:12:43 +00:00
arun.sharma@intel.com[kaf24] 0c8bf311f8 bitkeeper revision 1.1634 (429ebf70RJ7AddbljcMww4yY9oNOew)
[PATCH] vmx-xentrace.patch

Fix the trace macro to have the correct domid and number of args.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-06-02 08:12:32 +00:00
arun.sharma@intel.com[kaf24] 55bcae6d7e bitkeeper revision 1.1633 (429ebf697h76hFAG0kPyIQgpATAdnw)
[PATCH] vmx-mmio-2pages.patch

Handle the case where the MMIO instruction crosses a page boundary.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-06-02 08:12:25 +00:00
kaf24@firebug.cl.cam.ac.uk 56b9e01ac8 bitkeeper revision 1.1632 (429ebf12k6wKnt6NCp_ccTvyXrINWg)
skb_copy_bits() can return an err, so have netif_be_start_xmit()
crash informatively.
Signed-off-by: Nivedita Singhvi <niv@us.ibm.com>
2005-06-02 08:10:58 +00:00
kaf24@firebug.cl.cam.ac.uk f7e5e27947 bitkeeper revision 1.1631 (429ebbaffap59sNVOihMG1SP6ejcrg)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-06-02 07:56:31 +00:00
cl349@firebug.cl.cam.ac.uk f392590994 bitkeeper revision 1.1629.1.1 (429de4faESWSriZYlaDxRVk7hKj32g)
All page directory pages have to be pinned before/during relocation, so
that the entries they contain can be canonicalised during relocation.
mmu_context.h, mmu.h, pgtable.c, ldt.c, reboot.c:
  Pin all unpinned in-use pgd's before relocation.
reboot.c:
  Flush the pgd cache before relocation.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-01 16:40:26 +00:00
kaf24@firebug.cl.cam.ac.uk 2f7ddb3750 bitkeeper revision 1.1630 (429dd931IfVZoLDG_59VLA9fanmtuQ)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-06-01 15:50:09 +00:00
kaf24@firebug.cl.cam.ac.uk a1e357903c bitkeeper revision 1.1628.1.1 (429dd92aYeqV9tl4b0g_F_deORFVAQ)
Fix sync_lazy_execstate functions to correctly sync the local cpu.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-01 15:50:02 +00:00
vh249@arcadians.cl.cam.ac.uk 0a461095da bitkeeper revision 1.1629 (429dcce9xCwGMwnshlCHuyiV7vxpFA)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into arcadians.cl.cam.ac.uk:/local/scratch-2/vh249/xen-unstable.bk
2005-06-01 14:57:45 +00:00
vh249@arcadians.cl.cam.ac.uk 32915112d6 bitkeeper revision 1.1627.1.1 (429dccc4mVL3VaR3aEhZK7D4ZhqHfA)
remove assertion that REMOVABLE/CDROM devices have no partition.

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-06-01 14:57:08 +00:00
kaf24@firebug.cl.cam.ac.uk 03249160f6 bitkeeper revision 1.1628 (429dc9b7MTwsBkscbFS1sK8SbwJhdg)
Fix domain shutdown so that the new status, and notification to domain0,
occur *after* the domain is fully descheduled and its execution state
synchronised.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-01 14:44:07 +00:00
cl349@firebug.cl.cam.ac.uk e18f79780a bitkeeper revision 1.1627 (429dabd8oit_vtykkoDno8W9TS973g)
multicall.c:
  Put multicall result in result field instead of args[5].
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-01 12:36:40 +00:00
cl349@firebug.cl.cam.ac.uk 5cf7ba5849 bitkeeper revision 1.1626 (429d850fTmqPy8ZeYvgxuavmrnfq2w)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
2005-06-01 09:51:11 +00:00
cl349@firebug.cl.cam.ac.uk e33c0964b9 bitkeeper revision 1.1623.1.1 (429d84f5OmPoNLT2JLLPymMKUCbryQ)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
2005-06-01 09:50:45 +00:00
kaf24@firebug.cl.cam.ac.uk b91f4d4322 bitkeeper revision 1.1625 (429d84a4tcD4ZWpKQyD4i0nn6K6LIg)
Add an explicit result field to multicall_entry_t, rather than abusing
the sixth argument field.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-01 09:49:24 +00:00
cl349@firebug.cl.cam.ac.uk 04cb9d7707 bitkeeper revision 1.1159.258.162 (429d8356O4B1x4zcoZgFnPVsJ5OKMQ)
XendDomainConfig.py is not used.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-01 09:43:50 +00:00
kaf24@firebug.cl.cam.ac.uk 8ddeb426ef bitkeeper revision 1.1624 (429d7aa7Gb7U1ztIGbXeQ0gPWlG51g)
Rename some of the pagetable access macros:
 l?e_create_* -> l?e_from_*
 *_phys       -> *_paddr
 *_value      -> *_intpte

l?e_add_flags, l?e_remove_flags, l?e_has_changed now take ptes by value
rather than by reference.

The pagetable hypercalls are fixed to use l?e_from_intpte() rather than
abusing l?e_from_paddr(), which munged the NX bit incorrectly on x86/64.
Thanks to Scott Parish for spotting this one.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-01 09:06:47 +00:00
cl349@firebug.cl.cam.ac.uk fc415a2b71 bitkeeper revision 1.1623 (429ced77UqsnFt1ywJdYu-w7Rd8gbg)
domain.c:
  include xen/sched.h once is enough...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 23:04:23 +00:00
cl349@firebug.cl.cam.ac.uk 60b15848d7 bitkeeper revision 1.1622 (429ce9043RMzk7MgrblrJmyu0he3Xw)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
2005-05-31 22:45:24 +00:00
cl349@firebug.cl.cam.ac.uk 6eec4b1a9f bitkeeper revision 1.1619.1.2 (429ce59cTt9KxcOT0JuoCYbuDDPRFw)
Many files:
  Don't include xen/slab.h and xen/domain.h at the _END_ of xen/sched.h.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 22:30:52 +00:00
cl349@firebug.cl.cam.ac.uk e49bb1f8e9 bitkeeper revision 1.1619.1.1 (429ce20czCzWvLkTZEZqyN2iK_13sw)
sched.h, domain.c:
  Make {exec_,}domain_{un,}pause and ..._by_systemcontroller variants
  non-inline.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 22:15:40 +00:00
kaf24@firebug.cl.cam.ac.uk fac8da34ab bitkeeper revision 1.1621 (429cd9bcA05F-_kvHhepys2ZfsrX8Q)
mm debug cleanup.
Signed-off-by: Scott Parish <srparish@us.ibm.com>
2005-05-31 21:40:12 +00:00
kaf24@firebug.cl.cam.ac.uk d363224903 bitkeeper revision 1.1620 (429cd85fOKc8jD7MTDCcMvlczZhiDg)
x86_capability[] array is 32-bit ints, not longs.
Signed-off-by: Scott Parish <srparish@us.ibm.com>
2005-05-31 21:34:23 +00:00
cl349@firebug.cl.cam.ac.uk d257892d8d bitkeeper revision 1.1619 (429c9b29FRKSmd2yrMG2w6-PtHnc7Q)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
2005-05-31 17:13:13 +00:00
cl349@firebug.cl.cam.ac.uk 8387e129a2 bitkeeper revision 1.1618 (429c9b21TCCZatsEzYuIU4HRcrJtyA)
XendDomain.py:
  Allow migration to localhost.
  g/c XendDomain.domain_exists().
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 17:13:05 +00:00
kaf24@firebug.cl.cam.ac.uk 1beffce3e7 bitkeeper revision 1.1615.1.3 (429c99ecG3lpbZMR_ulpeFavnrTbcQ)
Fix get_pte_flags/put_pte_flags macros. Limit 32-bit PAE to 44-bit
physical addresses (maximum PFN that will fit in a 32-bit word).
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-31 17:07:56 +00:00