Commit Graph
5257 Commits
Author SHA1 Message Date
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
cl349@firebug.cl.cam.ac.uk 433792cb4c bitkeeper revision 1.1617 (429c8920BjgVBzWyVe6fs4GTiKD5Yw)
XendDomainInfo.py, XendDomain.py:
  tmp_restore_create_domain is vm_restore now.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 15:56:16 +00:00
kaf24@firebug.cl.cam.ac.uk 962cfc3a3a bitkeeper revision 1.1615.1.2 (429c8826fS2FuIKb-STmuvL0Hl6awQ)
ioemu fixes: do not install into /usr/share/qemu as it conflicts with
real qemu installations. Also, do not link x86/64 with a special linker
script -- breaks on SLES9 and ought to be unnecessary.
The linker scripts and configuration/Makefile environment all need
stripping out at some point.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-31 15:52:06 +00:00
kaf24@firebug.cl.cam.ac.uk 88198ec1b0 bitkeeper revision 1.1615.1.1 (429c8530L_ZtVuxsQcKwKB3yPuljog)
Subject: PAE support

This patch adds initial support for PAE paging to xen.
This patch does:

 * boot Xen itself with PAE paging enabled.
 * add PAE support to the dom0 domain builder.

Some notes on the design and the changes:

 * There are two new config options: CONFIG_X86_PAE (boolean,
   same name Linux uses to simply things) and
   CONFIG_PAGING_LEVELS (int, possible values are 2,3,4).  I've
   used #if CONFIG_PAGING_LEVELS for stuff which simply depends
   on the number of paging levels in the code common for
   x86-32/64, and CONFIG_X86_PAE for special PAE quirks or
   i386-only stuff.  I've tried to avoid ifdefs if possible
   though, often I rearranged code to make it work in both
   PAE and non-PAE case instead.

 * idle_pg_table:  3rd level is statically initialized, 2nd
   level is contignous in physical and virtual memory, so it can
   be addressed linear (the dom0 builder uses the same trick to
   simplify things a bit btw.).  There are two new symbols:
   idle_pg_table_l3 and idle_pg_table_l2 for the two tables.
   idle_pg_table is aliased to the toplevel page table, i.e.
   idle_pg_table_l3 in PAE mode and idle_pg_table_l2 in non-pae
   mode.  The idle l3 table is actually never ever touched after
   boot, the l2 table is accessed via idle_pg_table_l2 and
   addressed linear in both PAE and non-PAE mode.

 * I've added a "intpte_t" type and a PRIpte define, modeled
   after the C99 inttypes.h header, for page table entries.

Signed-off-by: Gerd Knorr <kraxel@bytesex.org>
2005-05-31 15:39:28 +00:00
cl349@firebug.cl.cam.ac.uk b56c43921e bitkeeper revision 1.1616 (429c8121AG7l1hMWaCYDFMFSyUtKMA)
XendDomainInfo.py:
  g/c ipaddrs: no longer needed.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 15:22:09 +00:00
cl349@firebug.cl.cam.ac.uk 59f83bdc8f bitkeeper revision 1.1615 (429c80cbvtnzneyg7GyZAmZlQNm-Yg)
XendDomainInfo.py:
  g/c vm_restore:  no longer used.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 15:20:43 +00:00
cl349@firebug.cl.cam.ac.uk 6a89fed7f6 bitkeeper revision 1.1614 (429c80a0GOB6P2mG94bxVMLZE34VdA)
XendDomainInfo.py:
  g/c vif_up: it's the guest's responsibility to take appropriate
  actions to get its network working again, i.e. send ARP packets when
  it's resumed.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 15:20:00 +00:00
cl349@firebug.cl.cam.ac.uk d47ec32b2f bitkeeper revision 1.1613 (429c6e1eexBYav7WpRxH77Hcyh4PLQ)
XendDomainInfo.py:
  Should use int(cpu) here to test if it's valid.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 14:01:02 +00:00
cl349@firebug.cl.cam.ac.uk f58df8b759 bitkeeper revision 1.1612 (429c6dd5DZf10_GWDT3DTiTom7Mb1g)
XendDomainInfo.py:
  cpu == 0 is the 1st cpu, allow pinning a domain to it.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 13:59:49 +00:00
cl349@firebug.cl.cam.ac.uk 6a9d89d758 bitkeeper revision 1.1611 (429c6853QfpsOT-V0bESe-1WhWLOWw)
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 13:36:19 +00:00
cl349@firebug.cl.cam.ac.uk 1b6178bfc7 bitkeeper revision 1.1610 (429c6844gwqwv-oCcjfTguJRDbgCXQ)
XendRoot.py:
  Fix get_xend_relocation_port comment.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 13:36:04 +00:00
cl349@firebug.cl.cam.ac.uk 33ee35be59 bitkeeper revision 1.1609 (429c6790TWBysBM5eFTwmssbNmB69g)
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-05-31 13:33:04 +00:00
cl349@firebug.cl.cam.ac.uk 227268c011 bitkeeper revision 1.1159.258.161 (429c6785ldESInztrl6dDaEZHXUyZg)
XendRoot.py:
  Document loglevel_default and change default interface address for
  listening at for console connections.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 13:32:53 +00:00
cl349@firebug.cl.cam.ac.uk f5e464d82a bitkeeper revision 1.1608 (429c646erSBefwnCqVeHKzsRTMIwjA)
Merge.
2005-05-31 13:19:42 +00:00
cl349@firebug.cl.cam.ac.uk 92a1834268 bitkeeper revision 1.1159.258.160 (429c6406X0OUPVHTFIkpoqSmFue5nQ)
Makefile:
  Install xen-syms-${version-number} not xen-${version-number}-syms.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 13:17:58 +00:00
