Commit Graph
3501 Commits
Author SHA1 Message Date
cl349@firebug.cl.cam.ac.uk a2cacdde16 Switch memory target handling to use xstransact.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-13 17:49:38 +00:00
cl349@firebug.cl.cam.ac.uk 68370e7afb g/c introduceDomain and releaseDomain bindings in xsnode and xsobj.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-13 17:32:59 +00:00
cl349@firebug.cl.cam.ac.uk 8fabb88101 Switch vcpu hotplugging to use xstransact.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-13 17:31:13 +00:00
cl349@firebug.cl.cam.ac.uk d0b30dab40 Fix domain list build/cleanup code with xend subdirectory.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-13 16:57:45 +00:00
cl349@firebug.cl.cam.ac.uk 366ca1710b IntroduceDomain of dom0 can fail when it's already connected.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-13 16:56:02 +00:00
cl349@firebug.cl.cam.ac.uk ab283d0519 Fix error handling code paths.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-13 16:55:21 +00:00
cl349@firebug.cl.cam.ac.uk 235a106a4d merge? 2005-09-13 15:48:19 +00:00
cl349@firebug.cl.cam.ac.uk 232f9bd51e merge? 2005-09-13 15:46:49 +00:00
emellor@ewan eac7c24115 Fix imports.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-09-13 16:44:48 +01:00
cl349@firebug.cl.cam.ac.uk 7a1d906c42 merge? 2005-09-13 15:33:37 +00:00
cl349@firebug.cl.cam.ac.uk 38d5e48a2a Store dom0 store ring-ref in store.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-13 15:32:38 +00:00
cl349@firebug.cl.cam.ac.uk 00ace40244 Switch to IntroduceDomain, move xend info into xend subdirectory in store.
Also switch store/console event channel and page reference store
entries over to xstransact.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-13 15:21:53 +00:00
cl349@firebug.cl.cam.ac.uk 0f3e2f8397 Move xshandle to xsutil.py, add IntroduceDomain, fix list to handle empty/non-existant directories and fix Remove.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-13 15:19:39 +00:00
cl349@firebug.cl.cam.ac.uk 27cdd701cf merge? 2005-09-13 15:05:49 +00:00
cl349@firebug.cl.cam.ac.uk 8e04472036 Change read and list to return None if key/dir doesn't exist.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-13 14:45:34 +00:00
ewan@linford.intra c0bff953ee Added isDevControllerClass so that XendDomainInfo does not need to store the same information internally. This may soon go, depending on how useful controller.py turns out to be. 2005-09-13 14:49:37 +01:00
ewan@linford.intra 5487f5762e Removed {add,get}_{config,device}_handler in favour of using a simple dictionary directly. Fix a misnamed variable blconfig that was supposed to refer to blcfg. This showed up under pylint as a undefined variable, but would have manifested itself in the bootloader configuration being ignored. 2005-09-13 14:48:22 +01:00
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
cl349@firebug.cl.cam.ac.uk 79b6a582e9 Switch vtpm device setup/teardown over to xstransact.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-12 19:59:40 +00:00
cl349@firebug.cl.cam.ac.uk d880fc6ac1 Switch block device setup/teardown over to xstransact.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-12 19:55:57 +00:00
cl349@firebug.cl.cam.ac.uk ce38a72dc5 Remove debug output.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-12 19:49:59 +00:00
cl349@firebug.cl.cam.ac.uk eccd1bf398 Move block device bind/unbind into hotplug scripts.
Fixes file: devices since unbind now runs after the backend driver
closes the loopback device.
Also moves name -> node translation into the backend domain.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-12 19:49:03 +00:00
ewan@linford.intra b7d4a69f0c "Added." 2005-09-11 21:40:15 +01:00
vh249@arcadians.cl.cam.ac.uk e3683d26f5 fix ballooning out logic to handle dying domain freeing memory.
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-09-10 14:43:46 +00: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