From patchwork Tue Mar 25 15:50:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 3888261 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1361E9F334 for ; Tue, 25 Mar 2014 15:51:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 48AC1201EC for ; Tue, 25 Mar 2014 15:51:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 70A222021B for ; Tue, 25 Mar 2014 15:51:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753770AbaCYPu6 (ORCPT ); Tue, 25 Mar 2014 11:50:58 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:54016 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753121AbaCYPu5 (ORCPT ); Tue, 25 Mar 2014 11:50:57 -0400 Received: from wuerfel.localnet (HSI-KBW-134-3-135-108.hsi14.kabel-badenwuerttemberg.de [134.3.135.108]) by mrelayeu.kundenserver.de (node=mreue005) with ESMTP (Nemesis) id 0MYa6I-1WXTp72HPm-00VOP4; Tue, 25 Mar 2014 16:50:55 +0100 From: Arnd Bergmann To: Alex Williamson Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] vfio: always select ANON_INODES Date: Tue, 25 Mar 2014 16:50:54 +0100 Message-ID: <11162011.2nHj9XzrYt@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.11.0-18-generic; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 X-Provags-ID: V02:K0:bJur8VT015kSZ3ASIUZgw6Itt374EpkItCjoWrdPtlm g2meCHoKhWjVBVc4G66GihARF2pH0lAmz5jfhtJtDW9NEdmaAi AttIK/exvZbCc4Qmo5bpPLBt/CbYUrgZSImee/txcvUrrtVZHD dtPTpN7Hxz0+IpVE0osFn2b6tR2x3LQtQi5IFOrd20BnGKbyVL yyHMA9lK+LjaZMM+i/F5+NmtSqn3a+xunnRHRkbLIG4mHx3o+S V1+pRNA8qHWjMukFb5Ok/2vsSxVoAtuIQUbMsduS14DbKHlF/x 9bFsTNNSQkyr44CP9Ft+y1shScWva3dQnczbR6dmUnRG8kitJt 0t5cZPEQgXmCyk66s62U= Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The vfio code cannot be built when CONFIG_ANON_INODES is disabled, so this enforces the symbol to be enabled through Kconfig. Signed-off-by: Arnd Bergmann --- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/vfio/Kconfig b/drivers/vfio/Kconfig index 26b3d9d..af7b204 100644 --- a/drivers/vfio/Kconfig +++ b/drivers/vfio/Kconfig @@ -13,6 +13,7 @@ menuconfig VFIO depends on IOMMU_API select VFIO_IOMMU_TYPE1 if X86 select VFIO_IOMMU_SPAPR_TCE if (PPC_POWERNV || PPC_PSERIES) + select ANON_INODES help VFIO provides a framework for secure userspace device drivers. See Documentation/vfio.txt for more details.