Commit Graph
1332 Commits
Author SHA1 Message Date
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
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 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
xenbk@gandalf.hpl.hp.com 5149cc539b bitkeeper revision 1.1400 (4284b9fcQX9z9IzwMeHwdHYRkEIjFA)
Merge
2005-05-13 14:30:20 +00:00
kaf24@firebug.cl.cam.ac.uk 7ef0d92af9 bitkeeper revision 1.1389.1.49 (4283701cNLgzy29rE9Sw2-Jbp4DdZA)
Remove 'exec_domain' from Xen public interfaces. Replace with 'vcpu'.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-12 15:02:52 +00:00
kaf24@firebug.cl.cam.ac.uk 6962e18db6 bitkeeper revision 1.1389.19.6 (4283326fLInxsBy4d19FLaiMPEMO4w)
Some more mmap() error-return fixes.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-12 10:39:43 +00:00
rusty@rustcorp.com.au[kaf24] 3b0a5597b0 bitkeeper revision 1.1389.19.5 (42833116hOft6cekTRSGqSIk2tNzGA)
[PATCH] [PATCH] libxc: mmap doesn't return NULL on error...

Hi, was reading libxc code, and noticed this.  Patch is bigger than
strictly necessary due to indent adjust.

Against latest bk.
Rusty.
2005-05-12 10:33:58 +00:00
cl349@firebug.cl.cam.ac.uk ea15b5bc90 bitkeeper revision 1.1389.15.15 (428242f7nXN4g9eyz6qI4P8iLGAGTg)
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-11 17:37:59 +00:00
cl349@firebug.cl.cam.ac.uk 1ab02347d8 bitkeeper revision 1.1389.15.14 (428242a6WycHvjFblUGQbKtJd94NPg)
Many files:
  Merge interface changes from previous 'Split out context fetching into
  separate DOM0 op' and 'xen,tools: pincpu use vcpu and cpumap_t' checkins.
xc_linux_save.c:
  Undo incorrect change from previous patch.
xc.h, xc_domain.c:
  Cleanup whitespace.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-11 17:36:38 +00:00
kaf24@firebug.cl.cam.ac.uk b1b326b91a bitkeeper revision 1.1389.17.3 (42823d4825o1wYghBqsaekhllO6ocQ)
Domain builders need only set bit 9 of EFLAGS (Interrupt Enable).
Setting this bit is enforced by Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-11 17:13:44 +00:00
cl349@firebug.cl.cam.ac.uk[cl349] 6d6ca3b27e bitkeeper revision 1.1389.15.13 (42821f23dLMLc5Ql8Y-rUwoatYBI6g)
Split out context fetching into separate DOM0 op
make GETDOMAININFO a little more sensible with respect to MP
make coredump dump all cpu contexts
Signed-off-by: Kip Macy <kmacy@netapp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-11 15:05:07 +00:00
cl349@firebug.cl.cam.ac.uk[cl349] 0ececa920d bitkeeper revision 1.1389.15.11 (428212beixWz2Ftz7Wj0NeY03LmBnA)
sched.h, dom0_ops.h, dom0_ops.c, xc_domain.c, xc.h:
  Minor cleanups.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-11 14:12:14 +00:00
xenbk@gandalf.hpl.hp.com 5d44c5a1f2 bitkeeper revision 1.1399 (42820c16ZkkGzrd1OssY0unvIvY5Cw)
Merge http://xen.bkbits.net:8080/xeno-unstable.bk
into gandalf.hpl.hp.com:/var/bk/xeno-unstable.bk
2005-05-11 13:43:50 +00:00
cl349@firebug.cl.cam.ac.uk[cl349] b7c498208c bitkeeper revision 1.1389.15.10 (428202c9Vz9xfNsG-q-WtZpPrER7xQ)
[PATCH] xen,tools: pincpu use vcpu and cpumap_t

The following patch updates the dom0 pincpu operation to read the VCPU
value from the xend interface rather than hard-coding the exec_domain to
0.  This prevented pinning VCPUS other than 0 to a particular cpu.  The
pincpu cpu argument is replaced with cpumap, a u64 bitmap representing
which CPUs a VCPU can use.

