All of lore.kernel.org
 help / color / mirror / Atom feed
* XEN 3.4 and blktapctrl
@ 2009-05-29 10:14 VM-Sascha
  2009-05-29 11:07 ` Keir Fraser
  0 siblings, 1 reply; 5+ messages in thread
From: VM-Sascha @ 2009-05-29 10:14 UTC (permalink / raw)
  To: xen-devel


Hello all, 

i'm playing with the new XEN 3.4 and if i use the backend "tap:aio" on my
domUs, all have the same
tapctrlwriteX & tapctrlreadX fifos

<SNIP>

tapdisk /var/run/tap/tapctrlwrite312222 /var/run/tap/tapctrlread312222
tapdisk /var/run/tap/tapctrlwrite312222 /var/run/tap/tapctrlread312222
tapdisk /var/run/tap/tapctrlwrite312222 /var/run/tap/tapctrlread312222
tapdisk /var/run/tap/tapctrlwrite312222 /var/run/tap/tapctrlread312222

</SNIP>

On XEN 3.3.1 it was always the domid like this:

<SNIP>

tapdisk /var/run/tap/tapctrlwrite1 /var/run/tap/tapctrlread1
tapdisk /var/run/tap/tapctrlwrite2 /var/run/tap/tapctrlread2
tapdisk /var/run/tap/tapctrlwrite3 /var/run/tap/tapctrlread3
tapdisk /var/run/tap/tapctrlwrite4 /var/run/tap/tapctrlread4

</SNIP>

Has anyone an idea why this happens on the new release?

Thanks,
Sascha



-- 
View this message in context: http://www.nabble.com/XEN-3.4-and-blktapctrl-tp23771002p23771002.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

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

* Re: XEN 3.4 and blktapctrl
  2009-05-29 10:14 XEN 3.4 and blktapctrl VM-Sascha
@ 2009-05-29 11:07 ` Keir Fraser
  2009-05-29 21:30   ` VM-Sascha
  2009-05-31  8:44   ` Andy Burns
  0 siblings, 2 replies; 5+ messages in thread
From: Keir Fraser @ 2009-05-29 11:07 UTC (permalink / raw)
  To: VM-Sascha, xen-devel@lists.xensource.com; +Cc: kwolf

I'll guess that Kevin Wolf's changeset 19349 causes this, by calling
connect_tapdisk() with uninitialised parameter 'minor'. If you build Xen 3.4
yourself you can try reverting this patch with 'hg export 19349 | patch
-Rp1' and rebuild the tools.

Kevin: could you take another look at your patch, please.

 -- Keir

On 29/05/2009 11:14, "VM-Sascha" <sascha@argc.de> wrote:

> 
> Hello all, 
> 
> i'm playing with the new XEN 3.4 and if i use the backend "tap:aio" on my
> domUs, all have the same
> tapctrlwriteX & tapctrlreadX fifos
> 
> <SNIP>
> 
> tapdisk /var/run/tap/tapctrlwrite312222 /var/run/tap/tapctrlread312222
> tapdisk /var/run/tap/tapctrlwrite312222 /var/run/tap/tapctrlread312222
> tapdisk /var/run/tap/tapctrlwrite312222 /var/run/tap/tapctrlread312222
> tapdisk /var/run/tap/tapctrlwrite312222 /var/run/tap/tapctrlread312222
> 
> </SNIP>
> 
> On XEN 3.3.1 it was always the domid like this:
> 
> <SNIP>
> 
> tapdisk /var/run/tap/tapctrlwrite1 /var/run/tap/tapctrlread1
> tapdisk /var/run/tap/tapctrlwrite2 /var/run/tap/tapctrlread2
> tapdisk /var/run/tap/tapctrlwrite3 /var/run/tap/tapctrlread3
> tapdisk /var/run/tap/tapctrlwrite4 /var/run/tap/tapctrlread4
> 
> </SNIP>
> 
> Has anyone an idea why this happens on the new release?
> 
> Thanks,
> Sascha
> 
> 

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

* Re: XEN 3.4 and blktapctrl
  2009-05-29 11:07 ` Keir Fraser
@ 2009-05-29 21:30   ` VM-Sascha
  2009-05-29 22:57     ` Keir Fraser
  2009-05-31  8:44   ` Andy Burns
  1 sibling, 1 reply; 5+ messages in thread
