Skip to contentSkip to conversation

XEN 3.4 and blktapctrl

DISCUSSION VM-Sascha 3 participants 5 messages May 29, 2009 – May 31, 2009

lore
Share & tools
lore

VM-Sascha

author
#0 lore raw

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

Signature · 2 lines
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.
#1 lore raw

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

Quoted 33 lines · VM-Sascha

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

author
#2 lore raw

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

Quoted 55 lines · 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

Quoted 25 lines · VM-Sascha

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

Quoted 8 lines

</SNIP>

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

Thanks,
Sascha

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 2 lines
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.
#3 lore raw
Quoted 2 lines · VM-Sascha

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