From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 18 Jan 2022 05:41:43 -0500 From: "Michael S. Tsirkin" Subject: Re: [PATCH 1/5] Add virtio Admin Virtqueue specification Message-ID: <20220118053903-mutt-send-email-mst@kernel.org> References: <20220113124137-mutt-send-email-mst@kernel.org> <4946a0fe-70f0-43cc-6730-f8ab0f3d8687@nvidia.com> <20220117160951-mutt-send-email-mst@kernel.org> <20220118011334-mutt-send-email-mst@kernel.org> <20220118030205-mutt-send-email-mst@kernel.org> <20220118052128-mutt-send-email-mst@kernel.org> MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Disposition: inline To: Parav Pandit Cc: Max Gurtovoy , "cohuck@redhat.com" , "virtio-dev@lists.oasis-open.org" , "jasowang@redhat.com" , Shahaf Shuler , Oren Duer , "stefanha@redhat.com" List-ID: On Tue, Jan 18, 2022 at 10:30:38AM +0000, Parav Pandit wrote: > > > > From: Michael S. Tsirkin > > Sent: Tuesday, January 18, 2022 3:57 PM > > > > On Tue, Jan 18, 2022 at 08:23:57AM +0000, Parav Pandit wrote: > > > > > > > From: Michael S. Tsirkin > > > > Sent: Tuesday, January 18, 2022 1:36 PM > > > > > > [..] > > > > > > > > You can map it to a queue, yes. But something static and > > > > > > > > read only such as list of commands maps well to config > > > > > > > > space. And it's not controlling one device from another, so > > > > > > > > does not really seem to belong in > > > > > > the admin queue. > > > > > > > > > > > > > > > Aq serves the writing device config too in patch-5 in this patchset. > > > > > > > > > > > > List of available admin commands does not need to be written. > > > > > > > > > > > It is not written into the aq commands. > > > > > It is part of the feature bit VIRTIO_F_ADMIN_PCI_VIRT_MANAGER > > > > > indicating > > > > a given functionality supported or not in patch-5. > > > > > > > > > > > > Btw I don't see what does "VIRT_MANAGER" mean here. "manager" is > > > > just a generic thing that means nothing, and VIRT just repeats VIRTIO. > > > > > > > VIRT doesn't repeat VIRTIO. > > > > It's literally a substring ;) > > > > > VIRT indicates PCI virtual functions. > > > > I'd use something like "SRIOV" then. > Yeah. This is good short string. > How about VIRTIO_F_ADMIN_PCI_SRIOV? OK -- MST