From: Eric Auger <eric.auger@redhat.com>
To: Cornelia Huck <cohuck@redhat.com>,
eric.auger.pro@gmail.com, qemu-arm@nongnu.org,
qemu-devel@nongnu.org, mst@redhat.com, peter.maydell@linaro.org
Cc: jean-philippe@linaro.org, abologna@redhat.com
Subject: Re: [PATCH] virtio-iommu: Remove non transitional name
Date: Wed, 13 Oct 2021 14:42:02 +0200 [thread overview]
Message-ID: <ddf10477-6c70-748e-6bfd-4a5498c1e7e3@redhat.com> (raw)
In-Reply-To: <875yu1w74z.fsf@redhat.com>
Hi Connie,
On 10/13/21 12:28 PM, Cornelia Huck wrote:
> On Wed, Oct 13 2021, Eric Auger <eric.auger@redhat.com> wrote:
>
>> Remove non transitional name for virtio iommu. Like other
>> devices introduced after 1.0 spec, the virtio-iommu does
>> not need it.
>>
>> Signed-off-by: Eric Auger <eric.auger@redhat.com>
>> Reported-by: Andrea Bolognani <abologna@redhat.com>
>> ---
>> hw/virtio/virtio-iommu-pci.c | 1 -
>> 1 file changed, 1 deletion(-)
>>
>> diff --git a/hw/virtio/virtio-iommu-pci.c b/hw/virtio/virtio-iommu-pci.c
>> index 770c286be7..86fa4e6c28 100644
>> --- a/hw/virtio/virtio-iommu-pci.c
>> +++ b/hw/virtio/virtio-iommu-pci.c
>> @@ -100,7 +100,6 @@ static void virtio_iommu_pci_instance_init(Object *obj)
>> static const VirtioPCIDeviceTypeInfo virtio_iommu_pci_info = {
>> .base_name = TYPE_VIRTIO_IOMMU_PCI,
>> .generic_name = "virtio-iommu-pci",
>> - .non_transitional_name = "virtio-iommu-pci-non-transitional",
>> .instance_size = sizeof(VirtIOIOMMUPCI),
>> .instance_init = virtio_iommu_pci_instance_init,
>> .class_init = virtio_iommu_pci_class_init,
> No objections, but I'm a bit confused regarding base_name and
> generic_name here. Can you drop base_name, re-define
> TYPE_VIRTIO_IOMMU_PCI to "virtio-iommu-pci", and switch generic_name
> over to it? I think that would be more in line with other modern-only
> devices. AFAICS, the places using the #define should continue to work.
>
Sure, this all makes sense to me.
Thanks!
Eric
prev parent reply other threads:[~2021-10-13 12:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-13 9:55 [PATCH] virtio-iommu: Remove non transitional name Eric Auger
2021-10-13 10:28 ` Cornelia Huck
2021-10-13 12:42 ` Eric Auger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ddf10477-6c70-748e-6bfd-4a5498c1e7e3@redhat.com \
--to=eric.auger@redhat.com \
--cc=abologna@redhat.com \
--cc=cohuck@redhat.com \
--cc=eric.auger.pro@gmail.com \
--cc=jean-philippe@linaro.org \
--cc=mst@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).