From patchwork Wed Jul 31 10:55:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naresh Kamboju X-Patchwork-Id: 170136 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp3864123ile; Wed, 31 Jul 2019 03:55:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqySWuIdrWh8wC7M8GHs8G1diNJt1RWuBc6Pql0CgeojaYdpI9hAsb8NUU+9HeCAeTR850zO X-Received: by 2002:a62:1c93:: with SMTP id c141mr48243214pfc.9.1564570550770; Wed, 31 Jul 2019 03:55:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564570550; cv=none; d=google.com; s=arc-20160816; b=adPPaEw3oT4iOebyEQjhPPDNnYddSdQH4SokqBQNRYyJt/Z4tr3Uz0bKXYGhRIz0Sh ya6DVhV5jze7Y8QbfLdHoiKLTDM4t31zhT4Zw/qVhdYpf4faYea1SGNTL6K0oAkuBr31 4u4t6Mp+4AZHjqzNlaM/0SGqOVCqffbmyJvYCJZZMoM0s81OVePnvhgS4F6aiGqevsNx vsnRk1QOXHabE1BoQQwYVO1atBMv3yzxq+RLssHc6igdnTeQocb0RKizepmdmqvTJV6C xLZheVfF+u/r+tyH+BtvkxmFwVuiOmT+G9VHCxOtTwZqJ+IqhMQNCJi/YsENC3L6QSZt LkMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=TDzD4mVy0JnW8wivYuq40NvZrehE5P3+AXFL+h905R8=; b=qhSpfqTmZTzd8iU6bmERICr1k91V5mJdntvdmmuFfbw8fKIBSDcHUApshnMCO6SNBs RsRhjaeIPejTGXPLLgQrv5a02recidjUThSM3TmWJJqb9MX5qwbtObF3iyBPMzq0y4Ff SYHY/3ZUb6dXejVVi5RCkXB5bMLeyWulvwM+eGeXnNB/nK2BBy7L+5XaaveHfD7UDEd8 yts2OR+GN3r0mQkvcEc2HzdlvZ/6DrWKMZNmx3KdUU3c+eqOKrwL5p/EOwwqTT5AvvO5 WLuJLLSrS/gir6JAJBSSO1ZMq+XipPhjyiqtProbA5ojJ9Hx5oEwGQphDnrvBLLXyfmH cqXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WNMsbmyz; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y134si15427528pfc.285.2019.07.31.03.55.50; Wed, 31 Jul 2019 03:55:50 -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=@linaro.org header.s=google header.b=WNMsbmyz; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727024AbfGaKzt (ORCPT + 29 others); Wed, 31 Jul 2019 06:55:49 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:52221 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726751AbfGaKzt (ORCPT ); Wed, 31 Jul 2019 06:55:49 -0400 Received: by mail-wm1-f65.google.com with SMTP id 207so60329118wma.1 for ; Wed, 31 Jul 2019 03:55:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=TDzD4mVy0JnW8wivYuq40NvZrehE5P3+AXFL+h905R8=; b=WNMsbmyz6D6vL9V6DopwuW1s80Gg6oqYGLlA0GJ8RnDqXKSMBuyTYqRBqfhzj9Vffq wl9a5rf74ruxe3IlxypYN4x9BVxL7mlQPHncZ0jmz8pBEGtUAlq88DV0+PNuEQokidbI 01jJzGXYdAnjNlSgmwuOLPLupEQt93/+w7eji2TzrzBQG4t/JWkd3GctA3MGZbpVADTA 6B1ItYcMYe+vJZQmPWGongPZrKj1kDGsrDGbxHDk0PuAb1ZzpGWQQimPQogwr2ESvDcR JzQuXGQUq4oyde/xmWLagYhdQLfu2Nvi6w80bNdvcg/Dv+8UtAmQOMIILMuZdUy9HJdN Um1A== 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; bh=TDzD4mVy0JnW8wivYuq40NvZrehE5P3+AXFL+h905R8=; b=E1c/KwIxeHwpiVX7mPtQ6MbBtaNyBr/0BUOa4fPdFMWNqURmQBtfp6AbZ6aynZnNTo atpUuQy4WCllcry5sEvfxPVbBApS6vZnvTETktw0A/WDed+jWylLlB76cPoDPaXlMxOO C3wHCpFBZEPjaZPDa41QmgpzZQVXRTviDLzOkfQ1SYcDOPbToR0sBWRixC7y06ST8DLh I73rhiwsFsD2pcNkDAlJomYNiC55MYifTDXjA5uG/lXyFtC9SNB8ppyUe/vgRJKY8gE6 S4fXqTepDvn7ZO5rleBFrXqQr6DovVcsqROUsQLWCu59xyRsXpLxt/b3xkC+aVLhcgB9 pMUg== X-Gm-Message-State: APjAAAWs1yeThAG4cSweSjFb8GqGDd9I4u/RFYq0/H3JczE7LKWJhDR8 5ip2/iMUqGIuSrwkincbSPQPvA== X-Received: by 2002:a1c:7d08:: with SMTP id y8mr93262568wmc.50.1564570546683; Wed, 31 Jul 2019 03:55:46 -0700 (PDT) Received: from hackbox2.linaro.org ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id a84sm85426114wmf.29.2019.07.31.03.55.45 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 31 Jul 2019 03:55:45 -0700 (PDT) From: Naresh Kamboju To: linux-kselftest@vger.kernel.org, kvm@vger.kernel.org Cc: pbonzini@redhat.com, linux-kernel@vger.kernel.org, drjones@redhat.com, sean.j.christopherson@intel.com, Naresh Kamboju Subject: [PATCH] selftests: kvm: Adding config fragments Date: Wed, 31 Jul 2019 11:55:40 +0100 Message-Id: <20190731105540.28962-1-naresh.kamboju@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org selftests kvm test cases need pre-required kernel configs for the test to get pass. Signed-off-by: Naresh Kamboju --- tools/testing/selftests/kvm/config | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 tools/testing/selftests/kvm/config -- 2.17.1 diff --git a/tools/testing/selftests/kvm/config b/tools/testing/selftests/kvm/config new file mode 100644 index 000000000000..3b1cbd726af6 --- /dev/null +++ b/tools/testing/selftests/kvm/config @@ -0,0 +1,26 @@ +CONFIG_ARCH_ENABLE_THP_MIGRATION=y +CONFIG_HAVE_KVM_IRQCHIP=y +CONFIG_HAVE_KVM_IRQFD=y +CONFIG_HAVE_KVM_IRQ_ROUTING=y +CONFIG_HAVE_KVM_EVENTFD=y +CONFIG_KVM_MMIO=y +CONFIG_KVM_ASYNC_PF=y +CONFIG_HAVE_KVM_MSI=y +CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=y +CONFIG_KVM_VFIO=y +CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT=y +CONFIG_KVM_COMPAT=y +CONFIG_HAVE_KVM_IRQ_BYPASS=y +CONFIG_HAVE_KVM_NO_POLL=y +CONFIG_KVM=y +CONFIG_VHOST_NET=y +CONFIG_VHOST=y +CONFIG_VHOST_CROSS_ENDIAN_LEGACY=y +CONFIG_USER_RETURN_NOTIFIER=y +CONFIG_PREEMPT_NOTIFIERS=y +CONFIG_TRANSPARENT_HUGEPAGE=y +CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y +CONFIG_THP_SWAP=y +CONFIG_TRANSPARENT_HUGE_PAGECACHE=y +CONFIG_IRQ_BYPASS_MANAGER=y +CONFIG_XARRAY_MULTI=y