Commit Graph
1767 Commits
Author SHA1 Message Date
cl349@firebug.cl.cam.ac.uk 37fe3341c3 Merge libxenstat and xentop. 2005-08-22 21:54:28 +00:00
vh249@arcadians.cl.cam.ac.uk 86c29e1543 fix logic of ballooning out to handle the dom0_min_mem parameter correctly
add an error message when having not enough memory

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-08-21 16:49:54 +00:00
kaf24@firebug.cl.cam.ac.uk bd56a31071 We need to detect ioemu handled devices earlier and ignore them.
Testing in blkif.py is too late. The check should be in createDevices.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-08-20 09:36:15 +00:00
mark.williamson@cl.cam.ac.uk fdf3896523 Minor xenstat changes from Christian Limpach. 2005-08-19 18:22:56 +00:00
sd386@font.cl.cam.ac.uk 9d15f02cd7 Local merge of two headed repo. 2005-08-19 18:12:48 +00:00
sd386@font.cl.cam.ac.uk b25e5aa958 Fix broken 'xm sedf', fixed by Ross Mcilroy
Signed-off by: Stephan.Diestelhorst@{cl.cam.ac.uk, inf.tu-dresden.de}
2005-08-19 18:08:29 +00:00
kaf24@firebug.cl.cam.ac.uk d9eb7e09d7 Get rid of memory_t. Almost all uses should be unsigned long.
The few uses for a physical/machine address have been mostly 
changed to u64.

Grant table code probably needs auditing for PAE correctness,
but at least the interface is now sound.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-19 17:25:04 +00:00
cl349@firebug.cl.cam.ac.uk 02c66fd040 merge? 2005-08-19 12:22:27 +00:00
cl349@firebug.cl.cam.ac.uk 9e4d244470 Add very rough xend support for xenbus block device setup.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-19 12:21:29 +00:00
kaf24@firebug.cl.cam.ac.uk 39ec3e6c6a This patch:
* adds a C-based security policy translation tool to Xen (secpol_xml2bin) 
and removes the current Java 
security policy translator (Java dependencies).  The C-based tool 
integrates into the Xen source tree build 
and install (using gnome libxml2 for XML parsing). See install.txt.

* introduces security labels and related tools. Users can now use 
semantic-rich label names to put security-tags 
on domains. See example.txt, policy.txt.

* moves the security configuration (currently ACM_USE_SECURITY_POLICY) 
from xen/Rules.mk 
into a separate top-level Security.mk file  (it is needed by the 
tools/security and xen/acm).

Both xen/acm and tools/security are built during the Xen build process 
only if ACM_USE_SECURITY_POLICY 
is not ACM_NULL_POLICY (which is the default setting).

