[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [4 Patches] New blktap implementation, 2nd try



Kevin Wolf wrote:
> So what I'm saying is that while I'm not opposed to a rewrite in
> principle, the rewrite needs to be a complete drop-in replacement to
> avoid this third copy of the code. Ideally the rewrite would be
> completely integrated into qemu, but at least not having a third copy
> and making things even worse is a must, IMHO.

Oh, btw:  qemu itself will get a xen block backend implementation soon
anyway.


Patch queue against qemu svn (upstream) are here:
http://kraxel.fedorapeople.org/patches/qemu-upstream/

Patch queue for the qemu-xen git tree are here:
http://kraxel.fedorapeople.org/patches/qemu-xen/

The patch adding the block backend is this one:
http://kraxel.fedorapeople.org/patches/qemu-xen/0007-xen-add-block-device-backend-driver.patch

You might also look at this one (common xenbus state machine, ...):
http://kraxel.fedorapeople.org/patches/qemu-xen/0003-xen-backend-driver-core.patch

Merging those patch sets into both qemu trees will start when Ian
Jackson (qemu-xen maintainer) is back.


Note that a special kernel driver for blktap isn't needed at all.  You
can simply use the generic grant table and event channel device drivers.
   Which is exactly what the qemu backend implementation does.  IMHO the
blktap kernel driver is there only for historical reasons (it predates
gntdev) and it should go away long-term.

The qemu block layer has some problems performance-wise, so I can see
your reasons to not use qemu.  And the qemu backend will most likely not
(yet) match blktap performance-wise.  Nevertheless I think time is
better spent fixing these problems in upstream qemu instead of forking
off the qemu block layer code for the tapdisk daemon.

cheers,
  Gerd

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.