[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v6 15/18] xen: add a mechanism to automatically
From: |
Anthony PERARD |
Subject: |
Re: [Qemu-block] [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
- [Qemu-block] [PATCH v6 08/18] xen: duplicate xen_disk.c as basis of dataplane/xen-block.c, (continued)
[Qemu-block] [PATCH v6 17/18] MAINTAINERS: add myself as a Xen maintainer, Paul Durrant, 2018/12/17
[Qemu-block] [PATCH v6 14/18] xen: add implementations of xen-block connect and disconnect functions..., Paul Durrant, 2018/12/17
[Qemu-block] [PATCH v6 18/18] xen: remove the legacy 'xen_disk' backend, Paul Durrant, 2018/12/17
[Qemu-block] [PATCH v6 15/18] xen: add a mechanism to automatically create XenDevice-s..., Paul Durrant, 2018/12/17
- Re: [Qemu-block] [PATCH v6 15/18] xen: add a mechanism to automatically create XenDevice-s...,
Anthony PERARD <=
[Qemu-block] [PATCH v6 11/18] xen: remove 'XenBlkDev' and 'blkdev' names from dataplane/xen-block, Paul Durrant, 2018/12/17
[Qemu-block] [PATCH v6 13/18] xen: purge 'blk' and 'ioreq' from function names in dataplane/xen-block.c, Paul Durrant, 2018/12/17
[Qemu-block] [PATCH v6 12/18] xen: remove 'ioreq' struct/varable/field names from dataplane/xen-block.c, Paul Durrant, 2018/12/17
[Qemu-block] [PATCH v6 10/18] xen: add header and build dataplane/xen-block.c, Paul Durrant, 2018/12/17