Commit Graph
1322 Commits
Author SHA1 Message Date
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 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
kaf24@firebug.cl.cam.ac.uk 47d73f74d8 bitkeeper revision 1.1389.1.23 (4275e716ZM2AFvimq_UhqQK8jiiq5g)
Fix xc_ptrace interface to get rid of pid_t.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-02 08:38:46 +00:00
kaf24@firebug.cl.cam.ac.uk[kaf24] f497950f3f bitkeeper revision 1.1389.1.18 (4273a203Crs6SOBhDcJcXdza1-0gNw)
dump-enable.patch
Dump guest core if enable-dump is set.
Signed-off-by: Kip Macy <kmacy@fsmware.com>
2005-04-30 15:19:31 +00:00
kaf24@firebug.cl.cam.ac.uk[kaf24] b61e6cb4e9 bitkeeper revision 1.1389.1.16 (4273458eyxEjHSppjkQyDsXHHxOY9Q)
coredump.patch
Extend libxc and gdb server to coredump a domain.
Signed-off-by: Kip Macy <kmacy@fsmware.com>
2005-04-30 08:45:02 +00:00
arun.sharma@intel.com[kaf24] 927084f0d4 bitkeeper revision 1.1389.1.15 (4273436eypuqO7C1_MKQjhBV2kylZw)
[PATCH] vmx-mach-to-phys.patch

VMX domains need to setup their machine to physical maps.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-04-30 08:35:58 +00:00
kaf24@firebug.cl.cam.ac.uk 6e88ee268d bitkeeper revision 1.1389.1.14 (427343557mBKHXIKNWB3vC3vSFMQ7g)
Fix xc_ptrace for paravirtualized guests.
Signed-off-by: Kip Macy <kmacy@fsmware.com>
2005-04-30 08:35:33 +00:00
xenbk@gandalf.hpl.hp.com 55c002f967 bitkeeper revision 1.1393 (4271e39733erltTpi7grGFwvE3eDmw)
Merge http://xen.bkbits.net:8080/xeno-unstable.bk
into gandalf.hpl.hp.com:/var/bk/xeno-unstable.bk
2005-04-29 07:34:47 +00:00
kaf24@firebug.cl.cam.ac.uk 3ba18b6857 bitkeeper revision 1.1389.1.4 (427125bdwah0mehgnafVLP-gRLDM_w)
Avoid field duplication between vcpu_guest_context and arch_exec_domain
structures. The latter now includes the former as a sub-field.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-28 18:04:45 +00:00
kaf24@firebug.cl.cam.ac.uk 162dad1cfb bitkeeper revision 1.1389.1.2 (4270ed5dZvr_HdIQR0eBM2m4Kj81_A)
Renames:
 execution_context/xen_regs -> cpu_user_regs
 full_execution_context     -> vcpu_guest_context
[defined both 'struct xxx' and 'xxx_t' forms]
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-28 14:04:13 +00:00
mjw@wray-m-3.hpl.hp.com 155209afda bitkeeper revision 1.1392 (4270eaf9Zx1D03KOAVKHY8tW-aANmg)
Apply Nguyen's patch:

- extend filesystem abstraction by adding file_exist() method. this
method is used to check for existent of a file given its name. now
ext2fs implements this method.
- pygrub opens and parses /boot/grub/menu.lst or /boot/grub/grub.conf,
in that order.
- add /usr/lib/python to system path (see pygrub). without this
change, pygrub cannot find grub python package.
- remove few blank lines

Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-28 13:54:01 +00:00
mjw@wray-m-3.hpl.hp.com c2982308e2 bitkeeper revision 1.1391 (4270e62dQ3ab85LBG8yTiEDbCEYRqA)
Resolve merge failure.
Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-28 13:33:33 +00:00