Commit Graph
658 Commits
Author SHA1 Message Date
cl349@firebug.cl.cam.ac.uk c3c71f3f6a g/c unused xu extension.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 18:37:55 +00:00
cl349@firebug.cl.cam.ac.uk 78552ee77c g/c unused control message code.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 18:28:04 +00:00
cl349@firebug.cl.cam.ac.uk 7a36d2e972 Remove control interface in kernels and domain builder.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 17:43:56 +00:00
cl349@firebug.cl.cam.ac.uk 940e39c97f Remove python virq code.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 14:19:05 +00:00
cl349@firebug.cl.cam.ac.uk 76c86a2924 Trigger domain cleanup on @releaseDomain watch-event instead of domain exc. virq.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 13:41:49 +00:00
cl349@firebug.cl.cam.ac.uk f3e44ec565 Fix and cleanup error handling.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 13:40:06 +00:00
cl349@firebug.cl.cam.ac.uk 796e1b0cdf Add copyright notice and g/c some unused code.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 12:49:52 +00:00
cl349@firebug.cl.cam.ac.uk f8812a7ea3 merge? 2005-09-07 12:48:11 +00:00
cl349@firebug.cl.cam.ac.uk b21329113b Add python bindings for watches.
Uses a watcher thread with per-watch registered callbacks.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 12:47:45 +00:00
cl349@firebug.cl.cam.ac.uk 1e14a86e33 Destroy domain before cleaning it up.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-06 18:14:31 +00:00
cl349@firebug.cl.cam.ac.uk b042c7d63f Update consoled to use xs_get_domain_path and cleanup domain tracking code.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-06 13:43:28 +00:00
cl349@firebug.cl.cam.ac.uk 1413c27297 Pass live flag as number, not "True"/"False".
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-05 14:48:44 +00:00
cl349@firebug.cl.cam.ac.uk 0c97488f1e Only remove domain from store once it's suspended.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-05 14:45:19 +00:00
cl349@firebug.cl.cam.ac.uk 3bc1edc4ab Update suspend/resume for new console code.
- translate console mfn to pfn
- unbind/bind console evtchn
- recover console mfn on restore
- trigger xenconsoled refresh after mfn is put in store
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-03 18:48:39 +00:00
shand@ubuntu.eng.hq.xensource.com 01d0370a52 Enable 'live' migration from a tools pov; prior to this the 'live' flag was
being ignored by xend/xc_linux_save.

Signed-off-by: Steven Hand <steven@xensource.com>
2005-09-02 17:36:29 -08:00
cl349@firebug.cl.cam.ac.uk 6cbdb04a29 merge? 2005-09-02 14:17:08 +00:00
cl349@firebug.cl.cam.ac.uk 074210e720 Restore configurability of vif bring up script and passing arguments to the script.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-02 14:15:49 +00:00
kaf24@firebug.cl.cam.ac.uk 607314f725 The attached patch makes xend clear the reboot request from the store
when rebooting a domain.  This prevents the lingering request from
being re-fulfilled, such as when executing a subsequent sysrq request.

Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-09-02 07:53:46 +00:00
cl349@firebug.cl.cam.ac.uk 8f9701718f Fix closing of /var/log/xend.log fd
Fix the problem where /var/log/xend.log was getting closed and then
/var/log/xend-debug was getting all the spam about the fd being closed
in the logging stuff.

Basically what was happening is that the main thread wasn't sticking
around and during its exit, the atexit handlers of the python logging
stuff got called closing the log fd.

Patch makes it so that we instead wait on the real server threads to
exit before shutting things down.

Signed-off-by: Jeremy Katz <katzj@redhat.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-01 10:26:17 +00:00
cl349@firebug.cl.cam.ac.uk f3b2046b07 merge? 2005-09-01 10:16:14 +00:00
cl349@firebug.cl.cam.ac.uk 399f4f8647 Cleanup domain listing.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-01 10:08:53 +00:00
cl349@firebug.cl.cam.ac.uk 876087a864 Fix xm list for when info is requested for individual domains.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-01 09:57:20 +00:00
shand@ubuntu.eng.hq.xensource.com 19d427f223 merge? 2005-08-31 15:22:45 -08:00
vh249@arcadians.cl.cam.ac.uk 251e6d181b extends xm info with xen version and various others information.
exports version hypercall to userspace

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-08-31 10:39:53 +00:00
kaf24@firebug.cl.cam.ac.uk 4955f329c8 merge? 2005-08-31 08:27:34 +00:00
adsharma@los-vmm.sc.intel.com a8211ec86e Merge. 2005-08-30 13:36:49 -07:00
cl349@firebug.cl.cam.ac.uk a4c07d4f6d Don't clear console entries.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-30 19:47:39 +00:00
shand@ubuntu.eng.hq.xensource.com d22746ede9 Provide xend support for setting up TPM front- and back-end interfaces.
Signed-off-by: Steven Hand <steven@xensource.com> 
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2005-08-30 11:28:26 -08:00
cl349@firebug.cl.cam.ac.uk 14329d584a New console transport and update xenconsoled.
Add a new console interface using a seperate shared page and event channel
instead of passing the console input/output over control messages.
Update xenconsoled to use the new console interface.
Make xenconsoled garbage collect dying domains by subscribing to
the domain exception virq.
Signed-off-by: Robert Read <robert@xensource.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-30 16:14:53 +00:00
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