Commit Graph
5019 Commits
Author SHA1 Message Date
cl349@firebug.cl.cam.ac.uk a187bd9850 bitkeeper revision 1.1474 (428d064ccj8XQgCCXE-M9_O7BIHWLw)
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-19 21:34:04 +00:00
cl349@firebug.cl.cam.ac.uk 3618175709 bitkeeper revision 1.1471.1.1 (428d0589wFIw2xri87QgIvuBuKB2Tw)
XendDomain.py:
  Remove domain_db cache -- it's tedious to maintain and has zero use since
  it gets flushed to the XendDB immediately on every update and it's never
  consulted except for maintaining it.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-19 21:30:49 +00:00
akw27@arcadians.cl.cam.ac.uk 33709a954f bitkeeper revision 1.1473 (428d01b2u1JOg4f95CAjC08qwbmHCg)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into arcadians.cl.cam.ac.uk:/auto/anfs/nos1/akw27/xeno-clone/xeno.bk
2005-05-19 21:14:26 +00:00
akw27@arcadians.cl.cam.ac.uk 90a17e697b bitkeeper revision 1.1421.2.1 (428d0172Mlrhy6MiEsOJ6GtVjT0HPg)
Little blkif interface and xend fixes to make parallax work again.
Also minor debug printing fix to blktap.

Signed-off-by: andrew.warfield@cl.cam.ac.uk
2005-05-19 21:13:22 +00:00
kaf24@firebug.cl.cam.ac.uk 44085c92d6 bitkeeper revision 1.1472 (428d0120Ec6w2OWswixebwcFKcQgkw)
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-19 21:12:00 +00:00
kaf24@firebug.cl.cam.ac.uk cc78f77c86 bitkeeper revision 1.1466.2.1 (428d01177uVxPlsgcWtGU3xUZaKeJw)
Rename memparse() to parse_size_and_unit(). A more general-purpose
name, and avoids unecessary clash with Linux function name.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-19 21:11:51 +00:00
cl349@firebug.cl.cam.ac.uk b77845590a bitkeeper revision 1.1471 (428cf949ZdshF_D_GTMuih23dXPidw)
XendDomain.py:
  Add XendDomainDict for easy by name lookup.
  Don't call self.refresh() from XendDomain.list().
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-19 20:38:33 +00:00
cl349@firebug.cl.cam.ac.uk a1a710f835 bitkeeper revision 1.1470 (428ced50yxI-yUVLt1gizxNq0Nofxg)
console.py, blkif.py, SrvDomainDir.py, XendDomain.py, XendConsole.py:
  Rename XendDomain.domains() to XendDomain.list() and rename
  XendDomain.domain_by_id to XendDomain.domains.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-19 19:47:28 +00:00
cl349@firebug.cl.cam.ac.uk b4b739e6f3 bitkeeper revision 1.1469 (428ce52esYqJk3iKlW6m_OviDvbr7g)
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-19 19:12:46 +00:00
cl349@firebug.cl.cam.ac.uk a5ee12cd7f bitkeeper revision 1.1468 (428ce527Lb7wgq3pLjYHY6S5zNVk7g)
XendDomainInfo.py:
  XendDomain.domain_exists() now returns a truth value, use domain_lookup
  instead.
XendDomain.py:
  Remove domain_by_name lookup array -- it's tedious to maintain for
  hardly any benefits.  Also make domain_exists return a truth value.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-19 19:12:39 +00:00
kaf24@firebug.cl.cam.ac.uk 63b5c765a2 bitkeeper revision 1.1466.1.1 (428cceb2sTCzL9rItLSMlnmH9XrnTQ)
Ensure correct alignment of CPU0 stack -- it must be aligned on a
2^STACK_ORDER page boundary. This requirement is now also checked
at run-time, and a clear fatal error given if it is not satisfied.
This bug affected both x86/32 and x86/64.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-19 17:36:50 +00:00
cl349@firebug.cl.cam.ac.uk 41d6cf803a bitkeeper revision 1.1467 (428cc6abzdTlehevsvwAL2V8qyBT-A)
XendRoot.py:
  Disable logging to stderr -- the log messages are in /var/log/xend.log
  already.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-19 17:02:35 +00:00
