[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 3/4] update-linux-headers: copy standard-head
From: |
Cornelia Huck |
Subject: |
Re: [Qemu-devel] [PATCH v3 3/4] update-linux-headers: copy standard-headers files one by one |
Date: |
Thu, 10 Sep 2015 12:33:43 +0200 |
On Thu, 10 Sep 2015 11:39:37 +0200
Paolo Bonzini <address@hidden> wrote:
> cp_virtio is called for both the asm-s390/ and linux/ directories,
> so it looks for pci_regs.h and input.h files in asm-s390/ too. This
> makes little sense. In the next patch we will have the opposite
> problem; we want to add asm-x86/hyperv.h, and there's also a
> linux/hyperv.h file with unwanted dependencies on additional Linux
> uapi headers. We do not want to copy linux/hyperv.h.
>
> The solution is to make cp_virtio (now renamed to cp_portable) copy
> one file only, instead of using the "find" command, and call it multiple
> times. The new function is really just a reindentation of the old one.
>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
> scripts/update-linux-headers.sh | 69
> +++++++++++++++++++++--------------------
> 1 file changed, 36 insertions(+), 33 deletions(-)
Reviewed-by: Cornelia Huck <address@hidden>
- [Qemu-devel] [PATCH v3 0/2] update-linux-headers changes, Paolo Bonzini, 2015/09/10
- [Qemu-devel] [PATCH v3 1/4] pci: remove Link Training error from AER error list, Paolo Bonzini, 2015/09/10
- [Qemu-devel] [PATCH v3 3/4] update-linux-headers: copy standard-headers files one by one, Paolo Bonzini, 2015/09/10
- [Qemu-devel] [PATCH v3 2/4] update Linux headers to 4.2, Paolo Bonzini, 2015/09/10
- [Qemu-devel] [PATCH v3 4/4] target-i386: move asm-x86/hyperv.h to standard-headers, Paolo Bonzini, 2015/09/10
- Re: [Qemu-devel] [PATCH v3 0/2] update-linux-headers changes, Denis V. Lunev, 2015/09/11