Commit Graph
629 Commits
Author SHA1 Message Date
adsharma@los-vmm.sc.intel.com dfcfb2ba53 Merge. 2005-08-29 13:19:24 -07:00
cl349@firebug.cl.cam.ac.uk 82e2e63c60 Fix "bogus" check by moving it inside the length check.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-29 13:58:46 +00:00
shand@ubuntu.eng.hq.xensource.com 1f1e576a4a Fix nasty tools race between barking xu_autoreap() and xpopen3.wait() -
save/restore now seems more robust from a tools pov at least. 

Signed-off-by: Steven Hand <steven@xensource.com>
2005-08-28 21:40:36 -08:00
adsharma@los-vmm.sc.intel.com e903c56339 Merge. 2005-08-26 13:47:16 -07:00
cl349@firebug.cl.cam.ac.uk 2912a41dd1 Fix vnets in xm.
The removal of 'xm call' to call a xend interface function directly
made the xend vnet functions inaccessible. This patch adds those functions
to xm and fixes the persistence in XmVnet to use xenstore.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-26 10:51:10 +00:00
adsharma@los-vmm.sc.intel.com b093823279 Merge. 2005-08-25 12:24:48 -07:00
cl349@firebug.cl.cam.ac.uk 51a81da82a Cleanup vif entries in store when domain goes away.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-25 15:45:39 +00:00
gzhai@edwin-gen.sh.intel.com f5d73c6895 add a new option for spawning vncviewer
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-08-25 19:20:22 +08:00
cl349@firebug.cl.cam.ac.uk 44aec1c696 merge? 2005-08-25 10:09:39 +00:00
cl349@firebug.cl.cam.ac.uk 47428adff6 Fix the exception thrown when doing, for example, "xm domid" on a non-existent domain.
Signed-off-by: Dan Smith <danms@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-25 09:55:12 +00:00
cl349@firebug.cl.cam.ac.uk bef12f2bbd merge? 2005-08-25 00:55:20 +00:00
cl349@firebug.cl.cam.ac.uk acc63faffa Break the building/save/restore code out into a separate library libxenguest.
Also update the tools accordingly.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-25 00:51:20 +00:00
cl349@firebug.cl.cam.ac.uk 60eb663513 Rename libxc => libxenctrl and xc.h => xen/xenctrl.h
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>


--HG--
rename : tools/libxc/xc.h => tools/libxc/xenctrl.h
2005-08-24 23:07:29 +00:00
cl349@firebug.cl.cam.ac.uk 92ac24ede5 merge? 2005-08-24 22:24:10 +00:00
cl349@firebug.cl.cam.ac.uk e66487c0fc Switch network setup over to xenbus.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-24 22:22:11 +00:00
cl349@firebug.cl.cam.ac.uk 0193c4897d Revert changeset a3822cb3b2b3c24e6b46c1fed3e6c366817f52ad.
With this changeset the error message is incorrect.
Revert: Fix the exception thrown when doing, for example,
        "xm domid" on a non-existent domain.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-24 15:46:32 +00:00
cl349@firebug.cl.cam.ac.uk deb370b40a Fix the exception thrown when doing, for example, "xm domid" on a non-existent domain.
Signed-off-by: Dan Smith <danms@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-24 08:28:50 +00:00
adsharma@los-vmm.sc.intel.com 19bb5236ef Merge. 2005-08-23 12:03:21 -07:00
cl349@firebug.cl.cam.ac.uk 37fe3341c3 Merge libxenstat and xentop. 2005-08-22 21:54:28 +00:00
adsharma@los-vmm.sc.intel.com d38fcf7e67 Merge. 2005-08-22 11:00:37 -07: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
adsharma@los-vmm.sc.intel.com 0da203de7e 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-19 16:47:24 -08:00
adsharma@los-vmm.sc.intel.com b37f6a2f57 Merge. 2005-08-19 10:19:28 -08: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 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
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
adsharma@los-vmm.sc.intel.com bc8a33e3a8 Merge. 2005-08-18 10:40:02 -08: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
adsharma@los-vmm.sc.intel.com 14f83cd4d0 Merge. 2005-08-17 12:33:56 -08: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
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 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
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
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
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
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
kaf24@firebug.cl.cam.ac.uk ff3b0e5f48 This patch fixes "xm reboot" command.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
2005-08-11 22:18:27 +00:00