qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v6 15/18] xen: add a mechanism to automatically


From: Anthony PERARD
Subject: Re: [Qemu-devel] [PATCH v6 15/18] xen: add a mechanism to automatically create XenDevice-s...
Date: Wed, 19 Dec 2018 12:40:49 +0000
User-agent: Mutt/1.11.1 (2018-12-01)

On Mon, Dec 17, 2018 at 01:30:08PM +0000, Paul Durrant wrote:
> ...that maintains compatibility with existing Xen toolstacks.
> 
> Xen toolstacks instantiate PV backends by simply writing information into
> xenstore and expecting a backend implementation to be watching for this.
> 
> This patch adds a new 'xen-backend' module to allow individual XenDevice
> implementations to register create and destroy functions. The creator
> will be called when a tool-stack instantiates a new backend in this way,
> and the destructor will then be called after the resulting XenDevice
> object is unrealized.
> 
> To support this it is also necessary to add new watchers into the XenBus
> implementation to handle enumeration of new backends and also destruction
> of XenDevice-s when the toolstack sets the backend 'online' key to 0.
> 
> NOTE: This patch only adds the framework. A subsequent patch will add a
>       creator function for xen-block devices.
> 
> Signed-off-by: Paul Durrant <address@hidden>

Reviewed-by: Anthony PERARD <address@hidden>

-- 
Anthony PERARD



reply via email to

[Prev in Thread] Current Thread [Next in Thread]