From: VM-Sascha @ 2009-05-29 21:30 UTC (permalink / raw)
  To: xen-devel


Hi Keir, 

yes, that's the trick. Every tapctrl fifo gets now a own minor number. 
Now, the "tap:aio" is working as on XEN 3.3.1!

Thanks,
Sascha 



Keir Fraser-3 wrote:
> 
> I'll guess that Kevin Wolf's changeset 19349 causes this, by calling
> connect_tapdisk() with uninitialised parameter 'minor'. If you build Xen
> 3.4
> yourself you can try reverting this patch with 'hg export 19349 | patch
> -Rp1' and rebuild the tools.
> 
> Kevin: could you take another look at your patch, please.
> 
>  -- Keir
> 
> On 29/05/2009 11:14, "VM-Sascha" <sascha@XXXXXXXXX> wrote:
> 
>> 
>> Hello all, 
>> 
>> i'm playing with the new XEN 3.4 and if i use the backend "tap:aio" on my
>> domUs, all have the same
>> tapctrlwriteX & tapctrlreadX fifos
>> 
>> <SNIP>
>> 
>> tapdisk /var/run/tap/tapctrlwrite312222 /var/run/tap/tapctrlread312222
>> tapdisk /var/run/tap/tapctrlwrite312222 /var/run/tap/tapctrlread312222
>> tapdisk /var/run/tap/tapctrlwrite312222 /var/run/tap/tapctrlread312222
>> tapdisk /var/run/tap/tapctrlwrite312222 /var/run/tap/tapctrlread312222
>> 
>> </SNIP>
>> 
>> On XEN 3.3.1 it was always the domid like this:
>> 
>> <SNIP>
>> 
>> tapdisk /var/run/tap/tapctrlwrite1 /var/run/tap/tapctrlread1
>> tapdisk /var/run/tap/tapctrlwrite2 /var/run/tap/tapctrlread2
>> tapdisk /var/run/tap/tapctrlwrite3 /var/run/tap/tapctrlread3
>> tapdisk /var/run/tap/tapctrlwrite4 /var/run/tap/tapctrlread4
>> 
>> </SNIP>
>> 
>> Has anyone an idea why this happens on the new release?
>> 
>> Thanks,
>> Sascha
>> 
>> 
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
> 
> 

-- 
View this message in context: http://www.nabble.com/XEN-3.4-and-blktapctrl-tp23771002p23787334.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

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

* Re: XEN 3.4 and blktapctrl
  2009-05-29 21:30   ` VM-Sascha
@ 2009-05-29 22:57     ` Keir Fraser
  0 siblings, 0 replies; 5+ messages in thread
From: Keir Fraser @ 2009-05-29 22:57 UTC (permalink / raw)
  To: VM-Sascha, xen-devel@lists.xensource.com

On 29/05/2009 22:30, "VM-Sascha" <sascha@argc.de> wrote:

> yes, that's the trick. Every tapctrl fifo gets now a own minor number.
> Now, the "tap:aio" is working as on XEN 3.3.1!

I'll sort out a patch for xen-unstable and xen-3.4 then. Thanks.

 -- Keir

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

* Re: XEN 3.4 and blktapctrl
  2009-05-29 11:07 ` Keir Fraser
  2009-05-29 21:30   ` VM-Sascha
@ 2009-05-31  8:44   ` Andy Burns
  1 sibling, 0 replies; 5+ messages in thread
From: Andy Burns @ 2009-05-31  8:44 UTC (permalink / raw)
  To: xen-devel

2009/5/29 Keir Fraser <keir.fraser@eu.citrix.com>:

> If you build Xen 3.4
> yourself you can try reverting this patch with 'hg export 19349 | patch
> -Rp1' and rebuild the tools.

Not only does Sascha build xen, but generously makes the RPMs
available (for RHEL/centOS users) at

http://www.gitco.de/repo/xen3.4.0/

I use LVM partitions instead of tap:aio, but presume the 3.4.0-2
builds have this fix?

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

end of thread, other threads:[~2009-05-31  8:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-29 10:14 XEN 3.4 and blktapctrl VM-Sascha
2009-05-29 11:07 ` Keir Fraser
2009-05-29 21:30   ` VM-Sascha
2009-05-29 22:57     ` Keir Fraser
2009-05-31  8:44   ` Andy Burns

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.