cl349@firebug.cl.cam.ac.uk acbaea9bb9 bitkeeper revision 1.1159.258.159 (429c6342A2HJ4wUj0nM5MNauX7azZQ)
vnet-xend.txt, user.tex, README:
  Update the Linux kernel version number from 2.6.9 to 2.6 or 2.6.11
  in several places in documentation.
Original patch provided by Andrew Thompson <andrewkt@aktzero.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 13:14:42 +00:00
kaf24@firebug.cl.cam.ac.uk e9db1265d3 bitkeeper revision 1.1604.1.1 (429c35e2KuWnzd9bfhKRv0nY4yq4Rw)
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-05-31 10:01:06 +00:00
kaf24@firebug.cl.cam.ac.uk 30553f03fd bitkeeper revision 1.1602.1.1 (429c35dbocwkNUKh8dzTXqsSFlVFog)
Fix gcc4 build.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-31 10:00:59 +00:00
cl349@firebug.cl.cam.ac.uk cf5e514eae bitkeeper revision 1.1607 (429c2f231bx3kugLWzaDsPB4OQMBAA)
Merge
2005-05-31 09:32:19 +00:00
cl349@firebug.cl.cam.ac.uk f2070412f6 bitkeeper revision 1.1159.258.158 (429c2ed9fqwHGLXrjJlLr96kpvW_UA)
XendConsole.py:
  Remove unused code.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 09:31:05 +00:00
cl349@firebug.cl.cam.ac.uk 0f9c68f0c2 bitkeeper revision 1.1606 (429c2af45-eQkEjNUi7xp8oigsbTSg)
XendProtocol.py:
  Make XendProtocol.py use XendRoot to get the path to xend
  domain-socket.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 09:14:28 +00:00
cl349@firebug.cl.cam.ac.uk a49e6a7461 bitkeeper revision 1.1605 (429c2a02hn35DARfsEykCzpBrPrMhw)
SrvDaemon.py:
  Remove unused code.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 09:10:26 +00:00
cl349@firebug.cl.cam.ac.uk 70a35c20df bitkeeper revision 1.1604 (429c27853YjCcOkLEnjS5rFvk6ORlQ)
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-05-31 08:59:49 +00:00
cl349@firebug.cl.cam.ac.uk 962e7da06c bitkeeper revision 1.1159.258.157 (429c276eHQwfuqCUJJBnQeDTzUz3lg)
XendRoot.py:
  XendRoot::logDebug wrongly set the message format to 'info', instead
  of 'debug'.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 08:59:26 +00:00
cl349@firebug.cl.cam.ac.uk 3d28d79984 bitkeeper revision 1.1603 (429c25daAxv8CzKG49dW0khs2wyBew)
xc_ptrace_core.c, xc_ptrace.c:
  SLES9 has a problem with it's <asm/elf.h> and other headers associated
  with it. Since we are only using one thing from this (that we really
  don't need) we can just stop including it.
http://bugzilla.xensource.com/cgi-bin/bugzilla/show_bug.cgi?id=34
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 08:52:42 +00:00
kaf24@firebug.cl.cam.ac.uk fb559c6212 bitkeeper revision 1.1602 (429c2005b_phBM8VV-zUAH99jBwhMw)
Updated process.c for x86-64.
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
2005-05-31 08:27:49 +00:00
kaf24@firebug.cl.cam.ac.uk 8e41e1c94b bitkeeper revision 1.1601 (429c1ed4wKexKmX-ibC6x3hHrciDNQ)
Fix CPU detection and initialisation. We now do early detection very
early, but pushed full initialisation to somewhat later when other
infrastructure is properly ready.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-31 08:22:44 +00:00
smh22@tempest.cl.cam.ac.uk 3d55c2a228 bitkeeper revision 1.1600 (429ba505NfUdL-sQ8-FAIhULwXSaHQ)
Merge tempest.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into tempest.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
2005-05-30 23:43:01 +00:00
smh22@tempest.cl.cam.ac.uk 4c67d3b106 bitkeeper revision 1.1159.258.156 (429ba4d3T2WmSlhY2aTmV6KN88hZHw)
Solve badness problem when udp_poll() receives fragmented skbuff w/ CONFIG_HIGHMEM 
Upstream patch (now in -net tree) from Herbert Xu. 

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Steven Hand <steven@xensource.com>
2005-05-30 23:42:11 +00:00
kaf24@firebug.cl.cam.ac.uk 10b7bf98cb bitkeeper revision 1.1599 (429b828aL4XKwdaPjLGObI37F4hwiw)
By default do not enable local APIC if disabled by the BIOS. This
matches Linux behaviour and ought to improve stability on buggy
hardware/firmware (laptops in particular). As in Linux, you can
forcibly enable the APIC with 'lapic' command-line option, or
forcibly ignore it with 'nolapic'.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-30 21:15:54 +00:00
iap10@freefall.cl.cam.ac.uk f279b10b57 bitkeeper revision 1.1598 (429b7933SwjyJJbULLC4ZT800edwvQ)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
2005-05-30 20:36:03 +00:00
iap10@freefall.cl.cam.ac.uk d40eaaf952 bitkeeper revision 1.1159.258.155 (429b7918fdegxe1sz_LxgKSA-WkOkA)
Upgrade to Linux patch 2.6.11.11
Signed-off-by: ian@xensource.com
2005-05-30 20:35:36 +00:00
smh22@firebug.cl.cam.ac.uk d0e8e50db8 bitkeeper revision 1.1597 (429b4898xNVUuBPMVXKa545qSx7i7A)
fix xm vif-list and xm vbd-list (modulo error reporting for domain 0)

Signed-off-by: Steven Hand <steven@xensource.com>
2005-05-30 17:08:40 +00:00