From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8tNe-0002eq-RA for qemu-devel@nongnu.org; Wed, 07 Jan 2015 11:22:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y8tNZ-0003BN-OR for qemu-devel@nongnu.org; Wed, 07 Jan 2015 11:22:46 -0500 Received: from e06smtp15.uk.ibm.com ([195.75.94.111]:44075) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8tNZ-0003BH-EQ for qemu-devel@nongnu.org; Wed, 07 Jan 2015 11:22:41 -0500 Received: from /spool/local by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 7 Jan 2015 16:22:40 -0000 Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id C75E62190045 for ; Wed, 7 Jan 2015 16:22:05 +0000 (GMT) Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t07GMbJk22020144 for ; Wed, 7 Jan 2015 16:22:37 GMT Received: from d06av04.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t07GMaYq009736 for ; Wed, 7 Jan 2015 09:22:36 -0700 Date: Wed, 7 Jan 2015 17:22:32 +0100 From: Cornelia Huck Message-ID: <20150107172232.57cbeb31.cornelia.huck@de.ibm.com> In-Reply-To: <20141228083206.GA6802@redhat.com> References: <1418304322-7546-1-git-send-email-cornelia.huck@de.ibm.com> <1418304322-7546-19-git-send-email-cornelia.huck@de.ibm.com> <20141228083206.GA6802@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH RFC v6 18/20] virtio: support revision-specific features List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: thuth@linux.vnet.ibm.com, rusty@rustcorp.com.au, qemu-devel@nongnu.org, virtualization@lists.linux-foundation.org On Sun, 28 Dec 2014 10:32:06 +0200 "Michael S. Tsirkin" wrote: > On Thu, Dec 11, 2014 at 02:25:20PM +0100, Cornelia Huck wrote: > > Devices may support different sets of feature bits depending on which > > revision they're operating at. Let's give the transport a way to > > re-query the device about its features when the revision has been > > changed. > > > > Signed-off-by: Cornelia Huck > > So now we have both get_features and get_features_rev, and > it's never clear which revision does host_features refer to. > IMHO that's just too messy. > Let's add get_legacy_features and host_legacy_features instead? I wanted to avoid touching anything that does not support version 1. And this interface might still work for later revisions, no?