Commit Graph
5521 Commits
Author SHA1 Message Date
kaf24@firebug.cl.cam.ac.uk 8a6c33ded1 bitkeeper revision 1.1726.2.3 (42ba7587nwhnhQJ_hDkHTk8kTKtAFw)
Make sure we save errno across error-path printfs and munlocks. Based
on a patch from Anthony Liguori.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-23 08:40:39 +00:00
kaf24@firebug.cl.cam.ac.uk 40c6180f82 bitkeeper revision 1.1726.2.2 (42ba6dec5qH_zwE0b8JXa-7ZaJ825w)
More user friendly panic line if dom0 kernel not specified to Xen.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2005-06-23 08:08:12 +00:00
kaf24@firebug.cl.cam.ac.uk 8d0dbee96a bitkeeper revision 1.1726.2.1 (42ba6dcaSODxvHIftq9c1t2jDb4htA)
Include ACM header file in libxc header file.
2005-06-23 08:07:38 +00:00
kaf24@firebug.cl.cam.ac.uk aa124bc09a bitkeeper revision 1.1726.1.4 (42b9a3227hiEkDxIFEfJ234PDK9C8w)
Enable NX bit support in 32-bit pae mode.
Signed-off-by: Gerd Knorr <kraxel@bytesex.org>
2005-06-22 17:42:58 +00:00
kaf24@firebug.cl.cam.ac.uk 8db6546ae8 bitkeeper revision 1.1726.1.3 (42b9a279xCcev3J_vAFv3hHoqI8lVw)
Add cmpxchg8b support for writable page tables
(emulation code path), which is needed to make atomic pae l1
page table updates work.
Signed-off-by: Scott Parish <srparish@us.ibm.com>
2005-06-22 17:40:09 +00:00
kaf24@firebug.cl.cam.ac.uk f53c886022 bitkeeper revision 1.1726.1.2 (42b9799cvxl7PK_CkhwRTPueXP17ew)
Fix defintion of PAGE_MASK so that pae builds again.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-22 14:45:48 +00:00
kaf24@firebug.cl.cam.ac.uk 09ae1e9ce6 bitkeeper revision 1.1726.1.1 (42b973245ua3LQyqFtGRwXDwnRLDPw)
Compile-time ACM null-ops disables build of acm files.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-22 14:18:12 +00:00
cl349@firebug.cl.cam.ac.uk be51472d62 bitkeeper revision 1.1726 (42b7f1bfzMUFLRiUR9wWkzc2mh-Ing)
Add new control messages for vcpu hotplug events.  Via the
xm vcpu-hotplug sub-program, vcpus in domains can be enabled/disabled
when CONFIG_HOTPLUG_CPU is enabled in the target domain's kernel.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-21 10:53:51 +00:00
cl349@firebug.cl.cam.ac.uk 116e79a98f bitkeeper revision 1.1725 (42b7e4fcombAuDB0AR2i8hfnOEMfOQ)
sched.h, xen.h, schedule.c, dom0_ops.c, hypercall.h, smpboot.c, process.c:
  Extend the CONFIG_HOTPLUG_CPU behavior down into the hypervisor.
  Adds two SCHEDOPS (vcpu_down/vcpu_up) which set/clear VCPU flag VCPU_down.
  The domain_runnable() check now looks at this flag and subsequently the
  vcpu is not scheduled when VCPU_down is set.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-21 09:59:24 +00:00
cl349@firebug.cl.cam.ac.uk 1e6b0c78d8 bitkeeper revision 1.1724 (42b7d6f60v0z2ZEkw36W_1joFfySfw)
Make xs_read/read_reply allocate an extra byte and put a nul character
at the end of objects to allow easy use as a string.
From: Rusty Russell <rusty@rustcorp.com.au>                                     
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-21 08:59:34 +00:00
smh22@firebug.cl.cam.ac.uk 26922e5f08 bitkeeper revision 1.1723 (42b7c4f7lKvZiHctN9YxRzuWreG0iQ)
quiet xm ssid-ref output for now - use policy tool or -l for details
2005-06-21 07:42:47 +00:00
leendert@watson.ibm.com[iap10] 65227c4552 bitkeeper revision 1.1722 (42b7bcc4JmG_ITQ35E28L1mWc_g_ZQ)
[PATCH] ioemu-monitor.patch

The following patch adds back qemu monitor commands to qemu-dm which
make sense. That is, eject and change devices, and show some device
state.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>