Signed-off-by Reiner Sailer <sailer@us.ibm.com>
Signed-off by Stefan Berger <stefanb@us.ibm.com>
Signed-off by Ray Valdez <rvaldez@us.ibm.com>
2005-08-19 09:03:17 +00:00
smh22@firebug.cl.cam.ac.uk d41f35ae27 Proleptic xend bug fix for multi-sxp messages; stricly more robust than before.
Signed-off-by: Steven Hand <steven@xensource.com>
2005-08-19 02:41:16 +00:00
iap10@freefall.cl.cam.ac.uk 94c199e8fc Make antispoof default to 'no' in network-script as the default in xend is 'no'. Having them different only causes confusion.
Signed-off-by: ian@xensoure.com
2005-08-18 14:17:22 +00:00
vh249@arcadians.cl.cam.ac.uk fd2312006b fail nicely when passing unknown option to xm list
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-08-18 11:45:54 +00:00
vh249@arcadians.cl.cam.ac.uk 10d9dd27f4 fail domU creation if memory need couldn't be succeed after ballooning out dom0
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-08-18 01:13:49 +00:00
josht@us.ibm.com 3df6bc01b6 Rename vm-top to xentop. Make "xm top" invoke xentop. Make libxenstat a static library, and do not install it.
# HG changeset patch
# User josht@us.ibm.com
# Node ID ea025493dfe39540075ee9e4e75b2146f25bdbd3
# Parent  ce557cc4fdc764ac2ce07b8d4bcae77ecf847c29
Rename vm-top to xentop.  Make "xm top" invoke xentop.  Make libxenstat a static library, and do not install it.
2005-08-17 16:50:33 +00:00
iap10@freefall.cl.cam.ac.uk 4a58a25381 merge 2005-08-17 12:30:04 +00:00
iap10@freefall.cl.cam.ac.uk 34ef247301 Another tweak to the network-bridge script.
Signed-off-by: ian@xensource.com
2005-08-17 12:29:34 +00:00
cl349@firebug.cl.cam.ac.uk 9dc02cdad0 merge? 2005-08-17 12:26:05 +00:00
cl349@firebug.cl.cam.ac.uk fb008da966 Restore domains with a different uuid than they had.
Needed for migration to localhost and migration between hosts with
a shared/distributed xenstore.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-17 12:25:50 +00:00
kaf24@firebug.cl.cam.ac.uk 55b8547307 Python build fix. 2005-08-17 10:35:39 +00:00
cl349@firebug.cl.cam.ac.uk 6b2e541096 Clear "/control/shutdown" node on domain restore.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-17 10:18:13 +00:00
kaf24@firebug.cl.cam.ac.uk 9c07496f46 xenbus build and license fixes. 2005-08-17 09:59:04 +00:00
cl349@firebug.cl.cam.ac.uk 208cd71bf7 Add support for XENSTORED_TRACE to enable trace output from xenstored.
Set XENSTORED_TRACE in /usr/sbin/xenstored's environment to enable the
trace output.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-17 09:50:26 +00:00
iap10@freefall.cl.cam.ac.uk 8b799c9ee6 Yet another work-around in the network-bridge script
From: Zhai, Edwin [edwin.zhai@intel.com]
Signed-off-by: ian@xensource.com
2005-08-16 20:00:53 +00:00
kaf24@firebug.cl.cam.ac.uk 91b0f0040e Really randomise MAC addresses for multi-VIF guests.
Reseeding on every VIF doesn;t work as timeofday doesn't
change quickly enough.

Signed-off-by: Jim Dykman <dykman@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-16 19:38:22 +00:00
cl349@firebug.cl.cam.ac.uk 81eb58aedb Only introduce domain to the store when we have store channel _and_ mfn.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-16 16:34:04 +00:00
kaf24@firebug.cl.cam.ac.uk 3eeeaba7c9 Disable xenconsoled throttling for now. 2005-08-16 07:07:11 +00:00
kaf24@firebug.cl.cam.ac.uk 12ef0a9548 Under the right circumstances, xenconsoled will corrupt its internal
list of domains causing a SEGV.  This is usually characterized by a 
rapid number of creations/destructions.  The attached patch fixes this.

1) Fix uninitialized next pointer.  This could sometimes cause xenconsoled to
   SEGV on an invalid domain pointer
2) Fix race condition in iterating domain list where removing a domain in a
   callback could lead to the iterators becoming invalid.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2005-08-16 07:06:10 +00:00
iap10@firebug.cl.cam.ac.uk 3168022e9e merge 2005-08-16 01:04:32 +00:00
iap10@firebug.cl.cam.ac.uk 0a91775aaa merge 2005-08-16 01:01:19 +00:00
iap10@firebug.cl.cam.ac.uk 1aa3b010b9 Tweaks to network-bridge script.
Signed-off-by: ian@xensource.com
2005-08-15 21:47:44 +00:00
adsharma@los-vmm.sc.intel.com f04c4b32ac Enable multi-word DMA mode 2 for the PIIX3 chipset
Without this patch, Linux PIIX3 driver would see ultra DMA and get confused
and ended up disabling DMA.

With the patch, we're able to see 3x increase in disk read throughput.

