[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] update-linux-headers.sh: Pull in asm-generic/kv
From: |
Jan Kiszka |
Subject: |
Re: [Qemu-devel] [PATCH] update-linux-headers.sh: Pull in asm-generic/kvm_para.h |
Date: |
Sat, 28 Jul 2012 12:20:23 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
On 2012-07-25 17:29, Peter Maydell wrote:
> Add asm-generic/kvm_para.h to the set of non-architecture specific
> KVM kernel headers we copy into QEMU. This header may be included
> by an architecture's kvm_para.h header.
>
> Signed-off-by: Peter Maydell <address@hidden>
> ---
> scripts/update-linux-headers.sh | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
> index 9d2a4bc..a639c5b 100755
> --- a/scripts/update-linux-headers.sh
> +++ b/scripts/update-linux-headers.sh
> @@ -46,6 +46,11 @@ mkdir -p "$output/linux-headers/linux"
> for header in kvm.h kvm_para.h vhost.h virtio_config.h virtio_ring.h; do
> cp "$tmpdir/include/linux/$header" "$output/linux-headers/linux"
> done
> +rm -rf "$output/linux-headers/asm-generic"
> +mkdir -p "$output/linux-headers/asm-generic"
> +for header in kvm_para.h; do
> + cp "$tmpdir/include/asm-generic/$header"
> "$output/linux-headers/asm-generic"
> +done
> if [ -L "$linux/source" ]; then
> cp "$linux/source/COPYING" "$output/linux-headers"
> else
>
Reviewed-by: Jan Kiszka <address@hidden>
signature.asc
Description: OpenPGP digital signature