From patchwork Wed Jun 21 16:24:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Kagan X-Patchwork-Id: 9802227 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 081C7600C5 for ; Wed, 21 Jun 2017 16:26:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EBA462854A for ; Wed, 21 Jun 2017 16:26:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DD1902862E; Wed, 21 Jun 2017 16:26:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3065F2854A for ; Wed, 21 Jun 2017 16:26:17 +0000 (UTC) Received: from localhost ([::1]:55034 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNiSO-0006K9-V4 for patchwork-qemu-devel@patchwork.kernel.org; Wed, 21 Jun 2017 12:26:17 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNiRG-0006Hr-3k for qemu-devel@nongnu.org; Wed, 21 Jun 2017 12:25:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNiRD-0004KH-HH for qemu-devel@nongnu.org; Wed, 21 Jun 2017 12:25:06 -0400 Received: from mail-eopbgr30101.outbound.protection.outlook.com ([40.107.3.101]:35520 helo=EUR03-AM5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dNiRD-0004Jz-3K for qemu-devel@nongnu.org; Wed, 21 Jun 2017 12:25:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=kGV/2FGouIpgrt6oGn93s4hFfbR4zm8YT1X4GygUbS4=; b=C+GBgPo4kMLg4eL8vu682Mz9zqLW4+9685p3XnFiTNG4e19xSXE/SP8Z1+iWJejI4qUJqnq5KIkTFZlGy8HSAqRsBbKaQWY+pLIMRu79lIBkJ0/Hvw5O+GSabTNA1/edwbg4BCH3oRj9Ep37nhLdfbTNqnAB/2CcI6nInziQq20= Authentication-Results: nongnu.org; dkim=none (message not signed) header.d=none; nongnu.org; dmarc=none action=none header.from=virtuozzo.com; Received: from rkaganb.sw.ru (195.214.232.6) by HE1PR08MB0842.eurprd08.prod.outlook.com (2a01:111:e400:59b2::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14; Wed, 21 Jun 2017 16:24:56 +0000 From: Roman Kagan To: qemu-devel@nongnu.org, Paolo Bonzini , Eduardo Habkost Date: Wed, 21 Jun 2017 19:24:03 +0300 Message-Id: <20170621162424.10462-3-rkagan@virtuozzo.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170621162424.10462-1-rkagan@virtuozzo.com> References: <20170621162424.10462-1-rkagan@virtuozzo.com> MIME-Version: 1.0 X-Originating-IP: [195.214.232.6] X-ClientProxiedBy: HK2P15301CA0022.APCP153.PROD.OUTLOOK.COM (2603:1096:202:1::32) To HE1PR08MB0842.eurprd08.prod.outlook.com (2a01:111:e400:59b2::16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f352628c-362d-4848-82cc-08d4b8c2108c X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:HE1PR08MB0842; X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB0842; 3:CZSITbGeoeBq+fRa1/+I2X/GQbOfMQYPvbSacZ4CW46WSOy2LkoDNAvzL6+tiUuGqn4FidtPTBM43U6ulspdhNh871zE3cBAeBOQFz+TDtwtAYZlNROu59aJPaSu1L+vGuriiv9UmQwXPdLsSdpqzgpWZ18MEY96igZk+RWh1owUkxeOLW6y8TzNCBRgJCNzSrvB66PqJayaktb8wScotDcxP369xu9IgE6sRfAnU6nFC7lmhKIK2f2taybnCHR2Xx6lYuzOo41lu0el5+eFsIoKTm8z8vU4/xefXTBUtNSrjwlb7WwDL+fdjKAmll1cehLqSMERI5P0mNSiDkWkYA==; 25:Ir2tmr+MIT+h6+4gphFFHJV8WP2GdhHPPHNr0zNWt1+xlZAIPnwsOMysPH5NsuwCf8lxTV1iokq1F6x1Xb6RbYO6u2ZyeDSWxAhchrysYE/+tPTdEWKDXNGJty492xwhNwKzRRj4OEFbXPMdoxjFet5sZLDA6/BUkEhrcJHDZ6quW2wShK96abQE8yxEctPjhfzKSx1b6aqfBenVr2AeignJiN2QG/xNKONNYLX+2h62z5XLAxWZHJ/p4BWrAsTfHxf9JaTyaNCWpZBdgOSDUWhP6d4L7pXtzw632dqhbjJGdM1fffXnzdxyWjOCSXybqseu9IyBMpV7oN5HgqrcjKwAEYmZL2G+1F7Qx4uHAsSJchqHVZ5/2bjbX+mXLnQlDJ98j2+w5V63yzl1NeGPJE4ALuMrSHrZuy2aLf4phdedVeqZHCZjrJ9oS5a1jdh2iE+z/gLTODEZG5cRnUGzk2faC4Ga6Q3/kmbpXSyKbPw= X-MS-TrafficTypeDiagnostic: HE1PR08MB0842: X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB0842; 31:LrjG539MBkmnCl3OGokyknwM2jN0wkoQlaVahG5inq6YyVauWqs0KOd2Ynp/4P0GJ0OmiJv2qzzYXIgLSSczY4VAh0HPF8wos3DWzSyQvJcHOED7Mv0MLy5gtlOlT9VHCAibsggJmKHApEDlHaPV+gOjvi23B56ljiiagyc073tYG+mOaT8N0Zh8uUE4d9ObFV9TbqLo5EyrcEMUfqh4g7hjD4Ci27672mx6Uj1rsRk=; 20:QbxB86N01rD9/CY361SAi4sYYGNq1NnvGIns5hjtSEsJezBpTbfFZzsG/P5tFUWIyR4FU490YbXyXhml74qLLpB+wPRmC5/1o/uKHDHLiZUcoQSXYE6+Bp+EitBNgsXweLd3UqizyHNp+BYSAcEemN7lNIky6nbY8hW6ex1xre7d804RprnwH9xpAW6IeF5T2IRbu+61pey31JTuwlWwuR/+v5FSHu0xXKx+nW+omSvwQ1dL7unrV1lhXmx1VX+fiHkeUb5+LofNBSQ+IxFWvf7iNn9sFNa22FayESjtpHEJcBL7/yih5EGApC0SEu66Z1qtCGmV/OtYiE0tcvArQx4iTK+ok7pt4G8yJ9pIWbGDNcNo3kERG1vxco0j2GT/Lk2441dXMWj6fr1BzRpUjj5ZNlJoPt2Vsx/k9u/CCwA= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(6041248)(20161123555025)(20161123558100)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:HE1PR08MB0842; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HE1PR08MB0842; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR08MB0842; 4:gIsxjALSX8GEWrKqsM2gGTZvvT5MOcCUgnYzg4s/dj?= =?us-ascii?Q?gA1JzIFOrLnk2n8n0mJq77RWa5d7M0CSrrggwYof0+zl0+zCJSVtPSfDL0qV?= =?us-ascii?Q?s/VfLhjTtA8vDFsicRktl/TxbYaNOHyqs5r9jIPrrt4B38waNuyITX3N1oaM?= =?us-ascii?Q?KTaNzl4HbDy498c+fwOdT0p+NH0HMI3doPHUrK2lBT0bGK0o8hCvnjG2eKN3?= =?us-ascii?Q?CBtS7SufXxQS5Jl9abRROxNzypFlah8pqJRp9LedDq0BK/0P3Sxm9J4Hd6p3?= =?us-ascii?Q?nw0KvrYD2Rle4IvmALB80SUQh7kyq4ms71Y6WPOrmuE1Sj8+2BINGgNT727K?= =?us-ascii?Q?EmFIrTUoN+SV+IqMzaeWNnlMk5Lbz/lIjQt8n3xabzF63wOBp2by2Nz6MeL0?= =?us-ascii?Q?wY8Fi9JiiaYZcH6M/7UGTzkt8mE+221QofnACwie82xEpAZTkaB/FcNS2oU4?= =?us-ascii?Q?Tk8gGIpVs4lwhx1UFmo8scXdWc6BimcdEx/bYGCqu6Yshw80Yjmtev0vhkOl?= =?us-ascii?Q?h9VAj1ytf+otniUxOlpmQbosQFe1TWgPkMra+vVh6m9ESxqwJ9WLnIz2K/cE?= =?us-ascii?Q?6KFm7+vbTIYtr10CVYLOe2FxR6vesDZEUHQSNOiSaxY6Ecx8/53cazNuS2+l?= =?us-ascii?Q?tTSQ0rtkboIXvhnUcuyT65rvMRKfbvoEtERg8QOhToeAlJIkFESGWGePqxyf?= =?us-ascii?Q?V3z8QOFCNLF6pehEhmvAccZTn8Cq3KFqBLJXGuJPt9a31DonVAbTwraAR9xj?= =?us-ascii?Q?JlW8g/RHSNekLQUTwjykmALrQurFiz8euWs4OCPLrmMkVWhsv04w46AcjPZ+?= =?us-ascii?Q?NrIdjV92yTpa4+/aF2NbHvlQBXrdHovFbrtHcQuLkGytNoW5PTIaBNaRkIGs?= =?us-ascii?Q?p8LfEst1rp72DTeqR9O2FTOXUnRbH5Ie0EIxfgjU/g08dls20wuil0JFc9Hq?= =?us-ascii?Q?az+vH+Q/nSQhVN2WIBZA6IgqVixCGpj/P+9WqEVbTWWQbC+BEm6PpXR1Ai2r?= =?us-ascii?Q?n1JghtPSnGrOSfE7UsbNSjUjVle7J3kMZ4WGsRUX5Gsm4I+D/IEfSNHNkIcW?= =?us-ascii?Q?MYxQD1me7Ug2wejxKaBwor+VOr249NAOIWrsL2tNOmuYUsOgcq+jHOJP4WQX?= =?us-ascii?Q?uYbUFOI+hnWDEAvyihG5+N4lw0VJU2?= X-Forefront-PRVS: 0345CFD558 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(39450400003)(39840400002)(39410400002)(39400400002)(6666003)(4326008)(2950100002)(6512007)(6506006)(5003940100001)(42186005)(53416004)(54906002)(50466002)(15650500001)(230783001)(86362001)(38730400002)(33646002)(478600001)(50986999)(76176999)(66066001)(53936002)(81166006)(7736002)(6486002)(189998001)(8676002)(50226002)(305945005)(36756003)(25786009)(5660300001)(1076002)(3846002)(6116002)(47776003)(2906002); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR08MB0842; H:rkaganb.sw.ru; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR08MB0842; 23:EnGvrriLc0sB8de7zGxLngPmxeT7Ov+gvg2QKZoFK?= =?us-ascii?Q?BqKdo7G757umtPlMc3mbVV+iNFQB7ZboxQaLAAt+keQ7sPVWP8J6RQdTPDez?= =?us-ascii?Q?PdsTuwzTPdziTjdP3O7n0gZcUMHsGxDTHjJO3fglSdxALy3aLAcsIz42Pilm?= =?us-ascii?Q?+YcBYs3ptb8ZzEZpvvrzKXpBYYaREIKvbovRcJiiFUXJeTt9qXZO+OUHMuyB?= =?us-ascii?Q?WK/pweKmLJN1B0stBII9+UG99sQNndszgn4ffEj6m8+1pN6TCNnHxzLghM25?= =?us-ascii?Q?3j48Mj7b9zzC+crQeKxOCtGi2stRBd1n+HZMkQE3dixQUjyd8+0BO+jxoRPD?= =?us-ascii?Q?2dJK0EERYYGC8guFTxmk0hK9fQ2H/Nr2i9ZbA0xHZpeFE6e/dr5w6PbM/alC?= =?us-ascii?Q?qXVIwFdEbb1vd1a1Wg87YsH/RgmJntsqsmDrmn/mCy1bpgwyzAPk3XxFk4RQ?= =?us-ascii?Q?Xw5qgpHxZHQlorWs8LtH+Se+lpmvHz3ITSV4JHZMaa7+KFLoCX7XLQYJmFIb?= =?us-ascii?Q?QgSjS0iAYmYspIuCEAFBK7zGIqqwTDJc/qjURJxf+7X5eCzXhPSsjKtMab7b?= =?us-ascii?Q?ItTdTzN47qOmgaVBbjIL0ADiuh22ugmphbcPg53HStvIW17CHj3gEXsu3IRi?= =?us-ascii?Q?O+4G8U+TxWzTcUEwZ3kARgROScEQsdjm5RYnZFVJVonCF1u98soKGJeAoSUv?= =?us-ascii?Q?y7/OFDLb7Qms77FPIQ4X3te342oCwWGpzXdgLTIYXZ9QuL+forVzKhAjdRaF?= =?us-ascii?Q?Fs3FnakUTCItB31z1wUiM1e8p3RwKFbAOvYCgYEZSWUr6m8H6C0Q3ikWAhqZ?= =?us-ascii?Q?7dTk0ptGsoVxoqbL65dgAlro3wInEhRACk1a1/RbO55YlWH6yTf3N827OSPu?= =?us-ascii?Q?ZspfJxmv1mZ7up+zpoT5a+TuXPWXpY+l00kxfnNg5rFmMhduGSVYnKj3Kidb?= =?us-ascii?Q?U2SjM3aZUN3nhWatoML/9K0oq5SevyjHt59yK6rcV9+/eVyGBT1sGmu61f6b?= =?us-ascii?Q?binBT8WBX6eq3Gvy7xWuLj/j3B33cgDhOmgbNhEAV1aNjDuRur7zBxMHwF4l?= =?us-ascii?Q?oIkm0w=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;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A/milusBWtE5/rCAeYfNbCMUKln6Xte03rBRxauQ3DZ1rtFAgBm3Ke2kdr52bWwYJqOY7oES3Ib4ndtFmTurabqEV4lIreJ/50C3mPfMBgAXAX0zjoMneoKVyEni25A3/4lmfCr18nnIEKsRShoPDcuh7gXFhoBcVGtcENvFIyx8AvShyhodoO9keVhfDzsO1bgXllJSRnY8g004L22FVbOpVK9VT+iODM6tHoAM1pdP5uGNl6YCvN3ysptJE4FLngfd2JsSF6wy/YMMEd4FAJThRAh9cn+wBhmiaiDProm5drJBhlaKry/421G93IGEEBKwDij+4Ev6BS7rjl+grSBUF79/tICSaaO+4ERLwP3jurLOsW6QgRJfaXSQA4YIUcTsiVlr1PRqJX0Cp1Q8MobHlSK2+53AWzycxFBbuBDSv9Y0NSy5iuhiFIsLZXKumEpZtA+lnDIRU8Is6+tUoLp5k725YSZAZSVc+9BQV4nMfItPaz5fdu7mvCZeH8NonA92zhnkRGwWiSaLhNMzV67+HosbghahgPkRnqAh1DR2FZvefUzZzw/yJ1GKW2mU/cmTX3YPtEu4VmsfFFyMV4Vr5tJfrR61aSkiS608TJaER7lpiCVUTUiMyN6bCcnh7KizbBWOk++D1orkZLhOvvNePg2LIF6lLwOM= X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB0842; 20:iRHEaT0xemUjNZSSlK1OGjvmzZg1uJgDBWJGfVtytWqL8XGKJ8f//YgIRaxClgEGNJPTlYBixbWA8OXLW4/Iuy5kLzMfxMkeeWR05yNekLoqeugf4yRmQ7RQhO7twGT0RNNCc3NLEOn8lurGMX/gDWyAsGQzSm0L7AtveNVStQo= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2017 16:24:56.2828 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR08MB0842 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 40.107.3.101 Subject: [Qemu-devel] [PATCH v2 02/23] update-linux-headers: prepare for hyperv.h removal 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: "Denis V . Lunev" , Evgeny Yakovlev , Igor Mammedov Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP All definitions related to Hyper-V emulation are now taken from the QEMU own header, so the one imported from the kernel is no longer needed. Unfortunately it's included by kvm_para.h. So, until this is fixed in the kernel, teach the header harvesting script to substitute kernel's hyperv.h with a dummy. Signed-off-by: Roman Kagan --- scripts/update-linux-headers.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh index 2f906c4..ad80fe3 100755 --- a/scripts/update-linux-headers.sh +++ b/scripts/update-linux-headers.sh @@ -104,7 +104,9 @@ for arch in $ARCHLIST; do cp "$tmpdir/include/asm/unistd-common.h" "$output/linux-headers/asm-arm/" fi if [ $arch = x86 ]; then - cp_portable "$tmpdir/include/asm/hyperv.h" "$output/include/standard-headers/asm-x86/" + cat <<-EOF >"$output/include/standard-headers/asm-x86/hyperv.h" + /* this is a temporary placeholder until kvm_para.h stops including it */ + EOF cp "$tmpdir/include/asm/unistd_32.h" "$output/linux-headers/asm-x86/" cp "$tmpdir/include/asm/unistd_x32.h" "$output/linux-headers/asm-x86/" cp "$tmpdir/include/asm/unistd_64.h" "$output/linux-headers/asm-x86/"