From: John Levon <levon@movementarian.org>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH] change dom0 headers path
Date: Thu, 20 Apr 2006 14:13:10 +0100 [thread overview]
Message-ID: <20060420131310.GC840@totally.trollied.org> (raw)
In-Reply-To: <f6b99d6b2ef717390f6ae100e1b87bf2@cl.cam.ac.uk>
On Thu, Apr 20, 2006 at 02:00:07PM +0100, Keir Fraser wrote:
> >Fairly obviously, we need to clean up the hard-coded "linux" names used
> >in includes. This is the first step in a number of changes around
> >letting dom0 build on something other than Linux.
> >
> >What are the plans for these headers when the Linux kernel lives in
> >some
> >place other than the xen tree itself? We'd like to be able to share the
> >structure definitions, but our ioctl values will differ from Linux's...
>
> I'd prefer an interfacing library (or libraries) that can target Linux
> interfaces, Sun interfaces, etc.
My understanding is that libxc *is* that library.
> Maybe this only needs to be done for evtchn interfaces. I would have
> hoped that libxenctrl and libxenguest would hide privcmd interfaces. I
> wonder why so many things include <linux/privcmd.h>?
Code is using ioctl() where it should be using a helper function. I
don't mind looking into cleaning these things up at some point, but it
doesn't seem critical right now. But we'd like to get a firm grasp on
header naming so we can deal with the unfortunate two-way dependency
these headers have between dom0 and dom0 userspace.
IOW, I agree with you, but I think the patch needs to go in regardless.
In particular, something like my patch will still be needed, even if
it's just private to tools/libxc/.
regards,
john
next prev parent reply other threads:[~2006-04-20 13:13 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-20 12:39 [PATCH] change dom0 headers path John Levon
2006-04-20 13:00 ` Keir Fraser
2006-04-20 13:13 ` John Levon [this message]
2006-04-20 13:36 ` Keir Fraser
2006-04-20 13:47 ` John Levon
2006-04-20 14:31 ` Keir Fraser
2006-04-20 14:40 ` John Levon
2006-04-20 14:48 ` Keir Fraser
2006-04-21 17:55 ` John Levon
2006-04-22 8:30 ` Keir Fraser
2006-04-20 13:55 ` Anthony Liguori
2006-04-20 14:09 ` Keir Fraser
2006-04-20 14:43 ` Anthony Liguori
2006-04-20 14:50 ` Keir Fraser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060420131310.GC840@totally.trollied.org \
--to=levon@movementarian.org \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.