Commit Graph
1354 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
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 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
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 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
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
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 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
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 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
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
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 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
cl349@firebug.cl.cam.ac.uk 627aaffcb5 bitkeeper revision 1.1440 (428a703fGt3asjVc5fTAW72ClnFOog)
Many files:
  g/c _readline{,s} and use regular readline{,s} functions -- the special
  _readline{,s} functions were only needed because of Twisted.
ip.py:
  Also use readlines() instead of xreadlines().
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-17 22:29:19 +00:00
cl349@firebug.cl.cam.ac.uk 899c0f0840 bitkeeper revision 1.1439 (428a6cf5pJzUJXByrppn04a8boHuAw)
Fix virq delivery in Xend.
xcs.c:
  Fix binding to virq's -- setup evtchn binding.
channel.py:
  Use VIRQ_DOM_EXC as exported from xc.  Also don't bind to virq's we
  don't care for or which won't get delivered to us anyway.
xc.c:
  Export VIRQ_DOM_EXC to python.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-17 22:15:17 +00:00
cl349@firebug.cl.cam.ac.uk 5b0d192b95 bitkeeper revision 1.1438 (428a6cbbhokMA5cP0GT8z63oSTQwIA)
ip.py:
  Make the get_current_ip* functions more robust -- default to look at the
  interface which is currently used for the default route instead of eth0.
  Fix get_current_ipaddr, get_current_ipmask and get_current_ipgw for
  veth0.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-17 22:14:19 +00:00
kaf24@firebug.cl.cam.ac.uk 974467723b bitkeeper revision 1.1159.258.135 (428a3218LRhrEVrFCYcKckXl2ziRCQ)
Backport of network script fix from unstable.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-17 18:04:08 +00:00
kaf24@firebug.cl.cam.ac.uk 48cd6e9930 bitkeeper revision 1.1435 (428a3176t0PNiOuyFEWG44vc-VFypg)
No need to disable 'network stop' functionality.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-17 18:01:26 +00:00
cl349@firebug.cl.cam.ac.uk 994b549ef1 bitkeeper revision 1.1429.2.2 (428a036cO1cnBZO53U3HCW-Lk42RtA)
network:
  Handle xend restart -- don't take down the network setup and don't
  initialize it if it looks already initialized.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-17 14:45:00 +00:00
cl349@firebug.cl.cam.ac.uk ed87e6c27f bitkeeper revision 1.1429.2.1 (4289f8bdXdxyaTx6qEuNczjfKZaWQg)
Makefile:
  Add dependency on header files.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-17 13:59:25 +00:00
cl349@firebug.cl.cam.ac.uk b93e7f7e8b bitkeeper revision 1.1426.1.1 (4289cc8cPUM98bLJs4TV93NHY9LOKg)
Many files:
  Make interface to network/block scripts consistent:
  - output on stdout is returned to the script caller
  - output on stderr is logged at the error level, messages with a '-' prefix
    are logged at the debug level and messages with a '*' prefix are logged
    at the info level.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-17 10:50:52 +00:00
cl349@firebug.cl.cam.ac.uk ca5d3268f9 bitkeeper revision 1.1426 (4289b3a59jCX-jlUcC5FbM5VwgzLvw)
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-17 09:04:37 +00:00
cl349@firebug.cl.cam.ac.uk dd6f104cdb bitkeeper revision 1.1421.1.1 (4289b3a0n7JmXiz6fiz0QAfqJ_M1Lg)
XendDomainInfo.py:
  Redirect debug output to log.
PrettyPrint.py:
  Add prettyprintstring.
XendDomainInfo.py:
  Remove debug print.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-17 09:04:32 +00:00
kaf24@firebug.cl.cam.ac.uk f68954f42a bitkeeper revision 1.1422 (4288fba11spwpuVeAcBTXmV1qAve_Q)
Fix 64-bit build of pygrub. From Jerone Young.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-16 19:59:29 +00:00
kaf24@firebug.cl.cam.ac.uk 33ab556179 bitkeeper revision 1.1421 (4288ce4e6ck3yeSz45ZczyyRR_QzUw)
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-16 16:46:06 +00:00
kaf24@firebug.cl.cam.ac.uk af97a9b045 bitkeeper revision 1.1159.283.1 (4288ce19qPIaLjPeI1_LphAJ6cDCJA)
Local netfront/netback emulation for domain0, to clean up and fix
Etherbridge setup.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-16 16:45:13 +00:00
cl349@firebug.cl.cam.ac.uk e17de76e38 bitkeeper revision 1.1420 (4288c742JYmWjAz3bZlZhafhzuQ73w)
Vifctl.py:
  Pass script output through logger.
