public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] gentoo-sources and xen blktap driver?
@ 2012-01-07 11:51 Konstantinos Agouros
  2012-01-07 13:41 ` victor romanchuk
  0 siblings, 1 reply; 6+ messages in thread
From: Konstantinos Agouros @ 2012-01-07 11:51 UTC (permalink / raw
  To: gentoo-user

Hi,

since xen got into the mainstream kernel the way to go is to use
gentoo-sources for dom0 and the domUs. However the blktap modules are not
there. Is there any way to get this to work?

Konstantin
-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elwood@agouros.de
Altersheimerstr. 1, 81545 Muenchen, Germany. Tel +49 89 69370185
----------------------------------------------------------------------------
"Captain, this ship will not survive the forming of the cosmos." B'Elana Torres



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] gentoo-sources and xen blktap driver?
  2012-01-07 11:51 [gentoo-user] gentoo-sources and xen blktap driver? Konstantinos Agouros
@ 2012-01-07 13:41 ` victor romanchuk
  2012-01-07 16:35   ` Pandu Poluan
  0 siblings, 1 reply; 6+ messages in thread
From: victor romanchuk @ 2012-01-07 13:41 UTC (permalink / raw
  To: gentoo-user

Konstantinos Agouros wrote, at 01/07/2012 03:51 PM:
> since xen got into the mainstream kernel the way to go is to use
> gentoo-sources for dom0 and the domUs. However the blktap modules are not
> there. Is there any way to get this to work?

blktap drivers were excluded from kernel mainline since 3.x, these two threads
from xen-users mailing list might put some light in that context:

http://old-list-archives.xen.org/archives/html/xen-users/2011-07/msg00637.html
http://old-list-archives.xen.org/archives/html/xen-users/2011-10/msg00065.html

the latest sys-kernel/xen-sources containing working blktap (not blktap2) is
2.6.38 (this is buggy from my point of view; i'm still sitting on 2.6.34-r5 for
production installations)

victor



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] gentoo-sources and xen blktap driver?
  2012-01-07 13:41 ` victor romanchuk
@ 2012-01-07 16:35   ` Pandu Poluan
  2012-01-07 17:40     ` Michael Mol
  0 siblings, 1 reply; 6+ messages in thread
From: Pandu Poluan @ 2012-01-07 16:35 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

On Jan 7, 2012 8:44 PM, "victor romanchuk" <rom@persimplex.net> wrote:
>
> Konstantinos Agouros wrote, at 01/07/2012 03:51 PM:
> > since xen got into the mainstream kernel the way to go is to use
> > gentoo-sources for dom0 and the domUs. However the blktap modules are
not
> > there. Is there any way to get this to work?
>
> blktap drivers were excluded from kernel mainline since 3.x, these two
threads
> from xen-users mailing list might put some light in that context:
>
>
http://old-list-archives.xen.org/archives/html/xen-users/2011-07/msg00637.html
>
http://old-list-archives.xen.org/archives/html/xen-users/2011-10/msg00065.html
>
> the latest sys-kernel/xen-sources containing working blktap (not blktap2)
is
> 2.6.38 (this is buggy from my point of view; i'm still sitting on
2.6.34-r5 for
> production installations)
>

Can someone shed a light on the importance of blktap, i.e., why one would
want to use it when -- as someone explained in the first email thread you
gave -- blkfront+blkend is enough for paravirtualization?

Rgds,

[-- Attachment #2: Type: text/html, Size: 1441 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] gentoo-sources and xen blktap driver?
  2012-01-07 16:35   ` Pandu Poluan
@ 2012-01-07 17:40     ` Michael Mol
  2012-01-08  0:36       ` Pandu Poluan
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Mol @ 2012-01-07 17:40 UTC (permalink / raw
  To: gentoo-user

On Sat, Jan 7, 2012 at 11:35 AM, Pandu Poluan <pandu@poluan.info> wrote:
> On Jan 7, 2012 8:44 PM, "victor romanchuk" <rom@persimplex.net> wrote:
>>
>> Konstantinos Agouros wrote, at 01/07/2012 03:51 PM:
>> > since xen got into the mainstream kernel the way to go is to use
>> > gentoo-sources for dom0 and the domUs. However the blktap modules are
>> > not
>> > there. Is there any way to get this to work?
>>
>> blktap drivers were excluded from kernel mainline since 3.x, these two
>> threads
>> from xen-users mailing list might put some light in that context:
>>
>>
>> http://old-list-archives.xen.org/archives/html/xen-users/2011-07/msg00637.html
>>
>> http://old-list-archives.xen.org/archives/html/xen-users/2011-10/msg00065.html
>>
>> the latest sys-kernel/xen-sources containing working blktap (not blktap2)
>> is
>> 2.6.38 (this is buggy from my point of view; i'm still sitting on
>> 2.6.34-r5 for
>> production installations)
>>
>
> Can someone shed a light on the importance of blktap, i.e., why one would
> want to use it when -- as someone explained in the first email thread you
> gave -- blkfront+blkend is enough for paravirtualization?

Reading through the linked threads, it sounds like the benefit stems
from being able to shim things in between the front and back ends.

You might want that for any number of reasons:
* a block encryption layer
* a metering layer
* a read/write masking layer
* an intercept to have the block device exist on (or be mirrored to)
on another system.

etc.


-- 
:wq



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] gentoo-sources and xen blktap driver?
  2012-01-07 17:40     ` Michael Mol
@ 2012-01-08  0:36       ` Pandu Poluan
  2012-01-08  0:43         ` Michael Mol
  0 siblings, 1 reply; 6+ messages in thread
From: Pandu Poluan @ 2012-01-08  0:36 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1773 bytes --]