cl349@firebug.cl.cam.ac.uk 1d6bf7557e bitkeeper revision 1.1466 (428cafb3mGJpJHeRanaDw7Xj7mWFIw)
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-19 15:24:35 +00:00
cl349@firebug.cl.cam.ac.uk 176187faa1 bitkeeper revision 1.1461.1.1 (428caf7bGihAjAM_KvFgRGUSkzIQLw)
XendDomainInfo.py, XendDomain.py:
  Remove DomainShutdown class and store shutdown information in domain's
  XendDomainInfo object.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-19 15:23:39 +00:00
kaf24@firebug.cl.cam.ac.uk 2b5a7a91ba bitkeeper revision 1.1465 (428c9cd5cI71ciNQe7_LcTMML8CONQ)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-05-19 14:04:05 +00:00
kaf24@firebug.cl.cam.ac.uk 25755ef315 bitkeeper revision 1.1159.258.139 (428c9cbe7Sc87xp33OYAeObd7e3N3g)
Do not set jumbo MTU on the fake netfront/back loopback device. It 
causes packet loss at the Ethernet bridge (since bridges do not
fragment IP packets).
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-19 14:03:42 +00:00
kaf24@firebug.cl.cam.ac.uk 622c978057 bitkeeper revision 1.1464 (428c995a_kOA184Gp70LrbrBFFfKTA)
Mark all non-RAM pages as I/O holes in the frame_table.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-19 13:49:14 +00:00
kaf24@firebug.cl.cam.ac.uk 50275e9c8a bitkeeper revision 1.1463 (428c9382-vrHzvryhVgUsKq4C6xVHA)
Add l?e_create_page() macros. map_pages_to_xen() now takes a pfn range
rather than a byte range. Fix x86/64 RAM mapping to discard partial
frames.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-19 13:24:18 +00:00
kaf24@firebug.cl.cam.ac.uk c17b1a485f bitkeeper revision 1.1462 (428c884242SexXIVbHWO-OkTk2Q95w)
Clean up, fix, and rationalise RAM mapping in Xen. 

First, x86/64 must take care to map only registered RAM areas and not
adjacent I/O holes -- otherwise a cpu may cache I/O space and cause
coherency conflicts on the memory bus.

Second, map_pages() and the memguard mechanisms are no longer sub-arch
specific (moved to arch/x86/mm.c:map_pages_to_xen()).

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-19 12:36:18 +00:00
cl349@firebug.cl.cam.ac.uk 418babe999 bitkeeper revision 1.1461 (428c649aJ3imCLGJhIeU9ADXW51cWw)
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-19 10:04:10 +00:00
cl349@firebug.cl.cam.ac.uk 1a89ea3773 bitkeeper revision 1.1456.1.1 (428c6495K-Bk3cP5wcdHyT5L6-GVxQ)
event.py, XendMigrate.py, EventServer.py:
  Use scheduler.{now,later} instead of reactor.callLater.
reactor.py:
  Remove reactor.callLater function -- same as scheduler.{now,later}.
EventServer.py:
  Cleanup.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-19 10:04:05 +00:00
kaf24@firebug.cl.cam.ac.uk 5fa1c057c4 bitkeeper revision 1.1460 (428c4d4bbwbAcLYX78Uje3QLKomZRg)
Fix the x86/64 build of Xen.
Signed-off-by: Keir Fraser <keir@Xensource.com>
2005-05-19 08:24:43 +00:00
arun.sharma@intel.com[kaf24] 9526b8037a bitkeeper revision 1.1459 (428c4c45ObcqPNCq2Ebb3M0y4qnxog)
[PATCH] vmx-gdbserver-sstep.patch

