From patchwork Wed Sep 24 08:22:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Bolle X-Patchwork-Id: 4962481 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D6889BEEA5 for ; Wed, 24 Sep 2014 08:22:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 92FB520265 for ; Wed, 24 Sep 2014 08:22:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5643D20136 for ; Wed, 24 Sep 2014 08:22:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753803AbaIXIWM (ORCPT ); Wed, 24 Sep 2014 04:22:12 -0400 Received: from cpsmtpb-ews05.kpnxchange.com ([213.75.39.8]:53643 "EHLO cpsmtpb-ews05.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753291AbaIXIWJ (ORCPT ); Wed, 24 Sep 2014 04:22:09 -0400 Received: from cpsps-ews03.kpnxchange.com ([10.94.84.170]) by cpsmtpb-ews05.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Wed, 24 Sep 2014 10:22:08 +0200 Received: from CPSMTPM-TLF103.kpnxchange.com ([195.121.3.6]) by cpsps-ews03.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Wed, 24 Sep 2014 10:22:07 +0200 Received: from [192.168.10.103] ([77.173.140.92]) by CPSMTPM-TLF103.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Wed, 24 Sep 2014 10:22:07 +0200 Message-ID: <1411546927.19525.12.camel@x220> Subject: [PATCH] [next-20140923] KVM: Remove KVM_VFIO From: Paul Bolle To: Gleb Natapov , Paolo Bonzini , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" Cc: Will Deacon , Alex Williamson , kvm@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org Date: Wed, 24 Sep 2014 10:22:07 +0200 In-Reply-To: <5421D82E.6090103@redhat.com> References: <1411499391.24045.13.camel@x220> <5421D82E.6090103@redhat.com> X-Mailer: Evolution 3.10.4 (3.10.4-3.fc20) Mime-Version: 1.0 X-OriginalArrivalTime: 24 Sep 2014 08:22:07.0248 (UTC) FILETIME=[A1117900:01CFD7D0] X-RcptDomain: vger.kernel.org Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, 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 There are no checks for CONFIG_KVM_VFIO and nothing depends on KVM_VFIO. Setting KVM_VFIO has no effect. Remove that Kconfig symbol. Signed-off-by: Paul Bolle --- I choose not to mention commit 80ce1639727e ("KVM: VFIO: register kvm_device_ops dynamically") as references to linux-next commits might go stale and only confuse future readers. Done on top of next-21040923. Tested with "git grep" only. arch/x86/kvm/Kconfig | 1 - virt/kvm/Kconfig | 3 --- 2 files changed, 4 deletions(-) diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig index f9d16ff56c6b..178d872734b1 100644 --- a/arch/x86/kvm/Kconfig +++ b/arch/x86/kvm/Kconfig @@ -39,7 +39,6 @@ config KVM select PERF_EVENTS select HAVE_KVM_MSI select HAVE_KVM_CPU_RELAX_INTERCEPT - select KVM_VFIO ---help--- Support hosting fully virtualized guest machines using hardware virtualization extensions. You will need a fairly recent diff --git a/virt/kvm/Kconfig b/virt/kvm/Kconfig index fc0c5e603eb4..1f5ebc4693c3 100644 --- a/virt/kvm/Kconfig +++ b/virt/kvm/Kconfig @@ -34,6 +34,3 @@ config HAVE_KVM_MSI config HAVE_KVM_CPU_RELAX_INTERCEPT bool - -config KVM_VFIO - bool