cl349@firebug.cl.cam.ac.uk
a3dd96110a
Fix setStoreChannel(None) - fixes cleanup on destroy.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-16 18:05:03 +00:00
cl349@firebug.cl.cam.ac.uk
e6dd08d983
Simplify backend flag parsing.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-15 19:46:14 +00:00
cl349@firebug.cl.cam.ac.uk
5d7ce7cc39
Export block device read-only state into store.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-15 18:39:17 +00:00
cl349@firebug.cl.cam.ac.uk
7bf7e25879
Fix bootloader support some more.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-15 18:38:44 +00:00
cl349@firebug.cl.cam.ac.uk
8638ed8980
Maybe fix running bootloader after reboot.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-15 17:19:08 +00:00
cl349@firebug.cl.cam.ac.uk
69c01cf908
merge?
2005-09-15 16:55:32 +00:00
cl349@firebug.cl.cam.ac.uk
5d2ca06d84
Update image handling code for xstransact.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-15 16:55:05 +00:00
shand@ubuntu.eng.hq.xensource.com
e999e0f1ae
Actually update domain info when dom_get() succeeds.
...
Signed-off-by: Steven Hand <steven@xensource.com >
2005-09-15 08:15:48 -08:00
vh249@arcadians.cl.cam.ac.uk
1e2fc48ada
add support for ipv6 address in choose_vnc_display function
...
getting the port from the latest field, not the first one.
fix suggested by Nickolai Zeldovich. close bug #231
Signed-off-by: Vincent Hanquez <vincent@xensource.com >
2005-09-15 12:21:23 +00:00
cl349@firebug.cl.cam.ac.uk
c4bc27e939
Don't special case getDomainMemory for ia64.
...
This makes how we account the "system pages" consistent.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-15 09:21:10 +00:00
cl349@firebug.cl.cam.ac.uk
8db030c862
Cleanup timeout code for when socket is already in use.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-15 08:59:35 +00:00
kaf24@firebug.cl.cam.ac.uk
2ba4b43df9
merge?
2005-09-15 07:38:53 +00:00
shand@ubuntu.eng.hq.xensource.com
7de330334a
Deal with domain info going away (handle new error path introduced by
...
cset 6828). Believe Dan Smith is working up a more comprehensive patch.
Signed-off-by: Steven Hand <steven@xensource.com >
2005-09-14 20:12:54 -08:00
shand@ubuntu.eng.hq.xensource.com
e739a4d453
O_REUSEADDR is not enough to ensure we don't get address in use errors when
...
xend dies from a signal.
We implement a 30 second time to ensure we don't fail if we don't have to.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com >
2005-09-14 17:46:40 -08:00
shand@ubuntu.eng.hq.xensource.com
590d9c58a1
Make sure xend start doesn't return until xend is ready to accept connections.
...
This means xend start && xm list actually works now (instead of throwing an
exception).
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com >
2005-09-14 17:45:51 -08:00
shand@ubuntu.eng.hq.xensource.com
b22d5eebe3
The dom destroy path is doing a dom_get on a non-existent domain to
...
ensure it is non-existent. This changes throws an explicit exception
when xc_domain_getinfo returns an error, instead of triggering an
internal python error. It then handles the exception in dom_get by
returning None, which callers already expect to mean failure.
Signed-off-by: Robert Read <robert@xensource.com >
2005-09-14 14:36:29 -08:00
djm@kirby.fc.hp.com
6be63db55d
Merge latest xen-unstable into xen-ia64-unstable to prep
...
for push back to xen-unstable
2005-09-14 15:36:10 -06:00
cl349@firebug.cl.cam.ac.uk
28a6a6b4c5
Switch most uses of write over to store.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-14 19:53:29 +00:00
cl349@firebug.cl.cam.ac.uk
eae219de6f
Explicit test for None.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-14 19:52:04 +00:00
cl349@firebug.cl.cam.ac.uk
7c3dc1de84
More syntactic sugar.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-14 19:34:13 +00:00
cl349@firebug.cl.cam.ac.uk
569f9c8878
Move start_time out of xend dir and use gather/store.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-14 19:30:08 +00:00
cl349@firebug.cl.cam.ac.uk
413f5b924c
Support removing nodes from store if value to store is None.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-14 19:29:25 +00:00
cl349@firebug.cl.cam.ac.uk
e995abd494
Add store function.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-14 19:22:31 +00:00
cl349@firebug.cl.cam.ac.uk
8410fdf499
Always allow transaction abort.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-14 19:17:22 +00:00
cl349@firebug.cl.cam.ac.uk
967d7a84e5
Add gather function and robustify class methods' failure handling.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-14 18:24:25 +00:00
cl349@firebug.cl.cam.ac.uk
ca899c5e1e
Rename xm commands and cleanup of the "bogus" argument code.
...
For the "bogus" argument code, avoid changing the argument list so
that errors can be reported consistently.
Signed-off-by: Dan Smith <danms@us.ibm.com >
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-14 17:06:25 +00:00
cl349@firebug.cl.cam.ac.uk
9740bf13a7
Add methods to read/write Vm/Domain store entries.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-14 15:47:48 +00:00
cl349@firebug.cl.cam.ac.uk
acfc3f80c0
Move name back into main domain dir.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-14 15:25:28 +00:00
cl349@firebug.cl.cam.ac.uk
005cfd74fc
Move id back into main domain dir and rename to domid.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-14 15:10:22 +00:00
cl349@firebug.cl.cam.ac.uk
87cf0c7b0a
Move uuid back into main domain dir.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-14 13:37:03 +00:00
cl349@firebug.cl.cam.ac.uk
714ecf5c5b
Call dominfo.device_delete instead of non-existant dominfo.device_destroy.
...
Signed-off-by: Sean Dague <sean@dague.net >
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-14 12:49:13 +00:00
cl349@firebug.cl.cam.ac.uk
ab4b7e8e65
Don't return failure when trying to delete a non-existent node.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-13 21:52:24 +00:00
cl349@firebug.cl.cam.ac.uk
1adef4288b
Don't fail readDB on empty dirs.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-13 21:00:13 +00:00
cl349@firebug.cl.cam.ac.uk
52ae2445d4
Switch shutdown and sysrq to xstransact.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-09-13 20:54:41 +00:00
djm@kirby.fc.hp.com
13bad8113d
Catchup with xen-unstable, add ia64 specifics to tools, and some VTI merge
...
Signed-off-by Kevin Tian <Kevin.tian@intel.com >
2005-09-13 13:42:33 -06:00
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