qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] update-linux-headers: drop hyperv.h


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] update-linux-headers: drop hyperv.h
Date: Fri, 13 Apr 2018 16:36:54 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 13/04/2018 16:33, Roman Kagan wrote:
> As of mainline linux commit 5a485803221777013944cbd1a7cd5c62efba3ffa
> "x86/hyper-v: move hyperv.h out of uapi" by Vitaly Kuznetsov, no linux
> uapi header includes it, so we no longer need to create a stub for it.
> 
> Cc: Vitaly Kuznetsov <address@hidden>
> Signed-off-by: Roman Kagan <address@hidden>
> ---
>  scripts/update-linux-headers.sh | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
> index 5b1d8dcdf4..b65c03f0ae 100755
> --- a/scripts/update-linux-headers.sh
> +++ b/scripts/update-linux-headers.sh
> @@ -118,9 +118,6 @@ for arch in $ARCHLIST; do
>          cp "$tmpdir/include/asm/unistd-common.h" 
> "$output/linux-headers/asm-arm/"
>      fi
>      if [ $arch = x86 ]; then
> -        cat <<-EOF >"$output/include/standard-headers/asm-x86/hyperv.h"
> -        /* this is a temporary placeholder until kvm_para.h stops including 
> it */
> -EOF
>          cp "$tmpdir/include/asm/unistd_32.h" "$output/linux-headers/asm-x86/"
>          cp "$tmpdir/include/asm/unistd_x32.h" 
> "$output/linux-headers/asm-x86/"
>          cp "$tmpdir/include/asm/unistd_64.h" "$output/linux-headers/asm-x86/"
> @@ -144,9 +141,6 @@ else
>      cp "$linux/COPYING" "$output/linux-headers"
>  fi
>  
> -cat <<EOF >$output/linux-headers/asm-x86/hyperv.h
> -#include "standard-headers/asm-x86/hyperv.h"
> -EOF
>  cat <<EOF >$output/linux-headers/linux/virtio_config.h
>  #include "standard-headers/linux/virtio_config.h"
>  EOF
> 

Queued, thanks.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]