diff mbox series

[v3,01/15] scripts/update-linux-headers: Add iommufd.h

Message ID 20231003101530.288864-2-eric.auger@redhat.com
State New
Headers show
Series Prerequisite changes for IOMMUFD support | expand

Commit Message

Eric Auger Oct. 3, 2023, 10:13 a.m. UTC
Update the script to import iommufd.h

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
---
 scripts/update-linux-headers.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Cédric Le Goater Oct. 3, 2023, 1:50 p.m. UTC | #1
On 10/3/23 12:13, Eric Auger wrote:
> Update the script to import iommufd.h
> 
> Signed-off-by: Eric Auger <eric.auger@redhat.com>
> Signed-off-by: Yi Liu <yi.l.liu@intel.com>
> Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>


Reviewed-by: Cédric Le Goater <clg@redhat.com>

Thanks,

C.


> ---
>   scripts/update-linux-headers.sh | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
> index 35a64bb501..34295c0fe5 100755
> --- a/scripts/update-linux-headers.sh
> +++ b/scripts/update-linux-headers.sh
> @@ -161,7 +161,8 @@ done
>   rm -rf "$output/linux-headers/linux"
>   mkdir -p "$output/linux-headers/linux"
>   for header in const.h stddef.h kvm.h vfio.h vfio_ccw.h vfio_zdev.h vhost.h \
> -              psci.h psp-sev.h userfaultfd.h memfd.h mman.h nvme_ioctl.h vduse.h; do
> +              psci.h psp-sev.h userfaultfd.h memfd.h mman.h nvme_ioctl.h \
> +              vduse.h iommufd.h; do
>       cp "$tmpdir/include/linux/$header" "$output/linux-headers/linux"
>   done
>
Eric Auger Oct. 3, 2023, 2:09 p.m. UTC | #2
Hi Cédric,

On 10/3/23 15:50, Cédric Le Goater wrote:
> On 10/3/23 12:13, Eric Auger wrote:
>> Update the script to import iommufd.h
>>
>> Signed-off-by: Eric Auger <eric.auger@redhat.com>
>> Signed-off-by: Yi Liu <yi.l.liu@intel.com>
>> Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
>
>
> Reviewed-by: Cédric Le Goater <clg@redhat.com>
Sorry I forgot to grab it :-(

Eric
>
> Thanks,
>
> C.
>
>
>> ---
>>   scripts/update-linux-headers.sh | 3 ++-
>>   1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/scripts/update-linux-headers.sh
>> b/scripts/update-linux-headers.sh
>> index 35a64bb501..34295c0fe5 100755
>> --- a/scripts/update-linux-headers.sh
>> +++ b/scripts/update-linux-headers.sh
>> @@ -161,7 +161,8 @@ done
>>   rm -rf "$output/linux-headers/linux"
>>   mkdir -p "$output/linux-headers/linux"
>>   for header in const.h stddef.h kvm.h vfio.h vfio_ccw.h vfio_zdev.h
>> vhost.h \
>> -              psci.h psp-sev.h userfaultfd.h memfd.h mman.h
>> nvme_ioctl.h vduse.h; do
>> +              psci.h psp-sev.h userfaultfd.h memfd.h mman.h
>> nvme_ioctl.h \
>> +              vduse.h iommufd.h; do
>>       cp "$tmpdir/include/linux/$header" "$output/linux-headers/linux"
>>   done
>>   
>
diff mbox series

Patch

diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
index 35a64bb501..34295c0fe5 100755
--- a/scripts/update-linux-headers.sh
+++ b/scripts/update-linux-headers.sh
@@ -161,7 +161,8 @@  done
 rm -rf "$output/linux-headers/linux"
 mkdir -p "$output/linux-headers/linux"
 for header in const.h stddef.h kvm.h vfio.h vfio_ccw.h vfio_zdev.h vhost.h \
-              psci.h psp-sev.h userfaultfd.h memfd.h mman.h nvme_ioctl.h vduse.h; do
+              psci.h psp-sev.h userfaultfd.h memfd.h mman.h nvme_ioctl.h \
+              vduse.h iommufd.h; do
     cp "$tmpdir/include/linux/$header" "$output/linux-headers/linux"
 done