Received: from eggs.gnu.org ([2001:4830:134:3::10]:52304) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZwBn-0002w3-8T for qemu-devel@nongnu.org; Thu, 10 Sep 2015 03:22:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZwBi-0005Kh-BA for qemu-devel@nongnu.org; Thu, 10 Sep 2015 03:22:35 -0400 Received: from e06smtp17.uk.ibm.com ([195.75.94.113]:52922) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZwBi-0005KY-1R for qemu-devel@nongnu.org; Thu, 10 Sep 2015 03:22:30 -0400 Received: from /spool/local by e06smtp17.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 10 Sep 2015 08:22:28 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id EC61017D8024 for ; Thu, 10 Sep 2015 08:24:11 +0100 (BST) Received: from d06av11.portsmouth.uk.ibm.com (d06av11.portsmouth.uk.ibm.com [9.149.37.252]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t8A7MPud31588430 for ; Thu, 10 Sep 2015 07:22:25 GMT Received: from d06av11.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av11.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t8A7MPOc030870 for ; Thu, 10 Sep 2015 01:22:25 -0600 Date: Thu, 10 Sep 2015 09:22:23 +0200 From: Cornelia Huck Message-ID: <20150910092223.411e4aa9.cornelia.huck@de.ibm.com> In-Reply-To: <1441816441-7730-3-git-send-email-pbonzini@redhat.com> References: <1441816441-7730-1-git-send-email-pbonzini@redhat.com> <1441816441-7730-3-git-send-email-pbonzini@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 2/2] target-i386: move asm-x86/hyperv.h to standard-headers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: den@openvz.org, qemu-devel@nongnu.org, mst@redhat.com On Wed, 9 Sep 2015 18:34:01 +0200 Paolo Bonzini 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 > --- > .../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