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

Re: [Xen-devel] [PATCH 0 of 7 v5] Introduce the tapback daemon (most of blkback in user-space)



> -----Original Message-----
> From: Thanos Makatos [mailto:thanos.makatos@xxxxxxxxxx]
> Sent: 15 July 2013 12:39
> To: xen-devel@xxxxxxxxxxxxx
> Cc: Thanos Makatos
> Subject: [PATCH 0 of 7 v5] Introduce the tapback daemon (most of
> blkback in user-space)
> 
> This patch series introduces the tapback daemon, the user space daemon
> that acts as a device's back-end, essentially most of blkback in user
> space. The daemon is responsible for coordinating the front-end and
> tapdisk. It creates tapdisk process as needed, instructs them to
> connect to/disconnect from the shared ring, and manages the state of
> the back-end.
> 
> The shared ring between the front-end and the tapdisk is provided by a
> piece of code that lives inside the tapdisk and will be introduced by
> the next patch series.
> 
> Signed-off-by: Thanos Makatos <thanos.makatos@xxxxxxxxxx>
> 
> ---
> Changed since v1:
> The series has been largely reorganised:
> * Renamed the daemon from xenio to tapback.
> * Improved description in patch 0.
> * Merged structures and functions.
> * Disaggregated functionality from the core daemon source file to
> smaller ones
>   in order to facilitate the review process and improve maintenance.
> 
> Changed since v2:
>   * Added a new patch that ignores tapback binaries.
>   * For the rest of the patches, see the description in each patch.
> 
> Changed since v3:
>   * Replace the minor number with type:/path/to/file where necessary.
>   * Create the daemon's control socket.

What's missing from this series is automatically starting the daemon when 
necessary.

What's the best approach to this? Should the daemon be started by some xen 
script in /etc/init.d? Should libxl spawn the daemon on demand?

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