XEN 3.4 and blktapctrl
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.
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/tapctrlread312222tapdisk/var/run/tap/tapctrlwrite312222/var/run/tap/tapctrlread312222tapdisk/var/run/tap/tapctrlwrite312222/var/run/tap/tapctrlread312222tapdisk/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/tapctrlread1tapdisk/var/run/tap/tapctrlwrite2/var/run/tap/tapctrlread2tapdisk/var/run/tap/tapctrlwrite3/var/run/tap/tapctrlread3tapdisk/var/run/tap/tapctrlwrite4/var/run/tap/tapctrlread4</SNIP>
Has anyone an idea why this happens on the new release?
Thanks,
Sascha
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/tapctrlread312222tapdisk/var/run/tap/tapctrlwrite312222/var/run/tap/tapctrlread312222tapdisk/var/run/tap/tapctrlwrite312222/var/run/tap/tapctrlread312222tapdisk/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/tapctrlread1tapdisk/var/run/tap/tapctrlwrite2/var/run/tap/tapctrlread2tapdisk/var/run/tap/tapctrlwrite3/var/run/tap/tapctrlread3tapdisk/var/run/tap/tapctrlwrite4/var/run/tap/tapctrlread4Quoted 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.
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
2009/5/29 Keir Fraser <[email protected]>:
Quoted 3 lines
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?