Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp3174191ybp; Sun, 13 Oct 2019 02:06:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqw6vXsd37yrRan/j12L4Qrx/Uwj43nhTEiqVrlTivnfcF1W9Fg2ymktmxDh37hnUASQcTda X-Received: by 2002:a17:906:538a:: with SMTP id g10mr22639497ejo.94.1570957577236; Sun, 13 Oct 2019 02:06:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570957577; cv=none; d=google.com; s=arc-20160816; b=HuPcvvSBMi0zrotSEoelhZTcLNocMyJcoIvJhEFnkw2UFy/6GTP+rkoRZ/YvEkmTPt ebBHsEUWVbWD+DH7btlRWNZqrM87sAn0KY7VmCK7/hKS7SooTBqEehXkhVCj0ZcgAHGa Edpc9jtQOKUM02GWx3FOR8TaXyx87l5QMB1KXwQo0EPg5CxklceIjtEQHjNuiZPqIHA7 lgtHsL2yrWDr9elRzP58yfNBRWUVYgyRbktKL2AxGaT4/stMg3bvB4mRR0rvFra5+tD8 8VMAQyHO+DOemAi8TRyW/LC3N3PwM5aL18yVv306J9SLQA8pYGy7hfUPkRCIKmfKZ4Tn hnIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:cc:to :subject:from:dkim-signature; bh=ULorjeyZiOmQwCPfSGb+OjawUq4KDNfjmO0x1Jim3CU=; b=Rv5CeKn4+iSovc+Lc/pb+VGKsl0P5qmA53BK3QCOzGaWWr7YGL886/QRtmxCjMsKLH wbBeIeNyEsoDXcbD7LSHJK0iEtzscGyZpqVPiCfzE9/8fatXU2AyWe6S4Q4yILBzFJ/z au2KurdnK43xr3r/ZRMDe4P+RJXc0m3MruiPA8rVDFuHyLt1Z0duGaQmXGJeZRYh3kGn prdLNJezdQyZ8EZTQF3k/ISKGpPD4Lj3eQNxkPItUffPiit1MDNhxPqmFwvxM7nFRVfG fpeoc98dm3AysMWJxpSj2/CsCHTmtmkiJqu16rbU/Nw7zVACfcx1VOfs031Qu5Al0Iwp WGCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@web.de header.s=dbaedf251592 header.b=QvbD271P; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ay2si8523941edb.343.2019.10.13.02.05.42; Sun, 13 Oct 2019 02:06:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@web.de header.s=dbaedf251592 header.b=QvbD271P; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728766AbfJMJDg (ORCPT + 99 others); Sun, 13 Oct 2019 05:03:36 -0400 Received: from mout.web.de ([212.227.15.3]:44311 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728564AbfJMJDg (ORCPT ); Sun, 13 Oct 2019 05:03:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1570957412; bh=/JJFbFxFpJrgt1MfB1+HlUCk144HJzeGsZ82FMM6IMw=; h=X-UI-Sender-Class:From:Subject:To:Cc:Date; b=QvbD271PhVgYqWNLqHU0fg6xi+XVo+jTS/b+UHmTQn+3xBLOShASoEVhKgg8CQCMZ JrA0end3XYxHStzGBd+xSCWSf4LeggpnnnWKDX50dFhCFkL9pq4FfexwdisEY6tS5s ylE5yKrta/vQnqwZ3tb0PcdVCA0Ky/CgXsmg5a0c= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from [192.168.1.10] ([95.157.55.156]) by smtp.web.de (mrweb004 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MWuiC-1iXnFP3geq-00W1Yx; Sun, 13 Oct 2019 11:03:31 +0200 From: Jan Kiszka Subject: [PATCH] tools/virtio: Fix build To: "Michael S. Tsirkin" , Jason Wang , "virtualization@lists.linux-foundation.org" Cc: Linux Kernel Mailing List Message-ID: <4b686914-075b-a0a9-c97b-9def82ee0336@web.de> Date: Sun, 13 Oct 2019 11:03:30 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:ZUTxknunf3G6Pgr3vAD78vi2eR7WdAXKm8qBbLV5J2t/U4o/4EZ TZ6oSJMqVZN1Rm1Xnf4Vwx/O9ojkaI8y5NJmLT1fwtdJtkwS9txiGev7dCd8/2y4ECRTtwQ z04XbSrZje/K+9Z0z31XxJub0b6k32mvx6LiSpteJ4IWLEianalNbu8aN5qmPaLh4PvrzZa ig6WmprlS1YhpLl3QcjHQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:7nlS2ZaQecY=:08CSwSG22S349Q6b6tO8u6 rdaiZ7Q4U9RWlP1P4AdTDwfQVBpkZISmu3BOb+eUDH/TaKaNewNeXTsbuaBJ33t555KTe2Yd5 veocItfCWbO3siPsFa3C6QBbeuGz7sbaR+IsogHABwlrRswYGlYWHiJTvskJOfkY6Q8BPaNnA KfIvgw08/iTnVHXCnBX5wF7+Q6mxb2eJPObAdKLvGyCmizrwYirjJc3SItHJEjehGAOgz8zo2 OR4sA4gVcW8gWYDy0M/yM/h+3RmgPws0gGF+dq6QkTKrMx/CLWdGXTv2tRLsvBTzCvar1TLtS ZgY8Fa03EG1hJXWKZarAiYnPdxMsfzmo/aYVBlukvhwneADSi1pNXsWf4LpMedeMcRx9a+fSi f3e/tVcTXwmH5SBvKihON99ZTP9w5E+4wPdz1jqdNkkWFC8bXsLIt14VjcEZS0MiMifqeeDOm 0m0lS3gMJd7zXfUjAZ1Tl9bloTvv7YaqJdHyA3Qh+8CxnEeinioCxcv9ZhlYHkKvOWnL9ubq7 wrKXpfFP+p+HJfx4jsSu52Sz9S3sxa9w6ZeB3GBIbcdHuxSJncSsJDHED6MwptZKJTsgNQ//N NNBTIXO55iyvd18IYqkiw3Q0skVvqfiFAUCqI9VLnSamjBx+iwIrlopxUNrf8gs4QJmiK5fv4 yQjre/RtXOqszthoWG84RdhyQm0zQfRbP+t0UqsJv7Aa6bWya9rEMhaySSrqp2UiEHq6g+2fY ioWkZZkQv7KcAzaRy42E3MZRMt59ucL4z3PGzqGtNSvdw6aaY6PBwaByo3I00ALQDFTISx+9i sFvRksKk5B5XCt3KjcRoSjLlyviJkkiEYZypOXq4OUnOEXwHgu1uvB4b7racTk5PMxVwIb5hq TQbicqdvS+5zw0EYw+UGjZUIZjmJX+4zhcAdapmdrfwS9YFbrXG+RBK1aJjl8F1bGqcjl5QfS 30qtKq3InUyZlAyZdEL/WFN7geUmORPuIuUkEOSr73Sv8p4z1ZEoucHWc2fNQFPILPNxgTCJ+ 3xV3vpYeyqMj3fWuT9S8vgJp/69JbuM1WZ5LW/sN5Yhvvf7GYVRBSgFq++PYxzswIdtCqCWZq jt1PDcHmB1g1eLcHD0/Vv5cyqCVUwbkK7pSJVj4/rki3JRi7Ru7U6LHb5zmntyT9Eg7X9nJ/3 lWNk1Saag3CPODdOf7dMKyuW/UhbNvTuVe49WL8hjEPxPAlDFedtGsme2kNVtkX7sFuA24Txx Vzb04B4990YG4zitAZnvFLJFl6NtY7M99aZiC5xYWa8VoDGwLdZsMqNvXA+k= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jan Kiszka Various changes in the recent kernel versions broke the build due to missing function and header stubs. Signed-off-by: Jan Kiszka =2D-- tools/virtio/crypto/hash.h | 0 tools/virtio/linux/dma-mapping.h | 2 ++ tools/virtio/linux/kernel.h | 2 ++ 3 files changed, 4 insertions(+) create mode 100644 tools/virtio/crypto/hash.h diff --git a/tools/virtio/crypto/hash.h b/tools/virtio/crypto/hash.h new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/tools/virtio/linux/dma-mapping.h b/tools/virtio/linux/dma-map= ping.h index f91aeb5fe571..db96cb4bf877 100644 =2D-- a/tools/virtio/linux/dma-mapping.h +++ b/tools/virtio/linux/dma-mapping.h @@ -29,4 +29,6 @@ enum dma_data_direction { #define dma_unmap_single(...) do { } while (0) #define dma_unmap_page(...) do { } while (0) +#define dma_max_mapping_size(d) 0 + #endif diff --git a/tools/virtio/linux/kernel.h b/tools/virtio/linux/kernel.h index 6683b4a70b05..ccf321173210 100644 =2D-- a/tools/virtio/linux/kernel.h +++ b/tools/virtio/linux/kernel.h @@ -141,4 +141,6 @@ static inline void free_page(unsigned long addr) #define list_for_each_entry(a, b, c) while (0) /* end of stubs */ +#define xen_domain() 0 + #endif /* KERNEL_H */ =2D- 2.16.4