diff mbox

[qemu] update-linux-headers: Add userfaultfd.h

Message ID 1455512381-15271-1-git-send-email-aik@ozlabs.ru
State New
Headers show

Commit Message

Alexey Kardashevskiy Feb. 15, 2016, 4:59 a.m. UTC
userfailtfd.h is used by post-copy migration so include it to
the update-linux-headers.sh as we want it updated altogether with
other kernel headers.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
---
 scripts/update-linux-headers.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Christian Borntraeger Feb. 18, 2016, 12:04 p.m. UTC | #1
On 02/15/2016 05:59 AM, Alexey Kardashevskiy wrote:
> userfailtfd.h is used by post-copy migration so include it to
> the update-linux-headers.sh as we want it updated altogether with
> other kernel headers.
> 
> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>

Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>

Paolo, shall that go via the KVM tree ?
> ---
>  scripts/update-linux-headers.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
> index ff5b0c7..6aa8407 100755
> --- a/scripts/update-linux-headers.sh
> +++ b/scripts/update-linux-headers.sh
> @@ -103,7 +103,7 @@ done
>  rm -rf "$output/linux-headers/linux"
>  mkdir -p "$output/linux-headers/linux"
>  for header in kvm.h kvm_para.h vfio.h vhost.h \
> -              psci.h; do
> +              psci.h userfaultfd.h; do
>      cp "$tmpdir/include/linux/$header" "$output/linux-headers/linux"
>  done
>  rm -rf "$output/linux-headers/asm-generic"
>
Paolo Bonzini March 8, 2016, 12:45 p.m. UTC | #2
On 18/02/2016 13:04, Christian Borntraeger wrote:
> On 02/15/2016 05:59 AM, Alexey Kardashevskiy wrote:
>> > userfailtfd.h is used by post-copy migration so include it to
>> > the update-linux-headers.sh as we want it updated altogether with
>> > other kernel headers.
>> > 
>> > Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
> Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
> 
> Paolo, shall that go via the KVM tree ?

After one month I guess I can take it with no worry of future regrets...

Paolo
diff mbox

Patch

diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
index ff5b0c7..6aa8407 100755
--- a/scripts/update-linux-headers.sh
+++ b/scripts/update-linux-headers.sh
@@ -103,7 +103,7 @@  done
 rm -rf "$output/linux-headers/linux"
 mkdir -p "$output/linux-headers/linux"
 for header in kvm.h kvm_para.h vfio.h vhost.h \
-              psci.h; do
+              psci.h userfaultfd.h; do
     cp "$tmpdir/include/linux/$header" "$output/linux-headers/linux"
 done
 rm -rf "$output/linux-headers/asm-generic"