[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 03/18] xen: introduce 'xen-block', 'xen-disk'
From: |
Anthony PERARD |
Subject: |
Re: [Qemu-devel] [PATCH v3 03/18] xen: introduce 'xen-block', 'xen-disk' and 'xen-cdrom' |
Date: |
Tue, 11 Dec 2018 15:16:36 +0000 |
User-agent: |
Mutt/1.11.1 (2018-12-01) |
On Tue, Dec 11, 2018 at 10:47:03AM +0000, Paul Durrant wrote:
> This patch adds new XenDevice-s: 'xen-disk' and 'xen-cdrom', both derived
> from a common 'xen-block' parent type. These will eventually replace the
> 'xen_disk' (note the underscore rather than hyphen) legacy PV backend but
> it is illustrative to build up the implementation incrementally, along with
> the XenBus/XenDevice framework. Subsequent patches will therefore add to
> these devices' implementation as new features are added to the framework.
>
> After this patch has been applied it is possible to instantiate new
> 'xen-disk' or 'xen-cdrom' devices with a single 'vdev' parameter, which
> accepts values adhering to the Xen VBD naming scheme [1]. For example, a
> command-line instantiation of a xen-disk can be done with an argument
> similar to the following:
>
> -device xen-disk,vdev=hda
>
> The implementation of the vdev parameter formulates the appropriate VBD
> number for use in the PV protocol.
>
> [1] https://xenbits.xen.org/docs/unstable/man/xen-vbd-interface.7.html
>
> Signed-off-by: Paul Durrant <address@hidden>
Now we can add a xen-disk with vdev=xvdbgqcv :)
Reviewed-by: Anthony PERARD <address@hidden>
Thanks,
--
Anthony PERARD
- [Qemu-devel] [PATCH v3 00/18] Xen PV backend 'qdevification', Paul Durrant, 2018/12/11
- [Qemu-devel] [PATCH v3 06/18] xen: add grant table interface for XenDevice-s, Paul Durrant, 2018/12/11
- [Qemu-devel] [PATCH v3 05/18] xen: add xenstore watcher infrastructure, Paul Durrant, 2018/12/11
- [Qemu-devel] [PATCH v3 03/18] xen: introduce 'xen-block', 'xen-disk' and 'xen-cdrom', Paul Durrant, 2018/12/11
- Re: [Qemu-devel] [PATCH v3 03/18] xen: introduce 'xen-block', 'xen-disk' and 'xen-cdrom',
Anthony PERARD <=
- [Qemu-devel] [PATCH v3 07/18] xen: add event channel interface for XenDevice-s, Paul Durrant, 2018/12/11
- [Qemu-devel] [PATCH v3 09/18] xen: remove unnecessary code from dataplane/xen-block.c, Paul Durrant, 2018/12/11
- [Qemu-devel] [PATCH v3 02/18] xen: introduce new 'XenBus' and 'XenDevice' object hierarchy, Paul Durrant, 2018/12/11
- [Qemu-devel] [PATCH v3 08/18] xen: duplicate xen_disk.c as basis of dataplane/xen-block.c, Paul Durrant, 2018/12/11
- [Qemu-devel] [PATCH v3 04/18] xen: create xenstore areas for XenDevice-s, Paul Durrant, 2018/12/11