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

Re: [Xen-devel] [PATCH v2 1/7] blkif: document how FreeBSD uses the physical-device backend node



Roger Pau Monne writes ("[PATCH v2 1/7] blkif: document how FreeBSD uses the 
physical-device backend node"):
> FreeBSD blkback uses the physical-device xenstore node in order to fetch the
> path to the underlying backing storage (either a block device or raw image).
> This node is set by the hotplug scripts.

I think it is undesirable that the interface to hotplug scripts would
be platform-specific.

I would prefer it if hotplug scripts always produced a path, and libxl
were responsible for converting it into a major/minor if required.
(libxl already has to have platform-specific code to drive its driver
domain's blkback).

This would be a change to the hotplug script protocol but I think it
can be done in a backward-compatible way.

What do you think ?

(This is related to the conversation you and George had on irc.)

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®.