===== tools/ioemu/monitor.c 1.1 vs edited =====
2005-06-21 07:07:48 +00:00
leendert@watson.ibm.com[iap10] ddacfe870c bitkeeper revision 1.1721 (42b7bc5cSB_7vlyUCCpWT0qq4GN_xg)
[PATCH] vmxassist-cleanup.patch
Some minor fixups and improved debug output.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
2005-06-21 07:06:04 +00:00
iap10@freefall.cl.cam.ac.uk 22e32f8c3c bitkeeper revision 1.1720 (42b7bb86ag6KD5OEx2v6YdSnS1BhGQ)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
2005-06-21 07:02:30 +00:00
iap10@spot.cl.cam.ac.uk 677f37671b bitkeeper revision 1.1718.1.10 (42b7b19aqOS_1M8I4pIOFjiTPYWV-g)
Merge bk://xenbits.xensource.com/xen-unstable.bk
into spot.cl.cam.ac.uk:C:/Documents and Settings/iap10/xen-unstable.bk
2005-06-21 06:20:10 +00:00
smh22@firebug.cl.cam.ac.uk f21629e0cc bitkeeper revision 1.1718.1.9 (42b7443fk-ybxUDza1p_kN1D8hzjRw)
Many files:
  new file
2005-06-20 22:33:35 +00:00
smh22@firebug.cl.cam.ac.uk 198553df06 bitkeeper revision 1.1718.1.8 (42b7436bQ2MohyJ9wW6onfFsyW6VGg)
shype4xen_readme.txt:
  new file
2005-06-20 22:30:03 +00:00
smh22@firebug.cl.cam.ac.uk 80070b4a6c bitkeeper revision 1.1718.1.7 (42b742f8NxTuN2pqCHFAWI78dbEYKw)
Initial MAC (sHype) support from IBM. 
Defaults to NULL policy for now. 

Signed-off-by: Reiner Sailer <sailer@us.ibm.com>
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Signed-off-by: Steven Hand <steven@xensource.com>
2005-06-20 22:28:08 +00:00
kaf24@firebug.cl.cam.ac.uk 6b76d296bb bitkeeper revision 1.1718.1.6 (42b5a5f3otSuOxDZ6KTFKrxR1U1m4Q)
Extend the xen_version hypercall to return extraversion and compile 
info.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-19 17:05:55 +00:00
kaf24@firebug.cl.cam.ac.uk 6c25db681a bitkeeper revision 1.1718.1.5 (42b59f7dHnuJ9AFj24zaneKCDkFTCg)
This patch adds dual-core support to xen, and improves HT detection.
Adapted from linux 2.6.12.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-19 16:38:21 +00:00
kaf24@firebug.cl.cam.ac.uk 10a20d0601 bitkeeper revision 1.1718.1.4 (42b59a8dca4vxae_1vlE_W95_lDsNg)
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-06-19 16:17:17 +00:00
iap10@spot.cl.cam.ac.uk 38539de55f bitkeeper revision 1.1718.2.1 (42b548b7ux2RLNcFOrtdJXuEMvLNEw)
This patch allows user to choose mirror to get linux kernel source instead of getting it from kernel.org (which set as default)
2005-06-19 10:28:07 +00:00
cl349@firebug.cl.cam.ac.uk 26892e4715 bitkeeper revision 1.1718.1.3 (42b5315dLCz3iIB7jiQxJQjbRXXdoQ)
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-19 08:48:29 +00:00
cl349@firebug.cl.cam.ac.uk bca61ae472 bitkeeper revision 1.1713.3.15 (42b53156pSSLSNwQRl51kxkAtBPgTQ)
xsnode.py:
  fileno is a method now.
netif.py, blkif.py, XendDomainInfo.py:
  Cleanup interface to DB.
xs.c:
  Don't special case xs_fileno.
  Update comments.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-19 08:48:22 +00:00
vh249@arcadians.cl.cam.ac.uk 27aa0dbf05 bitkeeper revision 1.1718.1.2 (42b40c3akEkhBrLzUFb8IOJmt33HQA)
new linux kernel tar use extended pax headers. remove the file wrongly
created by older version of tar which make the build fail.

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-06-18 11:57:46 +00:00
vh249@arcadians.cl.cam.ac.uk 7b672cd36d bitkeeper revision 1.1718.1.1 (42b3d9b3dbLlrBark4MWafH2yPtcRA)
Fixed compiler warnings of "cast to pointer from integer of different
size" which were caused by referencing memory addresses as 32bits on a 64bit
system.

Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-06-18 08:22:11 +00:00
iap10@freefall.cl.cam.ac.uk 0338f79f59 bitkeeper revision 1.1719 (42b36f87tzUHBhdJfZKC_wBV271T0g)
manual merge
2005-06-18 00:49:11 +00:00
iap10@tetris.cl.cam.ac.uk ac5c611d78 bitkeeper revision 1.1159.258.170 (42b3572cZGo7alQhMs_J2gWAK56DCg)
Subject: [Xen-devel] [PATCH] allow make O=/path/to/build/dir ARCH=XEN

