From nobody Tue Nov 18 14:11:13 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1611155969; cv=none; d=zohomail.com; s=zohoarc; b=SEBWAfhZxfMs0YxFk4gvXgNqBlTdsTwxzjcSK3ZqmhN4jhwuUBpWhEUFJfhitL/zdviQjFmkDIcWiKsCSttJSmUdCgAKjlnKf0jPAIcqYEQEKnpBs+WldvKgX496aImOy/1Zzr0wiCfDrfeHVBHRaBWzYh3EO3Jmd8yS9DLgi1s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611155969; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=gLS+yQfpTntD1627YhQpb6aYd+CIa/ZGPzYtpS5MTw4=; b=frqzcimUClP3h9IltXhPL7hx1XwXEAfPtl1ezew92Xnfsm0Id++Y5Y5A1r3EANbRhSLC5+DJ1raxq8eyWlr3KMMA1HLn36aYmYjtUGs2SUBnTDAgs5iFtop1ZwF282u4cm6OXfY81j2EQTXIz/DKO6OastidPAAUfYUvjP5yzB4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1611155969474831.8986767980041; Wed, 20 Jan 2021 07:19:29 -0800 (PST) Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-435-mFXhBwsjOG60rr8d78adnw-1; Wed, 20 Jan 2021 10:19:25 -0500 Received: by mail-ej1-f70.google.com with SMTP id q11so7614740ejd.0 for ; Wed, 20 Jan 2021 07:19:24 -0800 (PST) Return-Path: Return-Path: Received: from x1w.redhat.com (13.red-83-57-169.dynamicip.rima-tde.net. [83.57.169.13]) by smtp.gmail.com with ESMTPSA id s22sm1013292ejd.106.2021.01.20.07.19.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 07:19:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611155967; 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=gLS+yQfpTntD1627YhQpb6aYd+CIa/ZGPzYtpS5MTw4=; b=C8Mhp0vnyWPjgkX96lsi8qgAEtlc64W0gk+HbnBuzV/eQVR5B5E8lLQMBDBuNji/1w3trG cx0glNSscTv2Cvbl+snB17v9273Efhxgfa/L2SAbn4eztD6kUhdHVTJYBiodrkHVCqn8Yf yyBvggX2XYLP/ux+nH9AMayS/NsTLKc= X-MC-Unique: mFXhBwsjOG60rr8d78adnw-1 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=gLS+yQfpTntD1627YhQpb6aYd+CIa/ZGPzYtpS5MTw4=; b=evWJsemfsv919Q6jYpUCsVPLGf2BIF2JqiU5pd0qGrVv6S1gTmuabU6IF0U9a3HLoE 5NKu1/cPke4i0BPREheiF3HXpyTdakS9ySgIkj5ZaQD9MJE3QRlh3GTzG0rstoiJsgHJ d7pjGOSdYQB6p99stlDnPX1oayrj1ZBbnWdoPLXfoVZan89ZaCdDaCjzTEiUAeuws2N2 bWURd+qHo0DEy8eOSxIssigoxzimW8RhVjsv2QdRulE+05LInkqOD9xQzkY49gueZXjD SN+faDcQy578f5RaLcCE5PfsByi2wFoWHecc50t/Us9/eLVIRoF2JP0OR2WqAZMUun+e ONCQ== X-Gm-Message-State: AOAM533CITRu/7p1sgJtuWc0Qsz68S5RbKTc+SVlpiWmyZ9PUuaFz0xE fRcMLxfNWRV2KrCPmzwXpw+EbRszxAeOf1OS9Vi3QAavNiYKPyYyTAGwMhJcuftDzXSY5XLS2dL 6mucahqDT9fZDgw== X-Received: by 2002:a05:6402:4391:: with SMTP id o17mr7802575edc.196.1611155963908; Wed, 20 Jan 2021 07:19:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJx7w7js2JeC+26mcDu5Nm7K38vcklJvi9jlmvw7IS1whCdfOKCuiDAS+INhaMZmcyKUkf98Qg== X-Received: by 2002:a05:6402:4391:: with SMTP id o17mr7802566edc.196.1611155963816; Wed, 20 Jan 2021 07:19:23 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 1/3] configure: Do not build TCG if not necessary Date: Wed, 20 Jan 2021 16:19:14 +0100 Message-Id: <20210120151916.1167448-2-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210120151916.1167448-1-philmd@redhat.com> References: <20210120151916.1167448-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) We don't want to check/build TCG when no system/user emulation is requested. This is useful in particular when building only: - tools - documentation Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- configure | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 9f016b06b54..012c527e3cd 100755 --- a/configure +++ b/configure @@ -337,7 +337,7 @@ linux_io_uring=3D"$default_feature" cap_ng=3D"auto" attr=3D"auto" xfs=3D"$default_feature" -tcg=3D"enabled" +tcg=3D"auto" membarrier=3D"$default_feature" vhost_net=3D"$default_feature" vhost_crypto=3D"$default_feature" @@ -2282,6 +2282,15 @@ case " $target_list " in ;; esac =20 +if [ "$tcg" =3D "auto" ]; then + # if neither system nor user emulation requested, no need to build TCG + if [ "$softmmu" =3D "no" ] && [ "$linux_user" =3D "no" ] && [ "$bsd_us= er" =3D "no" ]; then + tcg=3D"disabled" + else + tcg=3D"enabled" + fi +fi + feature_not_found() { feature=3D$1 remedy=3D$2 --=20 2.26.2 From nobody Tue Nov 18 14:11:13 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1611155973; cv=none; d=zohomail.com; s=zohoarc; b=IlVF8Nvl6KCMYM2YTDhobQ8jAUEHm3XaFgVYvr5hXh2cNKopTHzjoVp+5K8BCEYdK8I7/SuaB29+9scvQXZ0sVjtYOCosvSvd/T0c3Q41GiKDZn81ELLq/unrhIjjS2gtP76ULjzPqmfCjTrCuYrCgcc/kvgDtm6IQkmrp7ao7k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611155973; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=2bIzIHiAlzXr+hmN6jUsWEgwkDjP+yZMnPWbxbL20yM=; b=fC6RBUcuGwMmdJ9B5TEFQL72SMUqltVX4xrYNaGmbxPwyvu3FfUbyV6YyhL7wF8VkWjUEqJmaHDHSBeVTbKDi/ph0qm8sD/SoGP5MUCxKLfsbRvt6kCpBcTLcd6bfpZBUpWczFiilPdz42KDe+tJWSVnd3i7MnLC2+vlYaf9yU8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 161115597307476.92542314209936; Wed, 20 Jan 2021 07:19:33 -0800 (PST) Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-427-znKeoeJnMk-YE6dJ003IZg-1; Wed, 20 Jan 2021 10:19:30 -0500 Received: by mail-ej1-f69.google.com with SMTP id rl8so7371627ejb.8 for ; Wed, 20 Jan 2021 07:19:30 -0800 (PST) Return-Path: Return-Path: Received: from x1w.redhat.com (13.red-83-57-169.dynamicip.rima-tde.net. [83.57.169.13]) by smtp.gmail.com with ESMTPSA id k6sm1011340ejb.84.2021.01.20.07.19.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 07:19:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611155972; 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=2bIzIHiAlzXr+hmN6jUsWEgwkDjP+yZMnPWbxbL20yM=; b=QX6qXcOF9IyOF5AEpy7+l9uwTm6WEDHvVoZKh7ZcTL0DQ4CGeeNWu9ppwHermBByh0sgMN Lp0QCl3qKfMW3HkT6D/qblIfQoRNKVeFZU5xfJcM5vZW9sylAHLiUeH3BykM6Oc2UD+jp9 mI/9x/Qg83tApew1/0+MEemfEfaAfPU= X-MC-Unique: znKeoeJnMk-YE6dJ003IZg-1 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=2bIzIHiAlzXr+hmN6jUsWEgwkDjP+yZMnPWbxbL20yM=; b=YY3j8tTnMk+O9qei/gSH4YscAKRbzUD4QkwDNEn6wHr9nyXAgp4wlAqXbs04M5FM+R S0is6QMIuP9pdi0TZpCf9NJEnSCQ2zIJRtFPGE2gTMc6Q+H4lqZHzC/2NvTS+s9Xb+Xk PaLTY+tFWP6gJT/MljDT8iwANPDqt/HCoGelChYtTDIAHVrQcwrjoVoW92bpN86Hn4oi ae+CRS5ZhT8f+91Btr5RdQ/00SnEEAqRE0S0L5EW+q2oBWVaWGATRg5jtzKqQh6dl2D4 jPPvITmrvxpI2hDQ6SV4R7UpeD26Bhi0Ie9CbmkIBBDkV2/CwW/PanTZU2FS9oe4rafK 9VGQ== X-Gm-Message-State: AOAM5300iqrEvFjWYArTpwvc8iL3TkQHm2SEmvbEMgYmWd/gVaU2gwP4 0ZEhr69vGKdJgxc4WNz7nnkQYCgh5Cj3HmrVe72olryYd0DODWfujVN65XhNeau6SA8FswHg582 tFiXMIzAumfUCNw== X-Received: by 2002:a05:6402:2c5:: with SMTP id b5mr8133629edx.258.1611155969263; Wed, 20 Jan 2021 07:19:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJztOTjvZwUE8WXM4I2PX2GsNpEacKVuneZqvc0k68X/wcYgIgTuZTIL3LE7Tnk7wCYnILScrQ== X-Received: by 2002:a05:6402:2c5:: with SMTP id b5mr8133598edx.258.1611155968797; Wed, 20 Jan 2021 07:19:28 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 2/3] configure: Do not build/check for capstone when emulation is disabled Date: Wed, 20 Jan 2021 16:19:15 +0100 Message-Id: <20210120151916.1167448-3-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210120151916.1167448-1-philmd@redhat.com> References: <20210120151916.1167448-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) The capstone library is only used by system and user mode emulation. When it is not required, do not check for it. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- configure | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure b/configure index 012c527e3cd..a5159157a49 100755 --- a/configure +++ b/configure @@ -2291,6 +2291,11 @@ if [ "$tcg" =3D "auto" ]; then fi fi =20 +# if neither system nor user emulation requested, capstone is not needed +if [ "$softmmu" =3D "no" ] && [ "$linux_user" =3D "no" ] && [ "$bsd_user" = =3D "no" ]; then + capstone=3D"disabled" +fi + feature_not_found() { feature=3D$1 remedy=3D$2 --=20 2.26.2 From nobody Tue Nov 18 14:11:13 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1611155980; cv=none; d=zohomail.com; s=zohoarc; b=TaWCxwLoG7lPnE29PcjcXGG2pYp2U2vxnpJlZtER7YlMx+XilRtxDOo6Pa4y1HmKCanacoBhfYe9yaqfOT+2Mh1tayg4jgzghvME60FICIDWeDva6FkfiW/2h0lppnLvB3gNp90DlJhAATEz3vaNsSBJNhLHTnqqmSGo5yHHn/I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611155980; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=Y7WrzwPEJea74ZJswOnFr7VkphOOOJIX5g6UJTnwvsY=; b=XptZ1A4uYlAloEaSNNzzP86DigVdcaJCkt5fIqyE6s9aEw8Tj3t3H2A7U0hemOCu2QJI7gk3expx+CoNYNA6jePrMVw/lL+xDKWmzaRsivKms2Wsho88Xp7o3D0xITElH9KKZriRpiQJi5rXj+kJvE5VyNveB07h3PD28bmxYbo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 161115598092969.94304896640938; Wed, 20 Jan 2021 07:19:40 -0800 (PST) Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-559-uboJccmvOLWoINaHviuu-g-1; Wed, 20 Jan 2021 10:19:36 -0500 Received: by mail-ed1-f69.google.com with SMTP id w4so7466317edu.0 for ; Wed, 20 Jan 2021 07:19:35 -0800 (PST) Return-Path: Return-Path: Received: from x1w.redhat.com (13.red-83-57-169.dynamicip.rima-tde.net. [83.57.169.13]) by smtp.gmail.com with ESMTPSA id l16sm1280410edw.10.2021.01.20.07.19.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 07:19:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611155979; 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=Y7WrzwPEJea74ZJswOnFr7VkphOOOJIX5g6UJTnwvsY=; b=WGZfLDfkhMCv+Dos3gPy2YDAoPKyJTH2FLdejnY99cV7nb4KMUYiGYXVmMt2MWO6sE6+TP L33Y2MkYc/blz2O9Gl0pDJ0rcl9IVEqKr0zN8MFSFKSI7+7kSKaAZJ5zrAbWVgV60wavLJ UYW30cvHfIuZNN3+Tc5Cjvk1C0hiNlE= X-MC-Unique: uboJccmvOLWoINaHviuu-g-1 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=Y7WrzwPEJea74ZJswOnFr7VkphOOOJIX5g6UJTnwvsY=; b=tup5mHvigKOr1fXXBPWf06y56c+xes2msVwsykKRlYemkI/tF2lxXmrPVzBt9KvU7A Y5koQgmqgzOSVusjm4BI1oqmlUAMr3e1YaAM6xctciOJKjfPvAQtMFA24kYUMMViGcfk BQT6zSHQ7YXPpV0NBgCtMZv3WNPRxIBLQ0E+Uft9DRPC2w+FuGN5DsQ+y7UqESwv5D// CBWlNCe6i33/2RRqSx9tBjNxbAYmjy2oENx2c/Pv381IMk/sfnu8Kx7QZAv0X3RCz1qY 8SFqBSk7X1PsexT+3DyCZOl8Hp8clLk6A8IeQKilhLHloZb89ajn3Hx1zJpr7nIAX/37 2kTQ== X-Gm-Message-State: AOAM531MHvLME+5RSOtlJNK6KKO+pUoESXrjIj9MN83ySuGJ4rhpSFLb usg7ccuj3DAvlSOgywm+nVJWFsr7bRF3iTIlJEoNCoNS85PstcmmYqqg9EgEvXdFuQr3ogekR0s rQFjeI44n668mag== X-Received: by 2002:aa7:c84c:: with SMTP id g12mr7537215edt.193.1611155974533; Wed, 20 Jan 2021 07:19:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJz7vxx1anSoTYlOdWJkYboxe5XklrzPZ+yEnvfLevuhsGehW1NIAM0B2GRngRJE/A1ziRDJbw== X-Received: by 2002:aa7:c84c:: with SMTP id g12mr7537209edt.193.1611155974418; Wed, 20 Jan 2021 07:19:34 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 3/3] configure: Emit warning when accelerator requested but not needed Date: Wed, 20 Jan 2021 16:19:16 +0100 Message-Id: <20210120151916.1167448-4-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210120151916.1167448-1-philmd@redhat.com> References: <20210120151916.1167448-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) In some configurations it might be pointless to check and compile accelerator code. Do not deselect the accelerator, but emit a warning. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- configure | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/configure b/configure index a5159157a49..09e1cd8bfe6 100755 --- a/configure +++ b/configure @@ -5514,6 +5514,27 @@ if test $git_update =3D 'yes' ; then (cd "${source_path}" && GIT=3D"$git" "./scripts/git-submodule.sh" upda= te "$git_submodules") fi =20 +if [ "$softmmu" =3D "no" ]; then + if [ "$tcg" =3D "enabled" ]; then + echo "WARN: TCG accelerator selected but no target requires it" + fi + if [ "$kvm" =3D "enabled" ]; then + echo "WARN: KVM accelerator selected but no target requires it" + fi + if [ "$xen" =3D "enabled" ]; then + echo "WARN: Xen accelerator selected but no target requires it" + fi + if [ "$hax" =3D "enabled" ]; then + echo "WARN: HAX accelerator selected but no target requires it" + fi + if [ "$hvf" =3D "enabled" ]; then + echo "WARN: HVF accelerator selected but no target requires it" + fi + if [ "$whpx" =3D "enabled" ]; then + echo "WARN: WHPX accelerator selected but no target requires it" + fi +fi + config_host_mak=3D"config-host.mak" =20 echo "# Automatically generated by configure - do not modify" > $config_ho= st_mak --=20 2.26.2