All of lore.kernel.org
 help / color / mirror / Atom feed
From: George Dunlap <george.dunlap@eu.citrix.com>
To: Wei Liu <wei.liu2@citrix.com>
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Jan Beulich <JBeulich@suse.com>,
	xen-devel@lists.xen.org
Subject: Re: RFC: removing hardcoded "modprobe blktap" in xencommons
Date: Mon, 15 Jul 2013 15:08:00 +0100	[thread overview]
Message-ID: <51E40240.5010108@eu.citrix.com> (raw)
In-Reply-To: <20130715093845.GA28802@zion.uk.xensource.com>

On 15/07/13 10:38, Wei Liu wrote:
> On Mon, Jul 15, 2013 at 10:34:02AM +0100, Jan Beulich wrote:
>>>>> On 15.07.13 at 10:26, Wei Liu <wei.liu2@citrix.com> wrote:
>>> So my point is, if every driver follows the kernel convention
>>> (open(/dev/XYZ) would cause the module to load automatically) there then
>>> would be minimal changes to libxl. It is unmaintained kernel modules
>>> like blktap makes it not feasible to make things simplier.
>>>
>>> (Wild guess below, correct me if I'm wrong)
>>>
>>> Say, if we could make it just like open(blkback_char_dev), the loading
>>> is just a one-liner and doesn't need to be using libxl's AO interface.
>> Once again - most if not all backends don't fit that model - blktap
>> as said doesn't and neither blkback nor netback don't as they don't
>> create any /dev nodes.
>>
> OK, I get what you mean.
>
>> Backend module loading might be triggerable through xenstore
>> node watches...
>>
> Sure.

If we did something like this, we'd still have to have the modprobes in 
xencommons for older kernels; we'd just have to have a way to disable it 
for newer kernels.

  -George

  reply	other threads:[~2013-07-15 14:08 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-12 16:12 RFC: removing hardcoded "modprobe blktap" in xencommons Wei Liu
2013-07-12 18:00 ` Konrad Rzeszutek Wilk
2013-07-13 17:05   ` Wei Liu
2013-07-15  6:13   ` Jan Beulich
2013-07-15  6:06 ` Jan Beulich
2013-07-15  7:33   ` Wei Liu
2013-07-15  7:44     ` Jan Beulich
2013-07-15  8:26       ` Wei Liu
2013-07-15  9:34         ` Jan Beulich
2013-07-15  9:38           ` Wei Liu
2013-07-15 14:08             ` George Dunlap [this message]
2013-07-15 14:13               ` Jan Beulich
2013-07-17 11:16               ` Ian Jackson
2013-07-18  7:31                 ` Wei Liu
2013-07-18  8:43                   ` George Dunlap
2013-07-18 11:12                     ` Ian Jackson
2013-08-01 13:27                       ` Wei Liu
2013-08-07 15:16                         ` Ian Jackson

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=51E40240.5010108@eu.citrix.com \
    --to=george.dunlap@eu.citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=JBeulich@suse.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /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.