qemu-devel
[Top][All Lists]
Advanced

[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: Paul Durrant
Subject: Re: [Qemu-devel] [PATCH v3 03/18] xen: introduce 'xen-block', 'xen-disk' and 'xen-cdrom'
Date: Tue, 11 Dec 2018 15:40:30 +0000

> -----Original Message-----
> From: Anthony PERARD [mailto:address@hidden
> Sent: 11 December 2018 15:17
> To: Paul Durrant <address@hidden>
> Cc: address@hidden; address@hidden; xen-
> address@hidden; Kevin Wolf <address@hidden>; Max Reitz
> <address@hidden>; Stefano Stabellini <address@hidden>
> Subject: Re: [PATCH v3 03/18] xen: introduce 'xen-block', 'xen-disk' and
> 'xen-cdrom'
> 
> 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 :)

Yep, you can keep going until xenstore explodes :-)

  Paul

> 
> Reviewed-by: Anthony PERARD <address@hidden>
> 
> Thanks,
> 
> --
> Anthony PERARD



reply via email to

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