process.py:
  os.system() replacement which outputs through the logger
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-16 16:16:02 +00:00
cl349@firebug.cl.cam.ac.uk a511447ae4 bitkeeper revision 1.1419 (4288b44f4jmaJGEAjpgklKaura3Q9g)
SrvServer.py:
  Use log.info to output unix server address.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-16 14:55:11 +00:00
cl349@firebug.cl.cam.ac.uk 12f9bc2314 bitkeeper revision 1.1418 (4288b194SVDMgqu_H0b_Hwg8OcoZkA)
blkif.py:
  Import XendLogging.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-16 14:43:32 +00:00
kaf24@firebug.cl.cam.ac.uk bfad555857 bitkeeper revision 1.1415 (42887ada_Jmkta2rYHnpJBE2EVpy4w)
Remove generic 'fast trap' from the Xen public interfaces. Internally
within Xen, we automatically set up direct trap for int 0x80, which is
the only 'fast trap' vector that we ever supported anyway.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-16 10:50:02 +00:00
kmacy@netapp.com[kaf24] 8f30481cc5 bitkeeper revision 1.1411 (42884f321efBfAPblIV0mrlYL-DYpA)
[PATCH] [PATCH] SMP coredump fix

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2005/05/15 18:03:44-07:00 kmacy@octopus.eng.netapp.com
#   Fix SMP coredumps
#   Signed-off-by: Kip Macy <kmacy@netapp.com>
#
# BitKeeper/etc/logging_ok
#   2005/05/15 18:03:43-07:00 kmacy@octopus.eng.netapp.com +1 -0
#   Logging to logging@openlogging.org accepted
#
# tools/libxc/xc_core.c
#   2005/05/15 18:03:21-07:00 kmacy@octopus.eng.netapp.com +11 -7
#   handle discontiguous CPUs correctly
#   make offsets in core header correct for MP case
#
2005-05-16 07:43:46 +00:00
iap10@freefall.cl.cam.ac.uk e6559e29ac bitkeeper revision 1.1410 (4286de1dJ_YgvFcDITt_LZ4LXBdTXA)
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-15 05:29:01 +00:00
iap10@freefall.cl.cam.ac.uk 81f16c9023 bitkeeper revision 1.1159.258.127 (4286dddb-5dYH1S3phGceqJNfCfQbg)
update xen-clone (nightly build script) to cope with trees with new kernel symlinks
2005-05-15 05:27:55 +00:00
smh22@firebug.cl.cam.ac.uk 3fddae180d bitkeeper revision 1.1405 (4284f1eblDv0pt9WRByVi3DRdlLGSA)
Merge firebug.cl.cam.ac.uk:/local/scratch/smh22/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/smh22/mwray-xend2.bk
2005-05-13 18:28:59 +00:00
smh22@firebug.cl.cam.ac.uk e011ff2e39 bitkeeper revision 1.1389.1.61 (4284f1ddAO6PwLXgaP83tPIB0NH4cw)
Cset exclude: cl349@firebug.cl.cam.ac.uk|ChangeSet|20050513143651|29037
2005-05-13 18:28:45 +00:00
smh22@firebug.cl.cam.ac.uk 445bad9a35 bitkeeper revision 1.1404 (4284f02azzS42sTfwP_o4ofbShQYDA)
sxpr_parser.c:
  fix build
2005-05-13 18:21:30 +00:00
smh22@firebug.cl.cam.ac.uk 43c44b436d bitkeeper revision 1.1389.1.60 (4284eff8xPCiJXQdVwPYSYL7MEB5zA)
fix calls to xc_domain_getinfo()

Signed-off-by: Steven Hand <steven@xensource.com>
2005-05-13 18:20:40 +00:00
mjw@wray-m-3.hpl.hp.com 007d7b6e1e bitkeeper revision 1.1403 (4284c2edzLTGTr4gHmGzYsZMuetTRQ)
Switch to using unix-domain interface on xend instead
of http via libcurl.
Sundry other merges and fixes.
Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-05-13 15:08:29 +00:00
mjw@wray-m-3.hpl.hp.com 21eaf26c10 bitkeeper revision 1.1402 (4284c140AGr7UEnDR8q3JG62gMR37g)
Merge iostream fixes.
Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-05-13 15:01:20 +00:00
cl349@firebug.cl.cam.ac.uk ad4e538a98 bitkeeper revision 1.1389.1.59 (4284bbd6CcKrWKYacVwZloM-lo2WtA)
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-clean
2005-05-13 14:38:14 +00:00
cl349@firebug.cl.cam.ac.uk 34b55f35a7 bitkeeper revision 1.1159.281.1 (4284bb83DRFxFAWqa-zevESa69akFA)
sxpr_parser.c, sxpr_parser.h:
  Revert size of sxpr parser input buffer to original size and make
  buffer allocated dynamically and increasing in size on demand.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-13 14:36:51 +00:00