On Wed,  9 Sep 2015 18:34:01 +0200
Paolo Bonzini <pbonz...@redhat.com> 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 <pbonz...@redhat.com>
> ---
>  .../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 <cornelia.h...@de.ibm.com>


Reply via email to