Hi Eric,

>-----Original Message-----
>From: Eric Auger <eric.au...@redhat.com>
>Subject: Re: [PATCH v3 05/20] hw/pci: Export
>pci_device_get_iommu_bus_devfn() and return bool
>
>
>
>On 7/8/25 1:05 PM, Zhenzhong Duan wrote:
>> Returns true if PCI device is aliased or false otherwise. This will be
>> used in following patch to determine if a PCI device is under a PCI
>> bridge.
>>
>> Signed-off-by: Zhenzhong Duan <zhenzhong.d...@intel.com>
>> ---
>>  hw/pci/pci.c         | 12 ++++++++----
>>  include/hw/pci/pci.h |  2 ++
>>  2 files changed, 10 insertions(+), 4 deletions(-)
>>
>> diff --git a/hw/pci/pci.c b/hw/pci/pci.c
>> index df1fb615a8..87f7c942b3 100644
>> --- a/hw/pci/pci.c
>> +++ b/hw/pci/pci.c
>> @@ -2857,20 +2857,21 @@ static void
>pci_device_class_base_init(ObjectClass *klass, const void *data)
>>   * For call sites which don't need aliased BDF, passing NULL to
>>   * aliased_[bus|devfn] is allowed.
>>   *
>> + * Returns true if PCI device is aliased or false otherwise.
>s/PCI device/PCI device RID
>
>Besides
>Reviewed-by: Eric Auger <eric.au...@redhat.com>

Applied your suggestions for PATCH2-5, see 
https://github.com/yiliu1765/qemu/commits/zhenzhong/iommufd_nesting.v4.wip/

Thanks
Zhenzhong

Reply via email to