From: Ian Campbell <Ian.Campbell@citrix.com>
To: Shriram Rajagopalan <rshriram@cs.ubc.ca>
Cc: Brendan Cully <brendan@cs.ubc.ca>,
xen-devel <xen-devel@lists.xensource.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>,
Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Subject: Re: RFC: Still TODO for 4.2?
Date: Thu, 19 Jan 2012 21:10:24 +0000 [thread overview]
Message-ID: <1327007424.21391.14.camel@dagon.hellion.org.uk> (raw)
In-Reply-To: <146BC0DC-6B03-4339-8172-A7C181E1AD06@cs.ubc.ca>
On Thu, 2012-01-19 at 19:00 +0000, Shriram Rajagopalan wrote:
> On 2012-01-19, at 9:46 AM, Ian Campbell <Ian.Campbell@citrix.com> wrote:
>
> > On Thu, 2012-01-19 at 17:35 +0000, Shriram Rajagopalan wrote:
> >>
> >>
> >> I do have a set of initial patches for xl remus. Since the "script="
> >> support doesnt exist for disk configurations (required to support both
> >> DRBD and tapdisk backends).
> >>
> >> So, currently I only have memory checkpointing functionality. No disk
> >> buffering.
> >> Will submit it in a day or so.
> >>
> >> About network buffering:
> >> a. There is code to install and manipulate the network buffer via
> >> netlink messages. And its in python. While the "xl remus" control flow
> >> starts off from C. Either I implement the C equivalent
> >> of the python code or call the python code from C (this is C->python
> >> and not the other way around). Please correct me if I am wrong.
> >
> > Wrong about what?
> >
> > I don't think calling Python from C in libxl is a good idea. Forking a
> > process would be better but best would be to just implement the C
> > version. Is there a libnetlink which can help with this sort of thing?
> >
>
> There is. And it's in the tools tree (tools/python/xen/lowlevel/netlink/)
I meant an existing generic netlink library, not something specific to
the Xen python bindings.
Debian has libnl{1,2,3} pacakges in it -- why not use them?
There is no reason why this sort of generic library should be in the Xen
tree. (lets be honest, there's no reason why the python bindings to such
a library should be in Xen either)
> Just that it's bit cryptic and the netlink.py module makes things easy.
Calling into python from libxl is not acceptable.
> >> b. The kernel module (sch_plug): Last I knew, the network
> >> buffering module (sch_plug) was in the pvops tree (2.6.* series). When
> >> the tree moved to 3.0 series, it got axed off.
> >
> > My understanding was that a competing module with similar/equivalent
> > functionality was the one which eventually made it upstream (I don't
> > know the names). Unfortunately this probably means that Remus needs to
> > switch over to the upstreamed thing.
> >
>
> I don't think so. When I submitted the patch for sch_plug to netdev,
> nobody (even the qdisc maintainer) mentioned anything about an
> equivalent module.
I must have been mistaken then. Why is your module not upstream?
> > There is no "Xen Linux tree" like there used to be and we wouldn't want
> > to carry a module which isn't ready for upstream in any case. (Your
> > module wasn't axed, it just wasn't/isn't upstream).
> >
> >> While I am still, convincing the netdev folks into accepting this
> >> module upstream, I have a link in the remus wiki, asking people to
> >> download/compile the module. (People do this only after shooting a
> >> couple of "Remus is not working" emails to the mailing list)
> >
> > You can't detect this at runtime and print an error message? Do you not
> > get ENOSYS or something when you try and use the module?
>
> I do. And the emails are despite that.
It sounds like there would be no helping these people.
> >> As an alternative, I could pull it into the tools/remus/ folder (just
> >> like the way it used to be before the pvops kernels) and compile it as
> >> part of the tools compilation process.
> >
> > The build doesn't include building a kernel any more so I don't think
> > this will work.
>
>
> But can we at least include the source, make file and a readme telling
> people to install the required packages needed to compile a module.
We are trying to get out of the business of bundling every bit of
infrastructure which someone happens to want to use with Xen in the Xen
source repository, so, no, I don't think we can/should include the
source to this Linux kernel module in the Xen tree.
You could perhaps add a README or some Remus documentation directing
people to an external tarball with the module in it, but from what you
say above it doesn't sound like that will help very much (and neither
would having that tarball in the tree).
Of course the right solution is to get your module merged upstream.
Ian.
next prev parent reply other threads:[~2012-01-19 21:10 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-17 9:09 RFC: Still TODO for 4.2? Jan Beulich
2012-01-19 16:35 ` Jan Beulich
2012-01-19 17:35 ` Shriram Rajagopalan
2012-01-19 17:46 ` Ian Campbell
2012-01-19 19:00 ` Shriram Rajagopalan
2012-01-19 20:42 ` Konrad Rzeszutek Wilk
2012-01-19 21:25 ` Shriram Rajagopalan
2012-01-19 21:10 ` Ian Campbell [this message]
2012-01-19 21:30 ` Shriram Rajagopalan
2012-01-19 21:39 ` Ian Campbell
[not found] <mailman.456.1326725042.1471.xen-devel@lists.xensource.com>
2012-01-16 15:12 ` Andres Lagar-Cavilla
-- strict thread matches above, loose matches on Subject: below --
2012-01-04 16:29 Ian Campbell
2012-01-04 16:47 ` Konrad Rzeszutek Wilk
2012-01-04 16:51 ` Stefano Stabellini
2012-01-16 13:42 ` Ian Campbell
2012-01-04 16:55 ` Jan Beulich
2012-01-16 13:39 ` Ian Campbell
2012-01-16 14:48 ` Jan Beulich
2012-01-16 15:00 ` Stefano Stabellini
2012-01-04 17:25 ` Pasi Kärkkäinen
2012-01-04 17:36 ` George Dunlap
2012-01-04 18:20 ` Tim Deegan
2012-01-05 10:39 ` Ian Campbell
2012-01-04 19:21 ` Wei Huang
2012-01-04 19:43 ` Pasi Kärkkäinen
2012-01-04 19:57 ` Wei Huang
2012-01-05 7:27 ` Pasi Kärkkäinen
2012-01-06 15:37 ` Konrad Rzeszutek Wilk
2012-01-06 19:08 ` Wei Huang
2012-02-06 17:57 ` Pasi Kärkkäinen
2012-01-05 13:19 ` Re : " David TECHER
2012-01-05 13:25 ` Ian Campbell
2012-01-05 13:41 ` Re : " David TECHER
2012-01-05 16:18 ` Ian Campbell
2012-01-16 13:28 ` Ian Campbell
2012-01-04 17:39 ` Roger Pau Monné
2012-01-05 17:49 ` Ian Jackson
2012-01-06 13:37 ` Ian Campbell
2012-01-10 16:06 ` Ian Jackson
2012-01-16 11:55 ` George Dunlap
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=1327007424.21391.14.camel@dagon.hellion.org.uk \
--to=ian.campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=Stefano.Stabellini@eu.citrix.com \
--cc=brendan@cs.ubc.ca \
--cc=rshriram@cs.ubc.ca \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).