Signed-off-by: Winston Wang <winston.l.wang@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-08-15 12:50:38 -08:00
adsharma@los-vmm.sc.intel.com c004ce5772 Distinguish ioemu handled devices and para virtualized devices
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-08-15 12:50:32 -08:00
adsharma@los-vmm.sc.intel.com 7e359b2621 Don't leave vncviewer processes running if xm create fails
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-08-15 12:50:25 -08:00
ach61@arcadians.cl.cam.ac.uk 48664deb37 PDB: watchpoints for process context 2005-08-15 19:04:28 +00:00
josht@us.ibm.com 97af2bfb93 Add placeholder files to avoid removal of the tools/xenstat/libxenstat/bindings/swig/{perl,python} output directories. 2005-08-15 18:25:33 +00:00
iap10@freefall.cl.cam.ac.uk 2fabf79299 merge 2005-08-14 21:48:37 +00:00
iap10@freefall.cl.cam.ac.uk 3ffc2735e3 Make the default network-script to be '' i.e. don't run a network script. Fix Makefile to actually install network-bridge script.
Signed-off-by: ian@xensource.com
2005-08-14 21:45:26 +00:00
smh22@firebug.cl.cam.ac.uk c2b9845399 Allow use of grant tables for netdev tx+rx rings. Code is kinda
ugly due at least in part to the fact that we still have separate 
_TX and _RX grant config options - expect this to be unified soon. 

Signed-off-by: Steven Hand <steven@xensource.com>
2005-08-14 20:34:13 +00:00
kaf24@firebug.cl.cam.ac.uk dee1ddf4e8 Currently xm list --long only displays info about the last domain. The
attached patch fixes this so it displays info about each domain.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2005-08-14 09:07:56 +00:00
iap10@freefall.cl.cam.ac.uk a13b3d07c7 merge... 2005-08-13 22:04:22 +00:00
iap10@freefall.cl.cam.ac.uk 141ec0c639 New 'network-bridge' script that uses ifdown/ifup to configure the interface rather than trying to transfer addresses and routes. (Suggested by Gerd Knorr)
Although Li Ge has had problems with this script he had trouble with the previous too. I think this new one should work for more people, particularly those using DHCP on their primary dom0 interface.

Debugging is currently enabled ("sh -x") so a log of the script's execution is output to /var/log/xend.log

Signed-off-by: ian@xensource.com



--HG--
rename : tools/examples/network => tools/examples/network-bridge
2005-08-13 22:02:54 +00:00
akw27@arcadians.cl.cam.ac.uk 104a3d1255 Remove unnecessary union in grant table map/unmap ops.
All addresses, host virtual and PTEs, are now passed in the cunningly
ambiguous "host_addr" field, rather than in an anonymous union.
2005-08-13 15:47:53 +00:00
kaf24@firebug.cl.cam.ac.uk 561b5b9cd3 If block-create didn't work, then chances are block-destroy doesn't work
either right :-)

In this case, XendDomain.py is just calling a function that doesn't 
exist (device_destroy instead of device_delete).

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2005-08-13 09:06:44 +00:00
kaf24@firebug.cl.cam.ac.uk 2591bbb102 xm block-create doesn't work. It seems like this command hasn't even
been tested (perhaps since the un-Twisting?).  This particular problem 
was that one function was being called with self instead of the right 
argument and another function's return value was being used when it 
didn't actually return anything.

This patch also improves the error handling a bit by making sure we 
don't thrown an exception on a log statement with a None value.  In 
general, one should always use the % formatter instead of concatination 
for strings in Python (even though this is not what this patch does).

Signed-off-by: Anthony Liguori
2005-08-13 09:06:20 +00:00
josht@us.ibm.com 640c24310c Make vm-top and the xenstat perl and python bindings conditional based on configuration variables from Config.mk, rather than disabling them if the needed headers are not found. 2005-08-13 00:44:00 +00:00
josht@us.ibm.com 49839b535b Add xenstat framework.
# HG changeset patch
# User josht@us.ibm.com
# Node ID d39cf132a00a91e65c0ad4640c5bd17f722788b7
# Parent  822566f5cfddce3b641b5a1a119dfd592ec69158
Add xenstat framework.
2005-08-12 18:36:54 +00:00
kaf24@firebug.cl.cam.ac.uk 2d76e4deef Build xenstore interface as shared library.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-12 15:59:34 +00:00
vh249@arcadians.cl.cam.ac.uk 30ed144f39 forget to substitute CC back to gcc
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-08-12 13:33:57 +00:00
vh249@arcadians.cl.cam.ac.uk e08e53f151 make needlessly global functions static and use NULL instead of 0 for pointer
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-08-12 13:05:50 +00:00