From patchwork Thu Jun 18 12:33:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 280077 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8823FC433E0 for ; Thu, 18 Jun 2020 12:38:18 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4ED2D2070A for ; Thu, 18 Jun 2020 12:38:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="cFWF6Yds" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4ED2D2070A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:34432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlto9-00034b-G5 for qemu-devel@archiver.kernel.org; Thu, 18 Jun 2020 08:38:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jltkP-0004ie-3N for qemu-devel@nongnu.org; Thu, 18 Jun 2020 08:34:25 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:27898 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jltkN-0004ol-Eo for qemu-devel@nongnu.org; Thu, 18 Jun 2020 08:34:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1592483662; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EsfWPkrQUjhv//M4pOFv7ggdvHaLRrdIfOqDCaTysVY=; b=cFWF6YdstXkzwk663k0GlsU1KMxEvCE9jD2aC3MxMfbOmR/ji+NjTr7GBIY0bGTHaTMved 47qMpnfiV77Wluik+0UzlLsjPHqD2LAGJSsAP2GaZRGbb1CgopSvufk7I08lYKeTeGWY0I BtzvcUU0nQQLcZ9epJ+HrjwfrxtvMH0= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-244-FjUK1oJFOBazuikT3SsHhA-1; Thu, 18 Jun 2020 08:34:19 -0400 X-MC-Unique: FjUK1oJFOBazuikT3SsHhA-1 Received: by mail-wr1-f70.google.com with SMTP id t5so2733358wro.20 for ; Thu, 18 Jun 2020 05:34:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=EsfWPkrQUjhv//M4pOFv7ggdvHaLRrdIfOqDCaTysVY=; b=G+e7HCCjCMPgTfSivJi4YVNXcKZNDjzoI++LFO4Xhi8hc1qBSa3w+DHuFahUuDl7Rc 8UoNlpEjmKy35XlMH3rVhEnDSdqrsw7YYdlzJS4FQRLFI1M2aI8AeSpp51iGYHCzb5T/ rXqSfWpOy+0cmPZH6tYQuUlIbi1HiRZhBgyJpfVadnLZj3W30Qe/9OYJJ6XAQp4PTLAV PTs1KjvuwR1QoA9LqDNE2ACs2HuqPmFHRzOJHboMjUGQQHF8HmzN4S+iezNvQkl9zPtv jMfkq6bnm63+CuH4dzeMp700HWQiGhwe7Il1r1I+cRKT5UoUyYyQt+LV7fTh2xV1lZr0 ziWw== X-Gm-Message-State: AOAM532GAotB8cOk5xyxvpAmXIhdTcQDYi7u+nOojS9el2Kri3e2lqzU +XXjuq+GwpGokT1oYMzNXfuGzFDMUNwXc708Ez9hO/dUwJK0StwlRnEc4+w6nLzXckqfLv8ibk0 Ljit4c5FwuZOV8fc= X-Received: by 2002:adf:ecce:: with SMTP id s14mr4546215wro.154.1592483658069; Thu, 18 Jun 2020 05:34:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNJKySINlcZTRg4Y1nkvXJlIscxzUSRpGkPS9cBExIjsuFUD4ENYPFayMw3O5k+D6pWAhaHQ== X-Received: by 2002:adf:ecce:: with SMTP id s14mr4546192wro.154.1592483657901; Thu, 18 Jun 2020 05:34:17 -0700 (PDT) Received: from localhost.localdomain (93.red-83-59-160.dynamicip.rima-tde.net. [83.59.160.93]) by smtp.gmail.com with ESMTPSA id j5sm3296807wrq.39.2020.06.18.05.34.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 05:34:17 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v9 07/10] accel/Kconfig: Extract accel selectors into their own config Date: Thu, 18 Jun 2020 14:33:39 +0200 Message-Id: <20200618123342.10693-8-philmd@redhat.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: <20200618123342.10693-1-philmd@redhat.com> References: <20200618123342.10693-1-philmd@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=205.139.110.61; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/18 01:32:18 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , Paolo Bonzini , Richard Henderson , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Move the accel selectors from the global Kconfig.host to their own Kconfig file. Reviewed-by: Richard Henderson Reviewed-by: Alex Bennée Signed-off-by: Philippe Mathieu-Daudé --- Makefile | 1 + Kconfig.host | 7 ------- accel/Kconfig | 6 ++++++ 3 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 accel/Kconfig diff --git a/Makefile b/Makefile index b7f41a2ef2..f14f59fb2b 100644 --- a/Makefile +++ b/Makefile @@ -419,6 +419,7 @@ MINIKCONF_ARGS = \ CONFIG_PVRDMA=$(CONFIG_PVRDMA) MINIKCONF_INPUTS = $(SRC_PATH)/Kconfig.host \ + $(SRC_PATH)/accel/Kconfig \ $(SRC_PATH)/hw/Kconfig MINIKCONF_DEPS = $(MINIKCONF_INPUTS) \ $(wildcard $(SRC_PATH)/hw/*/Kconfig) diff --git a/Kconfig.host b/Kconfig.host index 55136e037d..a6d871c399 100644 --- a/Kconfig.host +++ b/Kconfig.host @@ -2,9 +2,6 @@ # down to Kconfig. See also MINIKCONF_ARGS in the Makefile: # these two need to be kept in sync. -config KVM - bool - config LINUX bool @@ -31,10 +28,6 @@ config VHOST_KERNEL bool select VHOST -config XEN - bool - select FSDEV_9P if VIRTFS - config VIRTFS bool diff --git a/accel/Kconfig b/accel/Kconfig new file mode 100644 index 0000000000..c21802bb49 --- /dev/null +++ b/accel/Kconfig @@ -0,0 +1,6 @@ +config KVM + bool + +config XEN + bool + select FSDEV_9P if VIRTFS