[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] virtio: Provide version-specific variants of vi
From: |
Eduardo Habkost |
Subject: |
Re: [Qemu-devel] [PATCH] virtio: Provide version-specific variants of virtio PCI devices |
Date: |
Mon, 15 Oct 2018 20:03:42 -0300 |
User-agent: |
Mutt/1.9.2 (2017-12-15) |
On Mon, Oct 15, 2018 at 06:27:21AM -0400, Michael S. Tsirkin wrote:
> On Mon, Oct 15, 2018 at 10:16:41AM +0200, Gerd Hoffmann wrote:
> > On Fri, Oct 12, 2018 at 11:54:35PM -0300, Eduardo Habkost wrote:
> > > The current virtio-*-pci device types actually represent 3
> > > different types of devices:
> > > * virtio 1.0 non-transitional devices
> > > * virtio 1.0 transitional devices
> >
> > Ok.
> >
> > > * virtio 0.9 ("legacy device" in virtio 1.0 terminology)
> >
> > Why? Is there any reason to prefer 0.9 over transitional?
I don't know. The `disable-modern` option already exists but I
don't know who would want to use it. I'm just adding a way to
represent that existing feature without having another set of
device types with multiple-personality disorder.
> >
> > cheers,
> > Gerd
>
> Right - maybe a flag to disable modern interface is enough.
> We thus get two types:
> - transitional (legacy)
> - non-transitional (modern)
> which matches spec nicely.
I would agree with the removal of virtio-*-0.9 only if we decide
to drop support for disable-modern=true. If we still want to
provide a legacy-only virtio device, it should be a separate
device type.
Without separate device types, it becomes impossible to provide
meaningful device type information to management software,
including but not limited to:
* removal/deprecation of device types (especially important if we
plan to remove virtio 0.9 support from QEMU one day)
* PCI IDs
* Bus compatibility information
* Schema/introspection for 0.9-only or 1.0-only device options
--
Eduardo
- Re: [Qemu-devel] [PATCH] virtio: Provide version-specific variants of virtio PCI devices, (continued)
- Re: [Qemu-devel] [PATCH] virtio: Provide version-specific variants of virtio PCI devices, Daniel P . Berrangé, 2018/10/16
- Re: [Qemu-devel] [PATCH] virtio: Provide version-specific variants of virtio PCI devices, Laine Stump, 2018/10/16
- [Qemu-devel] No more chameleon devices (was: [PATCH] virtio: Provide version-specific variants of virtio PCI devices), Markus Armbruster, 2018/10/17
- Re: [Qemu-devel] No more chameleon devices (was: [PATCH] virtio: Provide version-specific variants of virtio PCI devices), Gerd Hoffmann, 2018/10/17
- Re: [Qemu-devel] No more chameleon devices, Markus Armbruster, 2018/10/17
- Re: [Qemu-devel] [PATCH] virtio: Provide version-specific variants of virtio PCI devices, Andrea Bolognani, 2018/10/17
- Re: [Qemu-devel] [PATCH] virtio: Provide version-specific variants of virtio PCI devices, Eduardo Habkost, 2018/10/17
- Re: [Qemu-devel] [PATCH] virtio: Provide version-specific variants of virtio PCI devices, Michael S. Tsirkin, 2018/10/17
Re: [Qemu-devel] [PATCH] virtio: Provide version-specific variants of virtio PCI devices, Gerd Hoffmann, 2018/10/15
Re: [Qemu-devel] [PATCH] virtio: Provide version-specific variants of virtio PCI devices, Cornelia Huck, 2018/10/15
Re: [Qemu-devel] [PATCH] virtio: Provide version-specific variants of virtio PCI devices, Stefan Hajnoczi, 2018/10/17