Re: [virtio] [OASIS Issue Tracker] Created: (VIRTIO-35) race condition with multi-dword config accesses

From
Pawel Moll <>
Date
2013-10-10T14:53:48+00:00
ID
1381416826.8122.4.camel@hornet
Thread
Re: [virtio] [OASIS Issue Tracker] Created: (VIRTIO-35) race condition with multi-dword config accesses
On Thu, 2013-10-10 at 12:26 +0100, Michael S. Tsirkin wrote:
> I think a transitional device should report version 1.
> In legacy drivers version is checked before features are probed
> so as far as I can see there's no way for device to detect a legacy driver and
> switch that to 1 dynamically.
> 
> I'm not saying spec should force anyone to implement
> transitional devices, but I don't see why it should
> make this completely impossible.
> 
> So I think that a device compliant with the spec can report versions 1 or 2.

I'll repeat myself. The version register defines the registers layout.
Different register layout, different version number. And let me put this
thing clear - you will not convince my otherwise. You can vote me wrong.

Paweł