kbuild allows building outside the source tree. this is useful when
building multiple configs (such as privileged and unprivileged domains).
this patch unbreaks this feature for xen-linux.

Signed-off-by: Avi Kivity <avi.kivity@qumranet.com>
Signed-off-by: ian@xensource.com
2005-06-17 23:05:16 +00:00
iap10@freefall.cl.cam.ac.uk 85b8054ceb bitkeeper revision 1.1718 (42b354a2M210uRAoeEEWX9FSzlNu-Q)
Add -fPIC tools/xenstore/Makefile 

From: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: ian@xensource.com
2005-06-17 22:54:26 +00:00
dsteklof@us.ibm.com[iap10] 90865c024e bitkeeper revision 1.1159.258.169 (42b35222QJFB1A-V4mSUnrUrLfA8xA)
[PATCH] RE: [Xen-devel] DOM0_GETDOMAININFO intended behavior

Ok... now that I (unintentionally) went overboard on this, why not just
document how it works and leave it as is?

signed-off-by: dsteklof@us.ibm.com
signed-off-by: ian@xensource.com
2005-06-17 22:43:46 +00:00
iap10@tetris.cl.cam.ac.uk 54a0093d82 bitkeeper revision 1.1159.258.168 (42b351653L3XVvz6UCiRgtfHHvj-Eg)
Subject: [Xen-devel] [PATCH] _perform_err

the declaration of _perform_err needs at least three arguments
(exlcuding self), but gets onky called with two args at many
places. This messes up xend-debug.log.
Patch is against 2.0-testing, but applied cleanly to unstable
as well, when I checked last.
 
From: Kurt Garloff <kurt@garloff.de>
Signed-off-by: ian@xensource.com
2005-06-17 22:40:37 +00:00
iap10@tetris.cl.cam.ac.uk 227aeb4d79 bitkeeper revision 1.1717 (42b3442b7kXKhXN5lvR9spIGT5LsYQ)
When xend starts, it fires off xcs.  If you're running on a slow
machine its possible that xcs started but xend didnt wait long 
enough to notice.  The attached patch loops several times while 
waiting for xcs to come up.  It seems to be working here while the 
original is not (slow machine here).

From: Tim Newsham [newsham@lava.net]
Signed-off-by: ian@xensource.com
2005-06-17 21:44:11 +00:00
iap10@freefall.cl.cam.ac.uk 86d6165ed3 bitkeeper revision 1.1716 (42b336f8VKVQeJVq9gIppvvdYPrMmw)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
2005-06-17 20:47:52 +00:00
cl349@firebug.cl.cam.ac.uk 6d76d5803f bitkeeper revision 1.1713.3.14 (42b31404a5lBMKNKYzOsHXWQ0k_d-Q)
xsnode.py:
  Updated watches/event code from Mike Wray.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 18:18:44 +00:00
cl349@firebug.cl.cam.ac.uk b00fe9d709 bitkeeper revision 1.1713.3.13 (42b30f66_kcj5tkDzz9DSBmqEbyHrQ)
xs.c:
  Update comment.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 17:59:02 +00:00
cl349@firebug.cl.cam.ac.uk 996ee15db0 bitkeeper revision 1.1713.3.12 (42b30f09wgYSRV9tHZUjq2JpreIozQ)
xs.c:
  Fix some oversights in watch/token code.
  Cleanup whitespace.
  Move method documentation next to method definition.
  Reorder functions in file.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 17:57:29 +00:00
cl349@firebug.cl.cam.ac.uk 21f4c1e5b9 bitkeeper revision 1.1713.3.11 (42b30a02txpfqH2-OnZmhyrJWqPgHQ)
xs.c:
  Add copyright notice.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 17:36:02 +00:00
cl349@firebug.cl.cam.ac.uk 8994c2f2ef bitkeeper revision 1.1713.3.10 (42b306faXfFxqDZahYvvQJPQeaDm1A)
netif.py:
  Add mtu config option for network interfaces.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 17:23:06 +00:00
cl349@firebug.cl.cam.ac.uk 53f499bc57 bitkeeper revision 1.1713.3.9 (42b306d0pFeN318FP89TE8LRrhROMQ)
xsobj.py:
  Cleanup interface to DB.
  Updated watches/event code.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 17:22:24 +00:00