On Jan 8, 2012 12:43 AM, "Michael Mol" <mikemol@gmail.com> wrote:
>
> On Sat, Jan 7, 2012 at 11:35 AM, Pandu Poluan <pandu@poluan.info> wrote:
> > On Jan 7, 2012 8:44 PM, "victor romanchuk" <rom@persimplex.net> wrote:
> >>
> >> Konstantinos Agouros wrote, at 01/07/2012 03:51 PM:
> >> > since xen got into the mainstream kernel the way to go is to use
> >> > gentoo-sources for dom0 and the domUs. However the blktap modules are
> >> > not
> >> > there. Is there any way to get this to work?
> >>
> >> blktap drivers were excluded from kernel mainline since 3.x, these two
> >> threads
> >> from xen-users mailing list might put some light in that context:
> >>
> >>
> >>
http://old-list-archives.xen.org/archives/html/xen-users/2011-07/msg00637.html
> >>
> >>
http://old-list-archives.xen.org/archives/html/xen-users/2011-10/msg00065.html
> >>
> >> the latest sys-kernel/xen-sources containing working blktap (not
blktap2)
> >> is
> >> 2.6.38 (this is buggy from my point of view; i'm still sitting on
> >> 2.6.34-r5 for
> >> production installations)
> >>
> >
> > Can someone shed a light on the importance of blktap, i.e., why one
would
> > want to use it when -- as someone explained in the first email thread
you
> > gave -- blkfront+blkend is enough for paravirtualization?
>
> Reading through the linked threads, it sounds like the benefit stems
> from being able to shim things in between the front and back ends.
>
> You might want that for any number of reasons:
> * a block encryption layer
> * a metering layer
> * a read/write masking layer
> * an intercept to have the block device exist on (or be mirrored to)
> on another system.
>
> etc.
>

Ah yes, of course.

One of the threads also mentioned that blktap might be better implemented
in userspace.

Rgds,

[-- Attachment #2: Type: text/html, Size: 2607 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] gentoo-sources and xen blktap driver?
  2012-01-08  0:36       ` Pandu Poluan
@ 2012-01-08  0:43         ` Michael Mol
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Mol @ 2012-01-08  0:43 UTC (permalink / raw
  To: gentoo-user

On Sat, Jan 7, 2012 at 7:36 PM, Pandu Poluan <pandu@poluan.info> wrote:
> On Jan 8, 2012 12:43 AM, "Michael Mol" <mikemol@gmail.com> wrote:
>> On Sat, Jan 7, 2012 at 11:35 AM, Pandu Poluan <pandu@poluan.info> wrote:
>> > On Jan 7, 2012 8:44 PM, "victor romanchuk" <rom@persimplex.net> wrote:
>> >>
>> >> Konstantinos Agouros wrote, at 01/07/2012 03:51 PM:
>> >> > since xen got into the mainstream kernel the way to go is to use
>> >> > gentoo-sources for dom0 and the domUs. However the blktap modules are
>> >> > not
>> >> > there. Is there any way to get this to work?
>> >>
>> >> blktap drivers were excluded from kernel mainline since 3.x, these two
>> >> threads
>> >> from xen-users mailing list might put some light in that context:
>> >>
>> >>
>> >>
>> >> http://old-list-archives.xen.org/archives/html/xen-users/2011-07/msg00637.html
>> >>
>> >>
>> >> http://old-list-archives.xen.org/archives/html/xen-users/2011-10/msg00065.html
>> >>
>> >> the latest sys-kernel/xen-sources containing working blktap (not
>> >> blktap2)
>> >> is
>> >> 2.6.38 (this is buggy from my point of view; i'm still sitting on
>> >> 2.6.34-r5 for
>> >> production installations)
>> >>
>> >
>> > Can someone shed a light on the importance of blktap, i.e., why one
>> > would
>> > want to use it when -- as someone explained in the first email thread
>> > you
>> > gave -- blkfront+blkend is enough for paravirtualization?
>>
>> Reading through the linked threads, it sounds like the benefit stems
>> from being able to shim things in between the front and back ends.
>>
>> You might want that for any number of reasons:
>> * a block encryption layer
>> * a metering layer
>> * a read/write masking layer
>> * an intercept to have the block device exist on (or be mirrored to)
>> on another system.
>>
>> etc.
>>
>
> Ah yes, of course.
>
> One of the threads also mentioned that blktap might be better implemented in
> userspace.

Well, there's that, too. For a while, there's been a long push in
Linux to get anything that could remotely reasonably be done in
userspace out of kernelspace.

-- 
:wq



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-01-08  0:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-07 11:51 [gentoo-user] gentoo-sources and xen blktap driver? Konstantinos Agouros
2012-01-07 13:41 ` victor romanchuk
2012-01-07 16:35   ` Pandu Poluan
2012-01-07 17:40     ` Michael Mol
2012-01-08  0:36       ` Pandu Poluan
2012-01-08  0:43         ` Michael Mol

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox