From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNTLN-0006pj-BG for qemu-devel@nongnu.org; Mon, 16 Feb 2015 16:36:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNTLK-00051u-CE for qemu-devel@nongnu.org; Mon, 16 Feb 2015 16:36:41 -0500 Received: from mail.kernel.org ([198.145.29.136]:48174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNTLK-00050q-6Q for qemu-devel@nongnu.org; Mon, 16 Feb 2015 16:36:38 -0500 Date: Mon, 16 Feb 2015 22:36:32 +0100 From: "Michael S. Tsirkin" Message-ID: <1424122283-12521-13-git-send-email-mst@redhat.com> References: <1424122283-12521-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1424122283-12521-1-git-send-email-mst@redhat.com> Subject: [Qemu-devel] [PATCH v3 12/17] update-linux-headers: use standard-headers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Thomas Huth , Alexander Graf , Stefan Hajnoczi , Cornelia Huck , "Chen, Tiejun" Drop the linux-specific virtio headers, use the copy from standard-headers instead. Signed-off-by: Michael S. Tsirkin --- scripts/update-linux-headers.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh index 8926dec..5ab3914 100755 --- a/scripts/update-linux-headers.sh +++ b/scripts/update-linux-headers.sh @@ -91,7 +91,7 @@ done rm -rf "$output/linux-headers/linux" mkdir -p "$output/linux-headers/linux" -for header in kvm.h kvm_para.h vfio.h vhost.h virtio_config.h virtio_ring.h \ +for header in kvm.h kvm_para.h vfio.h vhost.h \ psci.h; do cp "$tmpdir/include/linux/$header" "$output/linux-headers/linux" done @@ -106,6 +106,12 @@ else cp "$linux/COPYING" "$output/linux-headers" fi +cat <$output/linux-headers/linux/virtio_config.h +#include "standard-headers/linux/virtio_config.h" +EOF +cat <$output/linux-headers/linux/virtio_ring.h +#include "standard-headers/linux/virtio_ring.h" +EOF cp_virtio "$tmpdir/include/linux/" "$output/include/standard-headers/linux" -- MST