cl349@firebug.cl.cam.ac.uk 936d91fbba bitkeeper revision 1.1713.3.8 (42b2f91bG45uUFWHhUaUha3e1OAxJQ)
xsnode.py:
  Updated watches/event code from Mike Wray.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 16:23:55 +00:00
cl349@firebug.cl.cam.ac.uk c7fcce5589 bitkeeper revision 1.1713.3.7 (42b2eca9N1e5S0oGdW8OeKAkL9oDOQ)
netif.py, blkif.py:
  Add exportToDB functions to save evtchn port.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 15:30:49 +00:00
cl349@firebug.cl.cam.ac.uk 99a2107ffa bitkeeper revision 1.1713.3.6 (42b2dc47kgG53fAZb70R3lHX96n7dw)
xsobj.py:
  Handle attribute lookups for non-existing attributes.
  Use setAttr consistently.
  Fix access to data in convertFromDB.
console.py:
  Cleanup whitespace.
channel.py:
  Cleanup saveToDB.
blkif.py:
  Save dev_handle in DB.
image.py:
  Cleanup exportToDB.
XendDomainInfo.py:
  Cleanup {save,export}toDB use.
  Cleanup whitespace.
  Change id type to be int.
  Output store_mfn in sxpr.
  Use id variable name consistently for domain id's.
  Add eventChannel comment.
  On restore, the uuid must be known.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 14:20:55 +00:00
cl349@firebug.cl.cam.ac.uk 4ddc54b2db bitkeeper revision 1.1713.3.5 (42b2a4e2r6SNlC_nq2hAkXEQjEFAmA)
Many files:
  - watch now takes a token, returned when reading watch
  - More tests
  - Fix domain shared page communication (flush output)
  - Add "home" path for domains
  - More permissions checks in various functions
  - Simplify watch acknowledgement code and fix occasional bug
xs_watch_stress.c, 12readonly.sh, 11domain-watch.sh, 10domain-homedir.sh:
  new file
xs_stress.c, xs_lib.h, xs_lib.c:
  Cleanup whitespace.
ignore:
  Add tools/xenstore/xs_watch_stress
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 10:24:34 +00:00
cl349@firebug.cl.cam.ac.uk c364cd9e1a bitkeeper revision 1.1713.3.4 (42b29eb6XRlJtKSkJ3VkG8PI0Dl4sg)
ignore:
  Add tools/xenstore/xs_dom0_test
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 09:58:14 +00:00
cl349@firebug.cl.cam.ac.uk 6e1ff5f262 bitkeeper revision 1.1713.3.3 (42b2995e93GNUwPpV6yP21Fl3iIRRQ)
Makefile:
  Add xs_dom0_test program to test IOCTL_PRIVCMD_INITDOMAIN_STORE.
xs_dom0_test.c:
  new file
From: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 09:35:26 +00:00
cl349@firebug.cl.cam.ac.uk b68bddb480 bitkeeper revision 1.1713.3.2 (42b296adTFf-i3SL6NuYF5MX4ai91Q)
Makefile:
  Build libxenstore-pic.a.
setup.py:
  Link with libxenstore-pic.a.
Makefile:
  Build libxc-pic.a.
  Build xenstore once is enough.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 09:23:57 +00:00
cl349@firebug.cl.cam.ac.uk 128fb33d1b bitkeeper revision 1.1713.3.1 (42b28e04xelbNlMIz5vWQQ5_M71w0A)
privcmd.h, privcmd.c:
  Add IOCTL_PRIVCMD_INITDOMAIN_STORE to setup dom0 xenstore page
  and event channel.
From: Rusty Russell <rusty@rustcorp.com.au>                                     
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 08:47:00 +00:00
kaf24@firebug.cl.cam.ac.uk 956b7a6021 bitkeeper revision 1.1713.1.14 (42b1f5f9KUyMHO2NrEptwgru2BVT0w)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xeno-unstable-ia64.bk
2005-06-16 21:58:17 +00:00
xen-ia64.adm@bkbits.net f20097a1a3 bitkeeper revision 1.1713.2.1 (42b1d4d7vqzNt8h7EyzTEvrzC7m5RA)
Merge bk://xen.bkbits.net/xeno-unstable.bk
into  bkbits.net:/repos/x/xen-ia64/xeno-unstable-ia64.bk
2005-06-16 19:36:55 +00:00
djm@kirby.fc.hp.com dc1a6a5f30 bitkeeper revision 1.1709.1.16 (42b1d2ecGSNeZhThHshE903eA1tK-Q)
Add arch-dep notification hook (per discussion on xen-devel)
needed for ia64 and VTi/x.
Signed-off-by: Matt Chapman <matthewc@hp.com>
2005-06-16 19:28:44 +00:00