From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOh00-0005Jy-Pz for qemu-devel@nongnu.org; Mon, 19 Nov 2018 05:41:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gOgzu-0007fr-RE for qemu-devel@nongnu.org; Mon, 19 Nov 2018 05:41:48 -0500 Received: from mx1.redhat.com ([209.132.183.28]:50642) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gOgzs-0007cm-TZ for qemu-devel@nongnu.org; Mon, 19 Nov 2018 05:41:42 -0500 Date: Mon, 19 Nov 2018 11:41:05 +0100 From: Cornelia Huck Message-ID: <20181119114105.4da89f2c.cohuck@redhat.com> In-Reply-To: <20181116034551.GK3807@habkost.net> References: <20181114233831.10374-1-ehabkost@redhat.com> <20181116034551.GK3807@habkost.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH for-4.0 v2] virtio: Provide version-specific variants of virtio PCI devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost Cc: Andrea Bolognani , "Michael S. Tsirkin" , qemu-devel@nongnu.org, Gonglei , Paolo Bonzini , Amit Shah , Cleber Rosa , Marcel Apfelbaum , Fam Zheng , Kevin Wolf , Max Reitz , Jason Wang , Wainer dos Santos Moschetta , Philippe =?UTF-8?B?TWF0aGlldS1EYXVkw6k=?= , libvir-list@redhat.com, Markus Armbruster , Laine Stump , Stefan Hajnoczi , Gerd Hoffmann , "Daniel P. =?UTF-8?B?QmVycmFuZ8Op?=" , Caio Carrara On Fri, 16 Nov 2018 01:45:51 -0200 Eduardo Habkost wrote: > On Thu, Nov 15, 2018 at 05:29:24PM +0100, Andrea Bolognani wrote: > > One thing that I'm very much not convinced about is the naming, > > specifically leaving the virtio revision out: I get it that we > > Should Never Need=E2=84=A2 another major version of the spec, but I'm > > afraid discounting the possibility outright might prove to be > > shortsighted and come back to bite us later, so I'd much rather > > keep it. > >=20 > > And once that's done, "non-transitional" (while matching the > > language of the spec) starts to look a bit unnecessary when you > > could simply have > >=20 > > virtio-*-pci > > virtio-*-pci-1 > > virtio-*-pci-1-transitional > >=20 > > instead. But I don't feel as strongly about this as I do about > > keeping the virtio revision in the device name :) =20 >=20 > I like that suggestion. Makes the device names more explicit > _and_ shorter. I'll do that in v3. OTOH, that would mean we'd need to introduce new device types if we ever start to support a virtio 2.x standard. My understanding was that we'll want separate device types for transitional and non-transitional for two reasons: the bus which a device can be plugged into, and changing ids. Do we really expect huge changes in a possible 2.x standard that affect virtio-pci only, and not other virtio transports as well?