* RE: xenstored.h
@ 2005-09-12 23:57 Magenheimer, Dan (HP Labs Fort Collins)
2005-09-13 0:07 ` xenstored.h Chris Wright
0 siblings, 1 reply; 4+ messages in thread
From: Magenheimer, Dan (HP Labs Fort Collins) @ 2005-09-12 23:57 UTC (permalink / raw)
To: Chris Wright; +Cc: xen-devel
> From: Chris Wright [mailto:chrisw@osdl.org]
> (dan.magenheimer@hp.com) wrote:
> > Now that xenstore is in the mainline and xenstored.h is
> > part of the API to xenlinux, should xenstored.h be
> > moved into xen/include/public instead of being
> > mkbuildtree'd from tools/xenstore to drivers/xen/xenbus?
>
> That's basically what my original patch did.
I'm not sure what "original patch" you mean. Is it
one that hasn't been applied yet, or has been applied very
recently?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: xenstored.h
2005-09-12 23:57 xenstored.h Magenheimer, Dan (HP Labs Fort Collins)
@ 2005-09-13 0:07 ` Chris Wright
2005-09-13 1:31 ` [PATCH] Put xenstored.h in linux-public include dir Chris Wright
0 siblings, 1 reply; 4+ messages in thread
From: Chris Wright @ 2005-09-13 0:07 UTC (permalink / raw)
To: Magenheimer, Dan (HP Labs Fort Collins); +Cc: Chris Wright, xen-devel
* Magenheimer, Dan (HP Labs Fort Collins) (dan.magenheimer@hp.com) wrote:
> > From: Chris Wright [mailto:chrisw@osdl.org]
> > (dan.magenheimer@hp.com) wrote:
> > > Now that xenstore is in the mainline and xenstored.h is
> > > part of the API to xenlinux, should xenstored.h be
> > > moved into xen/include/public instead of being
> > > mkbuildtree'd from tools/xenstore to drivers/xen/xenbus?
> >
> > That's basically what my original patch did.
>
> I'm not sure what "original patch" you mean. Is it
> one that hasn't been applied yet, or has been applied very
> recently?
One that got applied about a month ago, just edited from the original
to make it mkbuildtree'd to drivers/xen/xenbus rather than put in public
dir (I chose linux-public rather than xen-public as this is a userspace
interface not a hypervisor interface).
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] Put xenstored.h in linux-public include dir
2005-09-13 0:07 ` xenstored.h Chris Wright
@ 2005-09-13 1:31 ` Chris Wright
2005-09-13 8:36 ` Christian Limpach
0 siblings, 1 reply; 4+ messages in thread
From: Chris Wright @ 2005-09-13 1:31 UTC (permalink / raw)
To: Magenheimer, Dan (HP Labs Fort Collins); +Cc: Chris Wright, xen-devel
Dan, how does this one work for you?
Put xenstored.h in linux-public include dir.
Signed-off-by: Chris Wright <chrisw@osdl.org>
---
diff -r d8637529daff linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c
--- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c Mon Sep 12 21:42:26 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c Mon Sep 12 18:28:07 2005
@@ -37,12 +37,12 @@
#include <linux/wait.h>
#include <linux/fs.h>
-#include "xenstored.h"
#include "xenbus_comms.h"
#include <asm/uaccess.h>
#include <asm-xen/xenbus.h>
#include <asm-xen/xen_proc.h>
+#include <asm-xen/linux-public/xenstored.h>
struct xenbus_dev_data {
/* Are there bytes left to be read in this message? */
diff -r d8637529daff linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.c
--- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.c Mon Sep 12 21:42:26 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.c Mon Sep 12 18:28:07 2005
@@ -38,7 +38,7 @@
#include <linux/fcntl.h>
#include <linux/kthread.h>
#include <asm-xen/xenbus.h>
-#include "xenstored.h"
+#include <asm-xen/linux-public/xenstored.h>
#include "xenbus_comms.h"
#define streq(a, b) (strcmp((a), (b)) == 0)
diff -r d8637529daff linux-2.6-xen-sparse/mkbuildtree
--- a/linux-2.6-xen-sparse/mkbuildtree Mon Sep 12 21:42:26 2005
+++ b/linux-2.6-xen-sparse/mkbuildtree Mon Sep 12 18:28:07 2005
@@ -108,5 +108,5 @@
cd ${AD}/include/asm-xen/xen-public
relative_lndir ../../../${RS}/../xen/include/public
-cd ${AD}/drivers/xen/xenbus
+cd ${AD}/include/asm-xen/linux-public
ln -sf ../../../${RS}/../tools/xenstore/xenstored.h
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Put xenstored.h in linux-public include dir
2005-09-13 1:31 ` [PATCH] Put xenstored.h in linux-public include dir Chris Wright
@ 2005-09-13 8:36 ` Christian Limpach
0 siblings, 0 replies; 4+ messages in thread
From: Christian Limpach @ 2005-09-13 8:36 UTC (permalink / raw)
To: Chris Wright; +Cc: Magenheimer, Dan (HP Labs Fort Collins), xen-devel
Thanks!
On 9/13/05, Chris Wright <chrisw@osdl.org> wrote:
> Dan, how does this one work for you?
>
> Put xenstored.h in linux-public include dir.
>
> Signed-off-by: Chris Wright <chrisw@osdl.org>
> ---
>
> diff -r d8637529daff linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c
> --- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c Mon Sep 12 21:42:26 2005
> +++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c Mon Sep 12 18:28:07 2005
> @@ -37,12 +37,12 @@
> #include <linux/wait.h>
> #include <linux/fs.h>
>
> -#include "xenstored.h"
> #include "xenbus_comms.h"
>
> #include <asm/uaccess.h>
> #include <asm-xen/xenbus.h>
> #include <asm-xen/xen_proc.h>
> +#include <asm-xen/linux-public/xenstored.h>
>
> struct xenbus_dev_data {
> /* Are there bytes left to be read in this message? */
> diff -r d8637529daff linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.c
> --- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.c Mon Sep 12 21:42:26 2005
> +++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.c Mon Sep 12 18:28:07 2005
> @@ -38,7 +38,7 @@
> #include <linux/fcntl.h>
> #include <linux/kthread.h>
> #include <asm-xen/xenbus.h>
> -#include "xenstored.h"
> +#include <asm-xen/linux-public/xenstored.h>
> #include "xenbus_comms.h"
>
> #define streq(a, b) (strcmp((a), (b)) == 0)
> diff -r d8637529daff linux-2.6-xen-sparse/mkbuildtree
> --- a/linux-2.6-xen-sparse/mkbuildtree Mon Sep 12 21:42:26 2005
> +++ b/linux-2.6-xen-sparse/mkbuildtree Mon Sep 12 18:28:07 2005
> @@ -108,5 +108,5 @@
> cd ${AD}/include/asm-xen/xen-public
> relative_lndir ../../../${RS}/../xen/include/public
>
> -cd ${AD}/drivers/xen/xenbus
> +cd ${AD}/include/asm-xen/linux-public
> ln -sf ../../../${RS}/../tools/xenstore/xenstored.h
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-09-13 8:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-12 23:57 xenstored.h Magenheimer, Dan (HP Labs Fort Collins)
2005-09-13 0:07 ` xenstored.h Chris Wright
2005-09-13 1:31 ` [PATCH] Put xenstored.h in linux-public include dir Chris Wright
2005-09-13 8:36 ` Christian Limpach
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.