qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] virtio-pci: Don't force Subsystem Vendor ID = V


From: Michael S. Tsirkin
Subject: Re: [Qemu-devel] [PATCH] virtio-pci: Don't force Subsystem Vendor ID = Vendor ID
Date: Mon, 6 Nov 2017 18:53:27 +0200

On Mon, Nov 06, 2017 at 10:18:07AM +0100, Gerd Hoffmann wrote:
>   Hi,
> 
> > > So in my humble opinion the right thing for people to do is simply
> > > to
> > > avoid legacy devices. Is something preventing that?
> > 
> > The same reasons why the concept of transitional devices exists at
> > all?
> 
> We discussing future driver versions running on future qemu versions,
> so we should have virtio 1.0 support on both ends.  So IMO the question
>  isn't that silly ...
> 
> But by default qemu uses transitional by default for non-express
> devices, i.e. for all i440fx machines types.  Which implies virtio-
> legacy compatible pci ids.
> 
> If we want change this we need a transitional/modern virtio config
> switch.  Not only in qemu, but for the whole management stack too.
> I don't think it is a good idea to go that route.
> 
> cheers,
>   Gerd

I think we already have that in libvirt.

Right now we just ignore the subsystem IDs if supplied but
maybe the right thing to do is to just disable legacy
mode if they are supplied.

Seems cleaner than ignoring the subsystem id but using the
subsystem vendor id.

-- 
MST



reply via email to

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