I added the number of VCPUS to the main xm list output and also included
a new sub-option to xm list to display the VCPU to CPU mapping.  While
working on the pincpu code, I fixed an out-of-bounds indexing for the
pincpu operation that wasn't previously exposed since the
vcpu/exec_domain value was hard-coded to 0.

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-11 13:04:09 +00:00
kaf24@firebug.cl.cam.ac.uk bb5ae6b5cc bitkeeper revision 1.1389.5.37 (427f9fd5lvofpMsmBQ2h16fsuXQH6Q)
Manual merge.
2005-05-09 17:37:25 +00:00
kaf24@firebug.cl.cam.ac.uk af6be9c0e9 bitkeeper revision 1.1389.5.32 (427dd050vCHxq0uiJZz1uFqkyfzA0w)
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-08 08:39:44 +00:00
lists-xen@pimb.org[kaf24] c4d7a1af8e bitkeeper revision 1.1159.258.114 (427dcfb8HaNsKoCdNjOQCEM_vCEWTA)
[PATCH] [PATCH] Increase size of sxpr parser input buffer

Increase the size of the sxpr parser input buffer from 1024 characters, which
isn't long enough to hold larger domain configurations (xfrd transmits the
entire domain config sxpr as a single atom inside of another sxpr).

Signed-off-by: Jody Belka <knew (dash) xen (at) pimb (dot) org>
2005-05-08 08:37:12 +00:00
kmacy@netapp.com[kaf24] f6f5d2be1a bitkeeper revision 1.1389.5.26 (427c8812BoSWeQz8YGOr4XZvnAzolA)
[PATCH] [PATCH] remove gdbserver chattiness

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2005/05/06 17:39:50-07:00 kmacy@barleywine.eng.netapp.com
#   remove irritating chattiness from gdbserver
#   Signed-off-by: Kip Macy <kmacy@fsmware.com>
#
# BitKeeper/etc/logging_ok
#   2005/05/06 17:39:50-07:00 kmacy@barleywine.eng.netapp.com +1 -0
#   Logging to logging@openlogging.org accepted
#
# tools/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/linux-xen-low.c
#   2005/05/06 17:39:19-07:00 kmacy@barleywine.eng.netapp.com +2 -1
#   remove debug noise
#
2005-05-07 09:19:14 +00:00
xenbk@gandalf.hpl.hp.com 07f5335fa3 bitkeeper revision 1.1398 (427ba39bqKEbkdkvXR-PGTXrS0ed7w)
Merge http://xen.bkbits.net:8080/xeno-unstable.bk
into gandalf.hpl.hp.com:/var/bk/xeno-unstable.bk
2005-05-06 17:04:27 +00:00
kaf24@firebug.cl.cam.ac.uk 9e11829aa9 bitkeeper revision 1.1389.5.21 (427a5ee3rBlRFupS4xBvv_nWVHQlsA)
Clean up IO-APIC handling in domain0, and the hypercall interface
exported by Xen (inc. removal of PCI-related calls). This hopefully
fixes acpi=off.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-05 17:58:59 +00:00
smh22@tempest.cl.cam.ac.uk 1d5464775f bitkeeper revision 1.1389.5.16 (427a2d48fB11IAeFlv0AL07RxME0vg)
build privcmd even in unpriv domains; minor libxc fix

Signed-off-by: Steven Hand <steven@xensource.com>
2005-05-05 14:27:20 +00:00
kaf24@firebug.cl.cam.ac.uk e286f60403 bitkeeper revision 1.1389.7.5 (4279f582pwUD_gXMbX8w4RQ2aYmGDA)
Fix return code from xc_domain_create.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-05 10:29:22 +00:00
mjw@wray-m-3.hpl.hp.com cc5f6e3045 bitkeeper revision 1.1397 (4277741fdlZ9gO-8RTiQcqQmqkKEEw)
Fix import.
Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-05-03 12:52:47 +00:00
xenbk@gandalf.hpl.hp.com 34f6661b0a bitkeeper revision 1.1396 (4277318fhBrWTxIQcLWvjKyF4aX-_w)
Merge
2005-05-03 08:08:47 +00:00
kaf24@firebug.cl.cam.ac.uk d431485326 bitkeeper revision 1.1389.1.24 (4275fe39zl4LNqHkDr0esLqsvTaLoA)
Fix ioemu makefile to not use 'uname -i'.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-02 10:17:29 +00:00