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

Re: [Xen-devel] [PATCH v2 15/17] libxl: allow usage of char devices as block backends



On Thu, 2014-06-05 at 17:44 +0200, Roger Pau Monnà wrote:
> On 05/06/14 17:41, Ian Campbell wrote:
> > On Mon, 2014-06-02 at 17:08 +0200, Roger Pau Monne wrote:
> >> On FreeBSD ZVOLs/disks/partitions are char devices, so libxl must
> >> allow it's usage.
> > 
> > Are they really, how... interesting...
> > 
> > Do we think this should be made platform specific?
> 
> This is already platform specific, see libxl__try_phy_backend in
> libxl_{linux/netbsd}.c, the problem is that we had this generic gate in
> libxl_device.c that only allows block or regular files to be tested for
> 'phy' support. If it's more suitable, I think we can get rid of this
> gate in libxl_device and rely on the OS specific version of
> libxl__try_phy_backend to do the checking.
> 

That does sound more sensible -- Ian (J) do you remember how we ended up
with it like this?

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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