From ca068fad60804e3ea329c88e05958d83f68cdb24 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Thu, 27 Oct 2005 17:43:29 +0100 Subject: I've created a patch to get the mini-os to compile in Xen-unstable. The patch is pretty big, but this is mostly because I've replaced hypervisor.h with the hypercalls.h header file from Linux (which seems easier to maintain anyway). I've ignored X86_64. Signed-off-by: Simon Kagstrom --- extras/mini-os/xenbus/xenbus_xs.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'extras/mini-os/xenbus') diff --git a/extras/mini-os/xenbus/xenbus_xs.c b/extras/mini-os/xenbus/xenbus_xs.c index 8a6348ab89..355133b5e6 100644 --- a/extras/mini-os/xenbus/xenbus_xs.c +++ b/extras/mini-os/xenbus/xenbus_xs.c @@ -39,7 +39,7 @@ #include #include #include -#include "xenstored.h" +#include #include "xenbus_comms.h" #define streq(a, b) (strcmp((a), (b)) == 0) @@ -408,7 +408,12 @@ static char *xs_read_watch(char **token) static int xs_acknowledge_watch(const char *token) { +#if 0 return xs_error(xs_single(XS_WATCH_ACK, token, NULL)); +#else + /* XS_WATCH_ACK is no longer available */ + return 0; +#endif } static int xs_unwatch(const char *path, const char *token) -- cgit v1.2.3