From nobody Fri Nov 7 14:31:55 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1548094175346752.348116696527; Mon, 21 Jan 2019 10:09:35 -0800 (PST) Received: from localhost ([127.0.0.1]:57368 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gle0s-0006Ny-8j for importer@patchew.org; Mon, 21 Jan 2019 13:09:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51518) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gldy1-0004GS-Ka for qemu-devel@nongnu.org; Mon, 21 Jan 2019 13:06:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gldxz-00040l-Dk for qemu-devel@nongnu.org; Mon, 21 Jan 2019 13:06:37 -0500 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:39720) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gldxw-0003t0-Qk for qemu-devel@nongnu.org; Mon, 21 Jan 2019 13:06:33 -0500 Received: by mail-wr1-x430.google.com with SMTP id t27so24474408wra.6 for ; Mon, 21 Jan 2019 10:06:25 -0800 (PST) Received: from 640k.lan ([93.56.166.5]) by smtp.gmail.com with ESMTPSA id 133sm56197732wme.9.2019.01.21.10.06.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Jan 2019 10:06:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references; bh=xPtUR0Y5sgMvqK0Ux7iHdR6EXlOLTaTlZowlzZElBSA=; b=cqmhT0OlK27Bo/NTgsVfVC+iXx0B5i8WbpxFhz9+lLBwAm3aSheCQLYbvO3SyAOMgt 5mBsdnkcmvjvyfEQpt6zpB5lHYAZ8HO8D+n0LmDU6PiV809mI2cO7Gz8sY0cWIYlJIGa O173xzsFn3qINGNLxPIXjI1qN9ZixcFTywDp/B7FjuFW68t1k3S6cFA8mIzebNFrDxa/ 9gYk/RDRl8qpnI4EfTAilj2b10ZhnmNh91xm1BoY2PXeetrOszaJEUDaNjtG0o2wJ8rk nNLyKyqI1K5lAX7QCGbXPBkfNToARtQbxYSA2v6hRZv/ndozMBB1iyFOJ8ckmybfkNUl Qsog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references; bh=xPtUR0Y5sgMvqK0Ux7iHdR6EXlOLTaTlZowlzZElBSA=; b=tlAvnbNgFFxHQiUHdQk5/t4LiKQxfqEDZrReWYIrgEZfItXPqE9UlYIkwaH9vWqvR7 dWJ/0mWfvz5L5XViSVutFsFrMG1yajLknIrdKy55pnSZJmytJE+W/ygKANRreT6bUYfY yvvNmsOJqOejo88yxU2K+sH+vI7aZzC5qv5V+DLJ7w5+DM3sv44wDaH+WTB5L6Bjc3Ob /70LLNfHkeyKsZt1UP4Srwbp36C3MSTlpapqTzownwPiU7Q1EQt1/GA2N+CMDGldi+Tg qq6rEX1lWuEu6ZOey0ikO2S/MNbYh6r6wSigRdRaHSbgsTvR6+FixSoHcztF6DfXrm96 tp8w== X-Gm-Message-State: AJcUukc6rcyPr8mnQcpttUkWLKhHLXqX4hh9bbG0tFwHMhl9vH0IKQYb i/RDgSSB1lA0Dhvx5smolFkcf4gr X-Google-Smtp-Source: ALg8bN6eWV4rPKhhXM+288fWAEinjn8T+IRB+zsSIbkfUW+TCKKW9gO6UF/hl+UvIxqGMTaFBGe40Q== X-Received: by 2002:adf:8342:: with SMTP id 60mr27479238wrd.212.1548093984263; Mon, 21 Jan 2019 10:06:24 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Mon, 21 Jan 2019 19:05:32 +0100 Message-Id: <1548093980-43088-2-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1548093980-43088-1-git-send-email-pbonzini@redhat.com> References: <1548093980-43088-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::430 Subject: [Qemu-devel] [PULL 01/49] scripts/update-linux-headers.sh: adjust for Linux 4.21-rc1 (or 5.0-rc1) X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" There are three new indirect inclusions: vhost_types.h, which we'll shortly put to use as a portable header and thus is copied to standard-headers; and new per-subtarget versions of MIPS unistd.h and PowerPC unistd.h. Because vhost.h includes vhost_types.h, we also need a proxy include from linux/vhost.h to standard-headers. Signed-off-by: Paolo Bonzini Message-Id: <20190104082731.24967-2-pbonzini@redhat.com> Reviewed-by: Cornelia Huck Reviewed-by: Peter Maydell Reviewed-by: Michael S. Tsirkin Signed-off-by: Paolo Bonzini --- scripts/update-linux-headers.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers= .sh index 0a964fe..c933489 100755 --- a/scripts/update-linux-headers.sh +++ b/scripts/update-linux-headers.sh @@ -101,6 +101,13 @@ for arch in $ARCHLIST; do =20 if [ $arch =3D mips ]; then cp "$tmpdir/include/asm/sgidefs.h" "$output/linux-headers/asm-mips= /" + cp "$tmpdir/include/asm/unistd_o32.h" "$output/linux-headers/asm-m= ips/" + cp "$tmpdir/include/asm/unistd_n32.h" "$output/linux-headers/asm-m= ips/" + cp "$tmpdir/include/asm/unistd_n64.h" "$output/linux-headers/asm-m= ips/" + fi + if [ $arch =3D powerpc ]; then + cp "$tmpdir/include/asm/unistd_32.h" "$output/linux-headers/asm-po= werpc/" + cp "$tmpdir/include/asm/unistd_64.h" "$output/linux-headers/asm-po= werpc/" fi =20 rm -rf "$output/include/standard-headers/asm-$arch" @@ -162,6 +169,9 @@ EOF cat <$output/linux-headers/linux/virtio_ring.h #include "standard-headers/linux/virtio_ring.h" EOF +cat <$output/linux-headers/linux/vhost_types.h +#include "standard-headers/linux/vhost_types.h" +EOF =20 rm -rf "$output/include/standard-headers/linux" mkdir -p "$output/include/standard-headers/linux" @@ -171,6 +181,7 @@ for i in "$tmpdir"/include/linux/*virtio*.h \ "$tmpdir/include/linux/input-event-codes.h" \ "$tmpdir/include/linux/pci_regs.h" \ "$tmpdir/include/linux/ethtool.h" "$tmpdir/include/linux/kernel.h= " \ + "$tmpdir/include/linux/vhost_types.h" \ "$tmpdir/include/linux/sysinfo.h"; do cp_portable "$i" "$output/include/standard-headers/linux" done --=20 1.8.3.1