From nobody Mon Feb 9 17:36:58 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.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 208.118.235.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 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1546590548063633.8868642396443; Fri, 4 Jan 2019 00:29:08 -0800 (PST) Received: from localhost ([127.0.0.1]:60310 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfKqo-0003en-PR for importer@patchew.org; Fri, 04 Jan 2019 03:29:06 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfKpK-0002Vn-MZ for qemu-devel@nongnu.org; Fri, 04 Jan 2019 03:27:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfKpJ-0004qx-NQ for qemu-devel@nongnu.org; Fri, 04 Jan 2019 03:27:34 -0500 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]:40665) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gfKpJ-0004py-Gj for qemu-devel@nongnu.org; Fri, 04 Jan 2019 03:27:33 -0500 Received: by mail-wm1-x344.google.com with SMTP id f188so450403wmf.5 for ; Fri, 04 Jan 2019 00:27:33 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6468:f312:54c4:c62d:27e1:f771]) by smtp.gmail.com with ESMTPSA id c65sm440852wma.24.2019.01.04.00.27.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 Jan 2019 00:27:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iOpDQJpHUTIMjGxCVF3RtUYwsjHK6hRk4ydasM0K3/M=; b=qhm87ZZ3/Kn9HpE9WdqXqqZRbvyHyYZACqwj+ehFTgmUSX8YAhanH/R8zKHdyxqNKV EXbO4JdCgi/WbzhiqeXeim/eedtSfST9uaQq7OEH0guXV9jJnPV49IK3n0GZ1zH/A5Cg LfOjQi3yYkQ6aX9ivM97BniyKCRoujYKscpBnUe8gmD5o+RI3S6fthnVpZhkQZi1ZWgs txGQTnE2vDvIkidXP+qhtsSRAMo/wecZTloQkz2zhZ46Xt97XL3lyf4HoviUrCT8VKoN JVFZxoCGCwiCF/JMSZvXaQ2vQqhLHTgV/jJJ2A1M7fuDdq3N7GMzUEeehNbNvw9gF9MQ SLxA== 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:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=iOpDQJpHUTIMjGxCVF3RtUYwsjHK6hRk4ydasM0K3/M=; b=WIvekdWn5GXqNDpZlQ8Y2UAsCxvC6bxcsPz/C6KyIYr2V8AosMJp7uVhCjs1pVqJmB qBlHUoETC2HdAB8mFrvLaO2i9yDAu6sseZBSP2pubM4UbWK74xNu8n36uB2qIZbv1590 43B4kPG9ipJrZEQJegCfu1JrFV7GpdmmmWbapJ08N7tKMcgar49cGIDTi6sPGpU4MgCD LZpn8Z1xICvMIVwmTTqIq4/dMsUgptcHLDMZ4jHwJdPVdK+QGCGmzRD0DJOzTDXa/hzh sNsrSoW3V6B04AnGyL/hkMtxFzVkP3q5bCvdkcIcj7mhFSNb/MIFec6WHwyZbXn1xTJH kPfg== X-Gm-Message-State: AJcUukejicP0/zVIAEQQsa/YtufDQupq4vr5Q/eAN6C+FXI1al9uGJ5r hFGPs3753t2OBnWrJq1spkzyY7S6KyM= X-Google-Smtp-Source: ALg8bN5qgjmjNow0WUykgJDA8WRxS/ciSM4dPzVr1U1TXCAUc3jHeqCcDruiwRWo/LKvshVst5LTpA== X-Received: by 2002:a1c:d00d:: with SMTP id h13mr594710wmg.13.1546590452164; Fri, 04 Jan 2019 00:27:32 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Fri, 4 Jan 2019 09:27:30 +0100 Message-Id: <20190104082731.24967-2-pbonzini@redhat.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190104082731.24967-1-pbonzini@redhat.com> References: <20190104082731.24967-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::344 Subject: [Qemu-devel] [PATCH 1/2] 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: , Cc: peter.maydell@linaro.org, cohuck@redhat.com, mst@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) 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 Reviewed-by: Cornelia Huck Reviewed-by: Peter Maydell --- 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 0a964fe240..c933489cbc 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 2.20.1