All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jacob Gorm Hansen <jacobg@diku.dk>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: xen-devel <xen-devel@lists.sourceforge.net>
Subject: Re: [PATCH] libxen-3.0 (libxc rewrite)
Date: Mon, 21 Mar 2005 19:33:42 -0800	[thread overview]
Message-ID: <423F9216.6040806@diku.dk> (raw)
In-Reply-To: <423F3BB5.3020600@us.ibm.com>

Anthony Liguori wrote:

> Hi all,
> 
> I've been doing a lot of work on libxc.  I've got it to the point that 
> I'm ready to share.  Below are the major changes.  Feedback is greatly 
> appreciated, especially with respect to things that would be required 
> for it to be integrated into the xen-unstable tree.
> 
> o Rename libxc => libxen

Is there any good reason for this? Will this include renaming all the 
xc_* symbols as well? This will break a lot of code in a lot of places, 
so I think the motivation needs to be more than just feel-good value.

> o Use pkg-config to control versioning and parallel installs

Don't know what that is or why I need it, but I suppose that means yet 
another dependency added. I am against adding dependencies. Used to be I 
could just untar xen and type make, now I need to install most of 
f*cking Gnome, that horrible Twisted-library and I don't know what, I 
think we are headed in the wrong direction with all this. This is a 
kernel-level project, not Freshmeat Greatest.

> o Use autoconf to detect dependencies, provide separate build directory, 
> cross-compile

I like having a separate build-directory, I still think at non-broken 
build tool (i.e. not make) could have done the job and done it better. 
The whole .d or .deps approach (pollution of source or build-tree with a 
static version of information that could and should be determined at 
run-time) is a gross hack, even MS Visual Studio can do better.

Here is my (a little out of date) Jamfile for libxc btw:

-----------------
SubDir TOP tools libxc  ;
SubDirHdrs $(TOP) tools libxutil ;

Library libxc :
xc_atropos.c
xc_bvtsched.c
xc_domain.c
xc_evtchn.c
xc_io.c
xc_linux_build.c
xc_linux_restore.c
xc_linux_save.c
xc_misc.c
xc_physdev.c
xc_plan9_build.c
xc_private.c
xc_rrobin.c
;
------------------

> o Use doxygen to autogenerate HTML documentation

Will this be optional, or part of the standard build process? Will the 
comments still be human-readable? If find the code and comments in libxc 
fairly easy to read and understand inline, isn't doxygen overkill for 
this small amount of code? Will I be able to build xen and libxc without 
installing doxygen on my system?

> o Organize hypercalls by groups in separate headers (dom.h, evtchn.h, 
> etc.).
> o Provide consistent error semantics for all functions (-errno is 
> returned on error).

Fine with me.

> o Use pyrex to autogenerate python bindings

If it reduces the code size I guess it makes sense, hopefully I will 
still be able to compile the raw library without compiling the bindings, 
and without having pyrex installed? Please also consider that sometimes 
I and others need to build (not run, obviously) this stuff on boxes 
where we do not have root-access, and the more stuff that needs to be 
installed, the less likely this is to work.  This is not a contrived 
example, when I visited Cambridge (yes, the home of Xen) last year, I 
was doing Xen-development from a regular user account, without having 
root-access.

I still like vm-tools though :-)

Best regards,
Jacob


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

  reply	other threads:[~2005-03-22  3:33 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-21 21:25 [PATCH] libxen-3.0 (libxc rewrite) Anthony Liguori
2005-03-22  3:33 ` Jacob Gorm Hansen [this message]
2005-03-22  4:24   ` Anthony Liguori
2005-03-22 19:28   ` Adam Heath
2005-03-22 20:12     ` Jacob Gorm Hansen
2005-03-22 11:02 ` Christian Limpach
2005-03-22 15:04   ` Anthony Liguori
2005-03-22 16:01     ` Christian Limpach
2005-03-22 16:06       ` Anthony Liguori
2005-03-22 16:13         ` Christian Limpach
2005-03-22 16:21           ` Anthony Liguori
2005-03-22 16:41             ` Christian Limpach
2005-03-22 17:05               ` Anthony Liguori
2005-03-22 17:28                 ` Keir Fraser
2005-03-22 17:32                 ` Ronald G. Minnich
2005-03-22 17:47                 ` Christian Limpach
2005-03-22 17:53                   ` Anthony Liguori
2005-03-22 13:50 ` Keir Fraser
2005-03-22 15:16   ` Anthony Liguori
  -- strict thread matches above, loose matches on Subject: below --
2005-03-22  9:01 Ian Pratt
2005-03-22 15:03 ` Anthony Liguori
     [not found]   ` <1111504492.20157.26.camel@bree.local.net>
2005-03-22 15:18     ` Anthony Liguori
2005-03-22 15:31       ` Jeremy Katz
2005-03-22 15:55         ` Anthony Liguori
2005-03-22 16:25           ` Jeremy Katz
2005-03-22 21:58             ` Jeremy Katz
2005-03-22 22:18               ` Anthony Liguori
2005-03-22 15:13 Ian Pratt
2005-03-22 16:00 Ian Pratt
2005-03-22 16:13 ` Anthony Liguori
2005-03-22 16:29   ` Nivedita Singhvi
2005-03-22 16:34     ` Anthony Liguori
2005-03-22 16:39       ` Steven Hand
2005-03-22 16:25 Ian Pratt
2005-03-22 17:21 Ian Pratt
2005-03-22 17:31 ` Anthony Liguori

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=423F9216.6040806@diku.dk \
    --to=jacobg@diku.dk \
    --cc=aliguori@us.ibm.com \
    --cc=xen-devel@lists.sourceforge.net \
    /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.