This patch enables single stepping a VMX domain using the gdbserver.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-05-19 08:20:21 +00:00
kaf24@firebug.cl.cam.ac.uk e9d95b3170 bitkeeper revision 1.1458 (428c48ecnHqb4lxc2c4KfJZ0p7500Q)
init_boot_pages() should ignore sub-page regions.
Signed-off-by: Matthew Chapman <matthewc@hp.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-19 08:06:04 +00:00
iap10@freefall.cl.cam.ac.uk f7a1fe40de bitkeeper revision 1.1457 (428bb6b87Qlswxs_IkxRUkfi9Zkt1g)
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-18 21:42:16 +00:00
iap10@freefall.cl.cam.ac.uk d8e4903fc8 bitkeeper revision 1.1159.258.138 (428bb692pAqBH2bNfpxOYMXMKwbIsw)
Move magic sysrq from workqueue to softirq context so that its more likely to work if the system is in a bad state.
2005-05-18 21:41:38 +00:00
cl349@firebug.cl.cam.ac.uk 1baea2ab53 bitkeeper revision 1.1456 (428b84afhYDPsxh36MUzWQkhznuotQ)
XendDomain.py, scheduler.py:
  Simplify scheduler.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-18 18:08:47 +00:00
cl349@firebug.cl.cam.ac.uk 945440cc09 bitkeeper revision 1.1455 (428b7fafRBd0QLCsQs-Dg3X5tA2Hgw)
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-18 17:47:27 +00:00
cl349@firebug.cl.cam.ac.uk 3f4e372b28 bitkeeper revision 1.1452.1.1 (428b7fa6MuhQh_l2UNUJg7zzlnM1pw)
XendDomain.py:
  Simplify domain restart code.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-18 17:47:18 +00:00
kaf24@firebug.cl.cam.ac.uk f73536fc61 bitkeeper revision 1.1454 (428b74f28LLau4r-iQuz14PpSU28DA)
Manual merge.
2005-05-18 17:01:38 +00:00
kaf24@firebug.cl.cam.ac.uk 7229bad408 bitkeeper revision 1.1159.258.137 (428b746dvt7HoFn2rjyGGO-i1yesPg)
Ensure that domain0 console receiver does not get stuck if serial
input is received early during boot. Fixes bugzilla bug #41.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-18 16:59:25 +00:00
kaf24@firebug.cl.cam.ac.uk aa2784e8c2 bitkeeper revision 1.1453 (428b6f22UXR4i_oikFvohD6jaW9yDA)
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-18 16:36:50 +00:00
kaf24@firebug.cl.cam.ac.uk 8b2ebe6762 bitkeeper revision 1.1449.1.1 (428b6f1cotmJt0X1Gu4JjKeAeDY1BQ)
Re-factor current.h. It now requires no sub-architecture portions, and
stack offset calculations are cleaned up by introduction of a
cpu_info structure.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-18 16:36:44 +00:00
cl349@firebug.cl.cam.ac.uk 224a8c2804 bitkeeper revision 1.1452 (428b6062g_unu25_ly_M7YUuHKn8Wg)
XendDomain.py:
  Bring back refresh() calls but only run the code cleanup parts
  of refresh when necessary.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-18 15:33:54 +00:00
cl349@firebug.cl.cam.ac.uk cbe8a716f2 bitkeeper revision 1.1451 (428b5f14gpuT4COa88QnSJNe11X63A)
XendDomain.py:
  Don't add domain to shutdown cleanup machinery when sending sysrq.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-18 15:28:20 +00:00
cl349@firebug.cl.cam.ac.uk 709a5e118c bitkeeper revision 1.1450 (428b5d7cJ4XUGw6DYur-hyo9pRpNwg)
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-18 15:21:32 +00:00
cl349@firebug.cl.cam.ac.uk 5c19670752 bitkeeper revision 1.1448.1.1 (428b5d756NfzYJ90kQUy0Q91tiUWhw)
scheduler.py:
  Simplify scheduler by removing support for cancelling timeouts.
  Also add a ``now'' function to run a function in a seperate thread.
