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:47:40 +0100 [thread overview]
Message-ID: <20060420134740.GA1887@totally.trollied.org> (raw)
In-Reply-To: <2bebc381f42c49f9a65d5016fcf0ca71@cl.cam.ac.uk>
On Thu, Apr 20, 2006 at 02:36:57PM +0100, Keir Fraser wrote:
> >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/.
>
> I'd have a solaris header subdirectory in addition to the linux one.
> The interfaces may not necessarily stay very similar.
That's exactly what the patch as-is allows for: libxc/xen/dom0/ is only
created on Linux. If you'd prefer me to always create libxc/xen/linux/,
then make a dom0/ symlink point at it, that's fine, but it's kind of
pointless since it wouldn't get used on non-Linux anyway. It was also
one reason I was asking about plans for when linux sparse tree doesn't
exist.
Or maybe I've got the wrong end of the stick; what are you proposing?
Note that I'm not at all sure that it makes sense to have the Solaris
headers in there in xensource's tree as Xen and the kernel have such
different distribution mechanisms.
What we'd /really/ like to have, in order to maximise the shared code,
is a permanent file in libxc/dom0/ containing the structures, which
includes a kernel-specific header for the actual ioctl defines, and any
future kernel-specific bits.
regards,
john
next prev parent reply other threads:[~2006-04-20 13:47 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
2006-04-20 13:36 ` Keir Fraser
2006-04-20 13:47 ` John Levon [this message]
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=20060420134740.GA1887@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.