[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 2/2] target-i386: move asm-x86/hyperv.h to st
From: |
Cornelia Huck |
Subject: |
Re: [Qemu-devel] [PATCH v2 2/2] target-i386: move asm-x86/hyperv.h to standard-headers |
Date: |
Thu, 10 Sep 2015 09:22:23 +0200 |
On Wed, 9 Sep 2015 18:34:01 +0200
Paolo Bonzini <address@hidden> wrote:
> The Hyper-V definitions are an industry standard and can be used
> from code that is not KVM-specific.
>
> The changes to scripts/update-linux-headers.sh are required because there
> is both an asm-x86/hyperv.h and a linux/hyperv.h file. linux/hyperv.h
> introduces dependencies on additional Linux uapi headers, so we only
> want the former.
>
> 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>
> ---
> .../standard-headers}/asm-x86/hyperv.h | 10 +-
> linux-headers/asm-x86/hyperv.h | 253
> +-----------------------------
> scripts/update-linux-headers.sh | 79 +++++-----
> target-i386/kvm.c | 2 +-
> 4 files changed, 52 insertions(+), 295 deletions(-)
> copy {linux-headers => include/standard-headers}/asm-x86/hyperv.h (98%)
Reviewed-by: Cornelia Huck <address@hidden>
- [Qemu-devel] [PATCH v2 0/2] update-linux-headers changes, Paolo Bonzini, 2015/09/09
- [Qemu-devel] [PATCH v2 2/2] target-i386: move asm-x86/hyperv.h to standard-headers, Paolo Bonzini, 2015/09/09
- Re: [Qemu-devel] [PATCH v2 2/2] target-i386: move asm-x86/hyperv.h to standard-headers,
Cornelia Huck <=
- Re: [Qemu-devel] [PATCH v2 2/2] target-i386: move asm-x86/hyperv.h to standard-headers, Michael S. Tsirkin, 2015/09/10
- Re: [Qemu-devel] [PATCH v2 2/2] target-i386: move asm-x86/hyperv.h to standard-headers, Cornelia Huck, 2015/09/10
- Re: [Qemu-devel] [PATCH v2 2/2] target-i386: move asm-x86/hyperv.h to standard-headers, Paolo Bonzini, 2015/09/10
- Re: [Qemu-devel] [PATCH v2 2/2] target-i386: move asm-x86/hyperv.h to standard-headers, Michael S. Tsirkin, 2015/09/10
- Re: [Qemu-devel] [PATCH v2 2/2] target-i386: move asm-x86/hyperv.h to standard-headers, Paolo Bonzini, 2015/09/10
- Re: [Qemu-devel] [PATCH v2 2/2] target-i386: move asm-x86/hyperv.h to standard-headers, Michael S. Tsirkin, 2015/09/10
- Re: [Qemu-devel] [PATCH v2 2/2] target-i386: move asm-x86/hyperv.h to standard-headers, Paolo Bonzini, 2015/09/10
[Qemu-devel] [PATCH v2 1/2] update Linux headers to 4.2, Paolo Bonzini, 2015/09/09
Re: [Qemu-devel] [PATCH v2 0/2] update-linux-headers changes, Denis V. Lunev, 2015/09/10