Commit Graph
679 Commits
Author SHA1 Message Date
ewan@linford.intra e4eb0b4cde Added .PHONY target so that make works from the tools/python directory (it was seeing the build directory and therefore doing nothing). 2005-09-13 14:43:18 +01:00
ewan@linford.intra b7d4a69f0c "Added." 2005-09-11 21:40:15 +01:00
shand@ubuntu.eng.hq.xensource.com b1f3138ed7 Fix xm info handling of empty strings (fix bugzilla bug #216)
Signed-off-by: Steven Hand <steven@xensource.com>
2005-09-09 15:11:18 -08:00
cl349@firebug.cl.cam.ac.uk 288f60bb0b merge? 2005-09-09 17:40:39 +00:00
cl349@firebug.cl.cam.ac.uk c51551e9e9 Make vif cleanup use xstransact and use classmethods for setup.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-09 17:36:39 +00:00
cl349@firebug.cl.cam.ac.uk f27cc5f7c7 Add remove and list support. Also make all class methods "safe".
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-09 17:34:40 +00:00
cl349@firebug.cl.cam.ac.uk 765866597e Only retry transactions which fail from timeout.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-09 17:03:34 +00:00
kaf24@firebug.cl.cam.ac.uk 4e7e00649a cleanups 2005-09-09 16:17:17 +00:00
cl349@firebug.cl.cam.ac.uk 31f9bdd799 Setup network devices in xenstore using xstransact.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-09 16:08:17 +00:00
cl349@firebug.cl.cam.ac.uk 64f36ac6d0 Remove dependency between domain db and path/uuid.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-09 16:07:26 +00:00
cl349@firebug.cl.cam.ac.uk 9763103317 Always start transactions on an existing path.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-09 16:06:04 +00:00
iap10@freefall.cl.cam.ac.uk 45c67ab505 Add more version and capability reporting to Xen. Print the results with 'xm info'.
Signed-off-by: ian@xensource.com
2005-09-09 15:33:32 +00:00
cl349@firebug.cl.cam.ac.uk e295af6f75 Add simple transactional read/write python xenstore interface.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-09 13:20:51 +00:00
cl349@firebug.cl.cam.ac.uk 040768faf3 Make error reporting consistent.
Also note addition of Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS
which slipped in in previous merge changeset:  allow other threads
to run during communication with xenstored.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-09 13:08:25 +00:00
cl349@firebug.cl.cam.ac.uk 4ebbde31e7 merge? 2005-09-09 10:20:25 +00:00
iap10@firebug.cl.cam.ac.uk 9ead829c58 Bug fix on x86_64 increase_reservation
Signed-off-by: ian@xensource.com
2005-09-08 20:39:58 +00:00
iap10@freefall.cl.cam.ac.uk cab0ef71c3 Improved "PGDs must be under 4GB" handling for PAE.
Signed-off-by: ian@xensource.com
2005-09-08 17:36:23 +00:00
iap10@freefall.cl.cam.ac.uk 8b1b30d3cb Give each domain some memory below 4GB. This solves the "PGD's must be below 4GB" for the initial page tables. I'm not sure we'll stick with this approach, but this is good enough for the time being.
PAE should be a *lot* more robust on systems that actually have more than 4GB thanks to all the various patches that went in today. I find it astounding that it ever appeared to work at all!

Signed-off-by: ian@xensource.com
2005-09-08 01:07:15 +00:00
cl349@firebug.cl.cam.ac.uk 4fa3210b97 Move console tty/limit information into console directory in domain dir.
Also only store port number of console event channel.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 21:24:34 +00:00
cl349@firebug.cl.cam.ac.uk 405cabc251 Disable device info getting written to store when xend restarts.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 21:15:41 +00:00
cl349@firebug.cl.cam.ac.uk d5eb7ececf Disable sync dbmap saves -- they remove nodes added by other tools.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-07 21:13:46 +00:00
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