Commit Graph
6867 Commits
Author SHA1 Message Date
cl349@firebug.cl.cam.ac.uk 26f7bcf1d3 Fix build!
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-15 08:56:13 +00:00
kaf24@firebug.cl.cam.ac.uk 25c03baf35 Remove bad lines from start od script. 2005-09-15 07:45:06 +00:00
kaf24@firebug.cl.cam.ac.uk 2ba4b43df9 merge? 2005-09-15 07:38:53 +00:00
kaf24@firebug.cl.cam.ac.uk e81e11f6c5 More build fixes for latest binutils. No 'movl' between
a segment register and memory location.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-15 07:21:31 +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 0def3b0e7f Disable CONFIG_PNPACPI temporarily in the -xen defconfig (it's known not to
work, causing dom0 to fail to boot - see bugzilla for more details). 

Signed-off-by: Robert Read <robert@xensource.com> 
Signed-off-by: Steven Hand <steven@xensource.com>
2005-09-14 17:07:33 -08:00
djm@kirby.fc.hp.com b5a18370a6 Oops, one hypervisor.h change seems to have unfixed in the merge 2005-09-14 18:00:23 -06:00
djm@kirby.fc.hp.com f84c209190 Add missing include/decl to ia64-specific hypervisor.h 2005-09-14 17:01:42 -06: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 fd55d8ff15 Add ia64-specific hypervisor.h 2005-09-14 15:45:30 -06: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
djm@kirby.fc.hp.com 5b59c8de0c Add needed header files that are buried/nested in x86 2005-09-14 15:33:52 -06:00
djm@kirby.fc.hp.com b4ed0f6718 Merge latest xen-unstable into xen-ia64-unstable 2005-09-14 15:26:35 -06:00
kaf24@firebug.cl.cam.ac.uk 95b767d8e1 Remove redundant semi-colon from end of DEFINE_RING_TYPES
macro.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-14 20:45:40 +00:00
cl349@firebug.cl.cam.ac.uk 0d5b2293d2 merge? 2005-09-14 19:59:15 +00: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
kaf24@firebug.cl.cam.ac.uk 75b237d3ae Fix mmapping of PCI resources from userspace.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-14 17:54:43 +00:00
cl349@firebug.cl.cam.ac.uk 6d496fed5e merge? 2005-09-14 17:06:37 +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
kaf24@firebug.cl.cam.ac.uk 134ef9dc4a Fix xc_make_page_below_4G(). Should fix PAE domain
building on >= 4GB systems.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-14 16:56:05 +00:00
kaf24@firebug.cl.cam.ac.uk 7d4d9ab1dd During my attempts to get the latest bridge networking model working on my
system, I often invoked 'network-bridge stop' with total failure.  Attached 
is an updated version that works.

Signed-off-by: Andrew Theurer <habanero@us.ibm.com>
2005-09-14 16:49:23 +00:00
kaf24@firebug.cl.cam.ac.uk ae4ef259f1 Fix xc_domain_memory_decrease_reservation().
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-14 15:56:06 +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 55e3bdbe99 merge? 2005-09-14 14:43:34 +00:00
kaf24@firebug.cl.cam.ac.uk 3507a34d2b Set NE bit for VMX guest CR0. VMCS guest CR0.NE bit must
be set, else it will cause "vm-entry failed".

Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
2005-09-14 13:37:50 +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
kaf24@firebug.cl.cam.ac.uk 458fb4bc12 Add some sanity check when creating 3-level 1:1 page table
in VMX domain builder.
 - Add check for empty l2e page entry.
 - Add check for failed vl1tab map.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Asit Mallick <asit.k.mallick@intel.com>
2005-09-14 13:34:14 +00:00
kaf24@firebug.cl.cam.ac.uk 64d0d8fd51 Clear pending interrupt on shared page when pic initialized
and irq base changed.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
2005-09-14 13:28:45 +00:00
kaf24@firebug.cl.cam.ac.uk 79434e94bd Get rid of anonymous unions in public header files.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-14 13:13:10 +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
kaf24@firebug.cl.cam.ac.uk 3886819443 Remove unsued domain_controller.h file.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-14 10:58:00 +00:00
kaf24@firebug.cl.cam.ac.uk fbfc015c2a Fix 64-bit build problem. Not allowed to movl between a
segment register and a memory location.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-14 09:20:21 +00:00
kaf24@firebug.cl.cam.ac.uk e1517da4cd Move hypervisor.h to asm-i386/asm-x86_64.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-14 09:17:44 +00:00
kaf24@firebug.cl.cam.ac.uk d356ca1e93 mem-map.sxp and vmxloader are unaffected by a 64-bit build,
and belong in /usr/lib always (never /usr/lib64). qemu-dm
continues to live under /usr/lib64 on 64-bit systems.
Modify the vmx config script to auto-detect correct path
to qemu-dm, rather than staically configuring at compile
time.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-14 09:14:32 +00:00
cl349@firebug.cl.cam.ac.uk 2c0ba8d075 Fix xenstored watch crash.
When a connection blocked waiting on a transaction, don't queue watch events.
Sure, they'd be ignored and re-transmitted, but it hits an assert that we don't
send data out blocked connections, and it's wasteful.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (authored)
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-14 08:41:49 +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 49917db5e9 Perform xenbus operations in shutdown_handler in a transaction.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-13 21:29:28 +00:00
cl349@firebug.cl.cam.ac.uk 5333aa48f3 Don't cause watch fire deadlock by unconditionally rewriting the sysrq node.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-13 21:24:03 +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