XendDomain.py:
  g/c gratuitous refresh() calls.
  Drive domain restart off the virq signaling that a domain has terminated.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-18 15:21:25 +00:00
kaf24@firebug.cl.cam.ac.uk fb7d812c38 bitkeeper revision 1.1449 (428b5b18LCgVTMb_50LKESAAA5057Q)
Fix x86/64 bootstrap.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-18 15:11:20 +00:00
cl349@firebug.cl.cam.ac.uk 30b9127ed9 bitkeeper revision 1.1448 (428b47af0x8GpvwaOLe3pZhqoFQaJg)
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-18 13:48:31 +00:00
cl349@firebug.cl.cam.ac.uk 7218d0c4bd bitkeeper revision 1.1446.1.1 (428b47a7E-qEps_VFpIpa2dT5I_afw)
XendDomain.py:
  Move code to create dominfo entries for unknown domains into
  domain_lookup.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-18 13:48:23 +00:00
vh249@arcadians.cl.cam.ac.uk 1ca7ede249 bitkeeper revision 1.1447 (428b4444vZlkscBp_EOZwbunWL1zPA)
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-05-18 13:33:56 +00:00
vh249@arcadians.cl.cam.ac.uk abf6ed436e bitkeeper revision 1.1445.1.1 (428b442b5qLf4OYwS0e8e58W2etHIA)
missing right parenthesis

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-05-18 13:33:31 +00:00
cl349@firebug.cl.cam.ac.uk 3887ad07b3 bitkeeper revision 1.1446 (428b4307MH3U7T8lRzS3M2j3aIil2w)
xc_linux_restore.c:
  g/c p_gdt left over from previous cleanup.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-18 13:28:39 +00:00
cl349@firebug.cl.cam.ac.uk 5ca37215ce bitkeeper revision 1.1445 (428b4138WU0m20nAmwQHUjtcDWujKA)
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-18 13:20:56 +00:00
cl349@firebug.cl.cam.ac.uk f074a9fc2f bitkeeper revision 1.1440.1.1 (428b4130AHhjh0DP-1uIBubaOIywiw)
domain.c:
  Send VIRQ_DOM_EXC when domain_destruct removes a domain from
  Xen's list of domains.
XendDomain.py:
  Now that virq's work, remove periodic domain refresh calls to reap expired
  domains.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-18 13:20:48 +00:00
kaf24@firebug.cl.cam.ac.uk 4e0cedd750 bitkeeper revision 1.1444 (428b4030UlhNBFgtVCz6n2LnwfNoFg)
Delete: xen/include/xen/pci_ids.h
2005-05-18 13:16:32 +00:00
kaf24@firebug.cl.cam.ac.uk 9aeab194c2 bitkeeper revision 1.1443 (428b3f59xxbCVcbUBrHu1R1TkWcYhg)
Cleaner GDT interface. Xen now reserves the last 2 pages of a full-size
(16 page) GDT. A guest can register a GDT with up to 7k entries. Xen
automatically makes the GDT up to max size with empty page mappings,
and turns page faults in that area to #GP(selector).
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-18 13:12:57 +00:00
kaf24@firebug.cl.cam.ac.uk 0e3449b666 bitkeeper revision 1.1442 (428af574YWiDAiHeZQyeMJke5Tb75Q)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-05-18 07:57:40 +00:00
kaf24@firebug.cl.cam.ac.uk 342b92476c bitkeeper revision 1.1159.258.136 (428af5483Yn2FWcrPnTRD2GVmftlhQ)
Fallback behaviour of the network startup script is now same as it
always was: IP addresses of eth0 are transferred to the bridge device
but not deleted from eth0. This is needed for the 2.0-series tools,
which by default look only at eth0 to determine IP parameters for domU.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-18 07:56:56 +00:00
kaf24@firebug.cl.cam.ac.uk dbec8ea28b bitkeeper revision 1.1441 (428af44dQBVBR-lJOrBaoNhpMx9hXg)
x86/64 fixes.
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Scott Parish <srparish@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-18 07:52:45 +00:00