From nobody Sat Feb 7 09:35:09 2026 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=1611348294; cv=none; d=zohomail.com; s=zohoarc; b=giCs6qZVj4ZQ9b4AQKoSDWbtXJHehtj+ua3NvNI6LSCF/akUmbkJiiYYp5KmAiJBdVPwVIzDwqfBQ2J4zqzokESt1c3u01S7MBI0CZBxRSIybaOsZ/jzzPrwLGNQmVZ1ktz9cKCaH5FJ12j0+1FF2d3hT6wFFKh9UhUn0s9zPms= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611348294; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=XmHD1gd1pwAPsPix2HJSRrv+P+pZSRHHJkPZZ/B/00s=; b=eHM2cHwN0zqR+p1ccCkpA3e6mX+ebjHJroNcxZRuE/JL2hw73acd82oSY/ZRcGVdMUhwrH71A8us65jhUw+bJK9UoQpbPWikuYSYLex0j0ehJiC37je3fw9mrRhyAUsSdOEHAlP/j9ppiLi9bJzlXXFUM15Omm7GVrj4OlaQH9o= 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 1611348294100314.8074198260218; Fri, 22 Jan 2021 12:44:54 -0800 (PST) Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-241-gbYRHm6ePvCOJiC7mCxAAQ-1; Fri, 22 Jan 2021 15:44:51 -0500 Received: by mail-ed1-f70.google.com with SMTP id j12so3494460edq.10 for ; Fri, 22 Jan 2021 12:44:50 -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 s1sm5227798ejx.25.2021.01.22.12.44.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jan 2021 12:44:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611348293; 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=XmHD1gd1pwAPsPix2HJSRrv+P+pZSRHHJkPZZ/B/00s=; b=Eu3h0mFaORU0tC4gPQWHTly0Rpbnb2oeMRGyN2/YUDWEaCd5tqRAvbfO7P3N559NVWi8zs j8Xs4vGA4Vd8R4at32pN7xof0jSZTlFWBarGj/lS8AgVlKmm7UgxRqRGhwc6b7+PgzwQU0 F0qGYH/mTlJ6dcgNf89317OFu6w/oy8= X-MC-Unique: gbYRHm6ePvCOJiC7mCxAAQ-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=XmHD1gd1pwAPsPix2HJSRrv+P+pZSRHHJkPZZ/B/00s=; b=fou0QxG1OlDPvgGLJJEoHj6iuxLoKlubW5lrnm+/iGWjKwq325/8zA1VkAoMkI1IYI D3hOG7h17LZndSTt+Uu0cqXc6NMFb/StNYPoqEaYMZO+nuGB74+t+TjapSUZP+d2u2QI M0W5Na05aqpP0vthL1TSIjYc0u/dAJ0VMYcdkRM8VBvO9Wp0pZ3w1HSKlYkzZiyIIibU 7UrL06WiPouwAMAS11L9N2RFrpfETfjwTQr3QDE0Aj9ezG6vguqM2iwRceSwyZl+PUMa O0ggaks6bDMxvqQu8XbKzsJxCimoVuSYKE4MQfimiXSeeSHPIdEqDtocemOShXyWWrLr TseQ== X-Gm-Message-State: AOAM532/X8FCGxP268K+C8UaJE/hIUIPOLyTG1oig2uctCwb/9GP4bPR v/yKOabJJOo8hh6r/xLwTFL+Ym8Jmo/hggMJbJSkDqPZ7M0+ZqFl4g2wVzL1IoopulINkABbTEz EsLh1ygd9kU5Rsg== X-Received: by 2002:a17:906:fc5:: with SMTP id c5mr3723751ejk.538.1611348289730; Fri, 22 Jan 2021 12:44:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJxK02+JJY99Q9rKGjKUMGnd+sQwdHmgZS+DP00uahWImMj3GkxvoiD/XqpboHLzOJhICFb4wQ== X-Received: by 2002:a17:906:fc5:: with SMTP id c5mr3723731ejk.538.1611348289522; Fri, 22 Jan 2021 12:44:49 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini Cc: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Markus Armbruster , Michael Roth , Claudio Fontana , Thomas Huth , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Gerd Hoffmann Subject: [PATCH v2 01/12] configure: Only check for audio drivers if system-mode is selected Date: Fri, 22 Jan 2021 21:44:30 +0100 Message-Id: <20210122204441.2145197-2-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210122204441.2145197-1-philmd@redhat.com> References: <20210122204441.2145197-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) Acked-by: Gerd Hoffmann Signed-off-by: Philippe Mathieu-Daud=C3=A9 Acked-by: Paolo Bonzini Reviewed-by: Alex Benn=C3=A9e --- configure | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure b/configure index 6f6a319c2f6..a4476d457e0 100755 --- a/configure +++ b/configure @@ -2324,6 +2324,12 @@ if test -z "$want_tools"; then fi fi =20 +########################################## +# Disable features only meaningful for system-mode emulation +if test "$softmmu" =3D "no"; then + audio_drv_list=3D"" +fi + ########################################## # Some versions of Mac OS X incorrectly define SIZE_MAX cat > $TMPC << EOF --=20 2.26.2 From nobody Sat Feb 7 09:35:09 2026 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=1611348302; cv=none; d=zohomail.com; s=zohoarc; b=hKl9F8ay2iRtf16kqdGwB+xhIf7pZg8ZC6gasiRkEE2L4N080ulRxi3g+fmhCXc89xOij7sYetBWCrn07DnUJRf6lbkRwtQ2yKO/u5aYJLN1Qmzwdvj5hTiCDMf3+dA6gZAbavaRHLQ8SL0CL8G14GV8SDAWiBALjslk57/TIOE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611348302; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=3kJMWGCGaFHbWyDMXV2iCwU8iAJqoNy1I3FHk8D4w/0=; b=NiKpiZ3VXv23OFFiP9digxwhGZ0kgpL60JpCcugKlxMIb24M3Wm+W4kflAGoiXrepKGIv0PEigqGwkLniHLTlQYQkbh/63v/DLLD55W+zjWKRL2/lRC+LHqVwzxlSjRCt3SowNKwIP9eGL/GC25vblsr8bjyE3GpxGY7j0AnqrQ= 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 1611348302565347.14977917178464; Fri, 22 Jan 2021 12:45:02 -0800 (PST) Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-231-r1uRJACKPGSyKKWofSJThQ-1; Fri, 22 Jan 2021 15:44:56 -0500 Received: by mail-ed1-f70.google.com with SMTP id u19so3009849edr.1 for ; Fri, 22 Jan 2021 12:44:56 -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 g25sm5182357ejf.15.2021.01.22.12.44.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jan 2021 12:44:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611348300; 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=3kJMWGCGaFHbWyDMXV2iCwU8iAJqoNy1I3FHk8D4w/0=; b=N0M7APrj4FBRTdhZQoTOkTkZn6sB9ZZKcwuzodA3iV2PQa2ejcGg638GMhlrnabd4O7oaL 5J2UipqWtq8rGoxTW5dXg9FhMf9vrYTCJCXZfOinVN/zzo5JAQvZHAesGs9fnJoCfIiohr MUuEpOp4Q8XoTAR18+5sCZUJWygU2cM= X-MC-Unique: r1uRJACKPGSyKKWofSJThQ-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=3kJMWGCGaFHbWyDMXV2iCwU8iAJqoNy1I3FHk8D4w/0=; b=ipCaQYqaKdFMXO3Wcr5gCfNMIKN0vKA0R2tAQQj/hOcUIbzFbh467cQSrJ7pf0wvfe haEwPDnP1Qsv5LVHhgI6dhEB9C/8QVDhLxiex6WdsFhD4LU8y1U79oDcVCmEueabw9E4 XOEVRVVvj77iG/YiqV26GSxe0mUEwsTPact8AmlgA6J20Kb7XR4GkGe/0WtOoDgrP9Ke GRsbIms6veJPD9darqWNtTNoc2B4Ky4spt2xzqTpCc2SDnmziTSt8QM3TS55UCKTvE/c ObFLV+RbqziYYlXHQj7qyq3Vj13de/Plf9sPF2I2Hg9bv8rtUoHJ0Rr0fyRLxzvuTwpP 6sjQ== X-Gm-Message-State: AOAM532J3JKK49YAS1DSvISjVcioLP+FagMablIQigfZ2a4wbYBPZfSj INlKIbrsVVqYNnwuwSk0OHsfx5s632Ez3faPq3mbjlAX6jazqD/O8oZDE3tU072J6yTke3RXdGx 3YDR7vkCbSmTssg== X-Received: by 2002:a17:906:ae9b:: with SMTP id md27mr4270840ejb.357.1611348295270; Fri, 22 Jan 2021 12:44:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJwc642aJvC0q5QJajZDAaPfQ3oxWQ4aIYakUZbpfOomXvlP0MG8L6eynOJteXDf6SKw4rYKWQ== X-Received: by 2002:a17:906:ae9b:: with SMTP id md27mr4270834ejb.357.1611348295162; Fri, 22 Jan 2021 12:44:55 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini Cc: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Markus Armbruster , Michael Roth , Claudio Fontana , Thomas Huth , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Richard Henderson , =?UTF-8?q?Alex=20Benn=C3=A9e?= , "Emilio G . Cota" Subject: [PATCH v2 02/12] tests/meson: Only build softfloat objects if TCG is selected Date: Fri, 22 Jan 2021 21:44:31 +0100 Message-Id: <20210122204441.2145197-3-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210122204441.2145197-1-philmd@redhat.com> References: <20210122204441.2145197-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) Suggested-by: Paolo Bonzini Signed-off-by: Philippe Mathieu-Daud=C3=A9 Acked-by: Paolo Bonzini Reviewed-by: Alex Benn=C3=A9e --- Cc: Richard Henderson Cc: Alex Benn=C3=A9e Cc: Emilio G. Cota --- tests/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/meson.build b/tests/meson.build index 29ebaba48d2..6f1ff926d26 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -276,7 +276,9 @@ workdir: meson.current_source_dir() / 'decode', suite: 'decodetree') =20 -subdir('fp') +if 'CONFIG_TCG' in config_all + subdir('fp') +endif =20 if not get_option('tcg').disabled() if 'CONFIG_PLUGIN' in config_host --=20 2.26.2 From nobody Sat Feb 7 09:35:09 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.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 63.128.21.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=1611348307; cv=none; d=zohomail.com; s=zohoarc; b=SQdHNMsXdlhaUR8r31ZN0bxkODTRm/yFaK4raEFfLkBE8NxP8qYFDUtGc0eJNYOUkf+HMVGk+PwgycUCLfv2VIVINVaWsRXwTKGabzumkhrxwaAnufLR/hkbmCFDzopSJ2GJFwWLDyd+BBAqXj7WAWMT/CvKcBr9bUtmTkKrqOs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611348307; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=3kURzPHbdlK3pgCJTiRRaYFTKsXwjZMTK1ZXIH+DPao=; b=PF3zB2+yuXxUNqYMBafDHyWxuwOJi4bREZsL2ZntmWo6TtZ9hgXFmpZu/NKQilnTtx/5V+Eo+ctsAiA6YdTvaXGpBv0XMeUlcbZM8WI+xc+cMZh7Qc33+7Ril/ihEEkCAMf0tfh4VJwGo2iZH4n23Dj88r7IpyixLM6WLnEDfT8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.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 [63.128.21.124]) by mx.zohomail.com with SMTPS id 1611348307408289.5928019644151; Fri, 22 Jan 2021 12:45:07 -0800 (PST) Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-566-pc6jHO-rPbqP7eoxPlVJEA-1; Fri, 22 Jan 2021 15:45:02 -0500 Received: by mail-ej1-f71.google.com with SMTP id le12so2674004ejb.13 for ; Fri, 22 Jan 2021 12:45:01 -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 b26sm6142250edy.57.2021.01.22.12.44.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jan 2021 12:44:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611348304; 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=3kURzPHbdlK3pgCJTiRRaYFTKsXwjZMTK1ZXIH+DPao=; b=J/gytzk2KbdlVIIaIht59Vlnqanw64DKSs5uh+PuHo7Yhf6jMw/QCQzqZqGlmrQHoE/oFT UWlONKr2iBy0RZkZHAS7klthbnpiq1nKk3nU9FKt3qnJY7Jov64VXlHxo+2tt2tZodB44a 9glcHT8aEecubAYHCAJPRwRezrPq6Ds= X-MC-Unique: pc6jHO-rPbqP7eoxPlVJEA-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=3kURzPHbdlK3pgCJTiRRaYFTKsXwjZMTK1ZXIH+DPao=; b=RwJs7r/cjGur5HnXWuNO8B+yfEFiZR+Nf4ehp69pQD2zbXIsvk8H8SJbtzBZzLWLZU 7L6MOhpKHQy47XBz6R58c1IpTIll12xeqd9yyWrilDHidy8BN8+nO1NA27TwBTT/KRVg V0W1O/F3sHWbRp5L4Ty4WYXkWGT+lzNAM/rqgrvEXUKhxMAad5Ie+Ty8jg3Pphi9oVyR x+6aTuEtBZ14esGC1/xCkJYneKOAAUsEaFliJEz/J3q3vGxnrEfsKYevXOgymvCkX5Uq X4EVchYbATfRfIvsQnXN6DHWU0FitVgXvl5ct9pHMikNy29XqR9VS97xhnofmLKhQHx+ Gyzw== X-Gm-Message-State: AOAM531J3tdbkeDviLsaWL2lFzMMl7slYjtU1w869U/53iH3e9xVRkvB kbQhggVJwTP/kg6b8d9x8vSNlrg/d5TnOw75KzZRpVj0Yvt8F29k0AFJKKyeUVZppOi0/KIcd2/ aXuSVsVFaBl2X1A== X-Received: by 2002:a17:906:7948:: with SMTP id l8mr4217798ejo.550.1611348300700; Fri, 22 Jan 2021 12:45:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJzls3OSuF/1kperLWd+fSlt1DW0u3sCAM6CW9/FGOBc4y7bXj06+znAUR1F9A6OtkAJIe7vkA== X-Received: by 2002:a17:906:7948:: with SMTP id l8mr4217789ejo.550.1611348300582; Fri, 22 Jan 2021 12:45:00 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini Cc: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Markus Armbruster , Michael Roth , Claudio Fontana , Thomas Huth , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v2 03/12] pc-bios/meson: Only install EDK2 blob firmwares with system emulation Date: Fri, 22 Jan 2021 21:44:32 +0100 Message-Id: <20210122204441.2145197-4-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210122204441.2145197-1-philmd@redhat.com> References: <20210122204441.2145197-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) Signed-off-by: Philippe Mathieu-Daud=C3=A9 Acked-by: Paolo Bonzini --- pc-bios/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/pc-bios/meson.build b/pc-bios/meson.build index fab323af84e..68705d405ce 100644 --- a/pc-bios/meson.build +++ b/pc-bios/meson.build @@ -16,6 +16,7 @@ =20 foreach f : fds custom_target(f, + build_by_default: have_system, output: f, input: '@0@.bz2'.format(f), capture: true, --=20 2.26.2 From nobody Sat Feb 7 09:35:09 2026 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=1611348310; cv=none; d=zohomail.com; s=zohoarc; b=SydJODHIRB6hy+norx9LfrhQ/NO//eczgX9wydf4C41OBNiQ5t0Yxpf5sPLOdnisKi8OqX4guTGw/9slasi4Q5osZ8JRSSLMYE6tDJ7G9vH0glqLe52vT9tTFpk8a21AM7cN5/IbmVccwpvtYfqa6iXAhZ6Ifi8sOwm6R6txun0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611348310; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=BS4UgVi6YkcI9gALuOcfQ485tajLCMcuiC5E8yTwxc8=; b=E5uHnaQ9q0vuncGtfYCgyM91gLxga+Z8507BRitJIIu30tB90nJwfk2gHdUZ6EroyiXuRZnPO9+VY/KRBckV6UBeMkIXo8n64VyBuj8FH2mj2AZizFiR/TzcTGwq4pB9QtkZq/WXKQbXQJkmKGfge9dEK25SLApQ3MhrK0pjeog= 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 1611348310047745.5597781233262; Fri, 22 Jan 2021 12:45:10 -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-591-n7Xb2gt-Mcu4gE6AqxbwlA-1; Fri, 22 Jan 2021 15:45:07 -0500 Received: by mail-ej1-f70.google.com with SMTP id f1so2668659ejq.20 for ; Fri, 22 Jan 2021 12:45:07 -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 m22sm6236571edp.81.2021.01.22.12.45.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jan 2021 12:45:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611348309; 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=BS4UgVi6YkcI9gALuOcfQ485tajLCMcuiC5E8yTwxc8=; b=ExStZw0JdSL79evL9qZAV4ZZhe5FFiuoqy2MKOPsjZSASQzviTyP92xlTreL2EgyJtxl7T RmA9ogTgj+KGfn+7jaH9/o+TY0AYrvUiU4VlQz4b4zYkQYNzeweHjsF0wT3KCZettFBvE9 Zajt0d6ZdMOCYnPp0dPo3OjdjPV4Af4= X-MC-Unique: n7Xb2gt-Mcu4gE6AqxbwlA-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=BS4UgVi6YkcI9gALuOcfQ485tajLCMcuiC5E8yTwxc8=; b=mz+rrv53YrzkkyvU23Nu/x+XYPERI2IJ+vO9SAF2IN1oIjDyqWHJ+9nGBm31BivUWh bYM3/w7XbJIBEJBvtvGIQmnFxteQFQjdqChn16mnz2vvsaaGffD1g1syo1Qixd20/EP/ UJsb/f3Zfg4AnCCYeRbO4+UyPm7WdZjiapJHuVXTgeqGq53jji7QbiXS2gN/OdjJo+ni rTftTdeMIuH6SQuyUV7VGNfX82nUqAvE3EpEzJXNm71tH2QZNitNsIIIxKhGnptcKgTF SYMIlbwDSeJLit4F3vsLjpLQsP95OT7l2B46ldXPSzzW7WhdSa6GIz5BEJ64czl0Bqf8 uw4A== X-Gm-Message-State: AOAM531A01Ire/qSBtp0gxSMCEa50O0IrkkYbw6bpEG/rNYlTmUSVwUp S6V3Xum6gQjysmBaRnv36wmVKx6JV7QzUyNCuGWCfj8/+Jf9wUk1vTYHW7cMi54NFDIk01U4/ay Guh21ABJSSFuUuQ== X-Received: by 2002:a05:6402:14b:: with SMTP id s11mr4439522edu.214.1611348306209; Fri, 22 Jan 2021 12:45:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJx0dHMcfgaUDK4+Odqgy3SMUCdFjQbcUtB1rngABW4hdqxEvRvMmbiv+iSd+O6gBYRYwHyDNA== X-Received: by 2002:a05:6402:14b:: with SMTP id s11mr4439509edu.214.1611348306083; Fri, 22 Jan 2021 12:45:06 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini Cc: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Markus Armbruster , Michael Roth , Claudio Fontana , Thomas Huth , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , David Gibson , Samuel Thibault Subject: [PATCH v2 04/12] meson: Do not build optional libraries by default Date: Fri, 22 Jan 2021 21:44:33 +0100 Message-Id: <20210122204441.2145197-5-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210122204441.2145197-1-philmd@redhat.com> References: <20210122204441.2145197-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 following libraries will be selected if a feature requires it: - capstone - fdt - SLiRP Suggested-by: Paolo Bonzini Signed-off-by: Philippe Mathieu-Daud=C3=A9 Acked-by: Paolo Bonzini --- Cc: Marc-Andr=C3=A9 Lureau Cc: David Gibson Cc: Samuel Thibault --- meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meson.build b/meson.build index a1e1eb318a5..61cbb89cd44 100644 --- a/meson.build +++ b/meson.build @@ -1446,6 +1446,7 @@ ] =20 libcapstone =3D static_library('capstone', + build_by_default: false, sources: capstone_files, c_args: capstone_cargs, include_directories: 'capstone/include') @@ -1523,6 +1524,7 @@ =20 slirp_inc =3D include_directories('slirp', 'slirp/src') libslirp =3D static_library('slirp', + build_by_default: false, sources: slirp_files, c_args: slirp_cargs, include_directories: slirp_inc) @@ -1568,6 +1570,7 @@ =20 fdt_inc =3D include_directories('dtc/libfdt') libfdt =3D static_library('fdt', + build_by_default: false, sources: fdt_files, include_directories: fdt_inc) fdt =3D declare_dependency(link_with: libfdt, --=20 2.26.2 From nobody Sat Feb 7 09:35:09 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.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 63.128.21.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=1611348316; cv=none; d=zohomail.com; s=zohoarc; b=kOOQrEyxFopFiT80R9+ASasiRl4sG0L6aGxb+jQRE4RFeSBg5MME1w8dvnABmG6+J2nnjsEXSOp3zP5Wrq4DZDspWfJar3DoBVHS8KzvMc3yKY5mIU//XnuHDZJSsr/QiNdbpb0nfTiylNNz0T0wDkcu2/VrebUNYJ71DZDY3+w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611348316; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=GydJH9WUvPPt/ZHf2nL4t32IBhhMcFqNk+W+P5HZBSw=; b=Lt1thpZ85p7YLTMQlCc5RytaZX3QjejhoRXM8VOeoxYzWrRyJMFrQMfmfQREp29HwvUv2B3ub/Mx9hIm5Hj/dXglMQ/xy0WiqNX9vd68XYwqBJJAoECsSBFCHXXwSzba+Q7ynQhSN3mmIfPfKp4V6x/GWCIcYOiNEyCv09cG/d4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.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 [63.128.21.124]) by mx.zohomail.com with SMTPS id 1611348316873838.4857100266775; Fri, 22 Jan 2021 12:45:16 -0800 (PST) Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-324-irp2N4DbPFO2V7xp6SFaSQ-1; Fri, 22 Jan 2021 15:45:13 -0500 Received: by mail-ed1-f70.google.com with SMTP id dg17so3515613edb.11 for ; Fri, 22 Jan 2021 12:45:12 -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 i13sm6234856edu.22.2021.01.22.12.45.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jan 2021 12:45:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611348315; 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=GydJH9WUvPPt/ZHf2nL4t32IBhhMcFqNk+W+P5HZBSw=; b=RG1yqFUpY/zklr3/5XHJpFx/L7jd/SI47ObGqzlYv9VUZsk0Mc6YPXtq7ejmid0PeaYncH DXCuW2doGZusosPWmCQravIZlbnzpwznMDkXtddALSteRwJ6/Zk2i6IDUWvOYvnotJHrO/ hZqCWBtxI8q2muIjlbUA6qTNZCjFccM= X-MC-Unique: irp2N4DbPFO2V7xp6SFaSQ-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=GydJH9WUvPPt/ZHf2nL4t32IBhhMcFqNk+W+P5HZBSw=; b=D7dWYCzMLCdCe0Fp2s90PGTc2d4zsl1CucNoQ65WU08VrMpVAWVczvFyb1GnoDWILL d8NGB4SFWOewtTg/zMe60xJX7m7AY6K9xf6fG8XyLYUGCT1E1o8zCY+KyYI57Cdn3VV+ SzYgCEOG9WwabHr2TC56zYSfnyaAU1F1PBu8yT6idCVKbbX4E9cJCGXBwAkKoQv4Wz1E BV8dEXfG3gX3pEQ2aOkqwQbPE4DjuwOuepfkKHdCQcklcVgTWNyIGniQUdlmKZ+hZBzS Oqto12xZLqGfE5PGag4i70aN4TAAo/n3+6LTp8xMt9gdJK8AaFqqxyqhxHrtr3lWC0e1 Cp0g== X-Gm-Message-State: AOAM533avAYhfDjUr4MK7xfSu9MxxaB6T8c9aBwXHStlo3gxLSd7HKRQ Tb5fBl8/cFL8Na3/rBd2qNE7UR6mEcuOzadn4+/6ekAmb0G/eGn5xX9woZXUAKvZybCQiLcIByf crZtCuLHnBnLX5g== X-Received: by 2002:a05:6402:104e:: with SMTP id e14mr1119987edu.316.1611348311724; Fri, 22 Jan 2021 12:45:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJzjuas0tORPJ2oQr+NbjgaaeWf35m/gryQH1uCP+H++dgJ4ILLPMgRwzJcRh2+QYN7ixyqKIg== X-Received: by 2002:a05:6402:104e:: with SMTP id e14mr1119973edu.316.1611348311563; Fri, 22 Jan 2021 12:45:11 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini Cc: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Markus Armbruster , Michael Roth , Claudio Fontana , Thomas Huth , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-block@nongnu.org Subject: [PATCH v2 05/12] meson: Restrict block subsystem processing Date: Fri, 22 Jan 2021 21:44:34 +0100 Message-Id: <20210122204441.2145197-6-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210122204441.2145197-1-philmd@redhat.com> References: <20210122204441.2145197-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) Avoid generating module_block.h and block-gen.c if we are not going to use them. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Acked-by: Paolo Bonzini --- Cc: qemu-block@nongnu.org --- meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 61cbb89cd44..181f8795f5a 100644 --- a/meson.build +++ b/meson.build @@ -1829,7 +1829,9 @@ =20 subdir('nbd') subdir('scsi') -subdir('block') +if have_block + subdir('block') +endif =20 blockdev_ss.add(files( 'blockdev.c', --=20 2.26.2 From nobody Sat Feb 7 09:35:09 2026 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=1611348322; cv=none; d=zohomail.com; s=zohoarc; b=cyNIiHRV/2bV8QF7tCR9SVlnmrFtYZRhOsND65goJkpSIyev7H1G2Vxd6tsJL6egFWxPoiRQD4kSzVNDJTerx+FIzYaUOl8CiOgCCImrYEzlK4iC0zPeH3cK+7yptnhHIlA5TR7LjRt9Yb4M7xTDJYZMz4+Ga0zhivyJ+N2vgsU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611348322; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=yHJ2XuVci3FGNiQY5SlEo5RMP1UZeE27p+2I+95wtjY=; b=CXS5R2jLKyEHz/jl/W0HEp2Y3v7pwAW/bAdlVIPrMtowb8ifQba10dGbtotL4xBq05rEUm1jvYvpdpaM4V4Guz0B3cpZYod26Xg/i6nWjVIpHWxHtYZkGP61Fe/gEDii6P1IppgW6b6fN6MErAYrCL85dNjftNmEpKYbgeNBOH8= 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 1611348322139824.9877190226163; Fri, 22 Jan 2021 12:45:22 -0800 (PST) Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-205-p495Bh0fM2KEcoFkdoa99A-1; Fri, 22 Jan 2021 15:45:18 -0500 Received: by mail-ej1-f72.google.com with SMTP id h4so2694274eja.12 for ; Fri, 22 Jan 2021 12:45:18 -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 k6sm5171423ejb.84.2021.01.22.12.45.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jan 2021 12:45:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611348321; 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=yHJ2XuVci3FGNiQY5SlEo5RMP1UZeE27p+2I+95wtjY=; b=FNN/NmbDxq9VDLkhB/XvkOw3NoRpANT47yxB6OtxCwfrWd8Tg8Fe8p1UAYNFZX8nruVUA/ geQjQ2+zN/6CV4lebA7swVKDRvtQO+q+i71vfsZFleKnWnzA12zNa5jVmXUouC5qDAO9d8 0YzFvtl7oPfBy2I9oDDlAipcshyxsOI= X-MC-Unique: p495Bh0fM2KEcoFkdoa99A-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=yHJ2XuVci3FGNiQY5SlEo5RMP1UZeE27p+2I+95wtjY=; b=Zij/Ln+avhfhCdMzQ/7G2VCvSgHjaPYh4mFmePRMyz8MwoiLD2d7m6MWjHivmKb9mF hioXYh9L1lPr7nWEpsQnANhhYg8j2Kckc/HuiWo5Wv97EyrDMEfMzmAB9K+opnBAkLlT NMOcKLM+OB6MOUsPp4TrNMB8zz+c8w6parpFUuVIuhWQdDv0ms040qZlUdpEbLO5RT7Y 3kqQEbY/+DdEnTBfO77qYVidNJLapxMu8ndCIrtcicJR8cf+igH0IAYyd5xCyUydbapt UN2aVlZzNRXNY/1A2LxdEvY3yd4Goj+b+5a/E1mompfmFedeb6i4WIM+sWYT/2HrBqEC uCyA== X-Gm-Message-State: AOAM531mf+AGmTzdGvwYCuWMt/+X1xtPC3RfkwrKy33pzjSo/dhQjaiC GVN4FKNpjlWiYDQFJRX7cStM6040y+fvQ30BvI0y3lkfiwjOzf9H4TdmFLBjxJ0/07cd++MEahR pFw+1+EssVlJ0QA== X-Received: by 2002:a17:906:97c5:: with SMTP id ef5mr51922ejb.347.1611348317082; Fri, 22 Jan 2021 12:45:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJzH6IHk7jyHHQV3mNKNbE3OWPCYK0fV1QLoAClzW6rGtGMJMa1BylO9Gdb/NxojsBx+twpZTg== X-Received: by 2002:a17:906:97c5:: with SMTP id ef5mr51907ejb.347.1611348316970; Fri, 22 Jan 2021 12:45:16 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini Cc: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Markus Armbruster , Michael Roth , Claudio Fontana , Thomas Huth , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Stefan Hajnoczi Subject: [PATCH v2 06/12] meson: Merge trace_events_subdirs array Date: Fri, 22 Jan 2021 21:44:35 +0100 Message-Id: <20210122204441.2145197-7-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210122204441.2145197-1-philmd@redhat.com> References: <20210122204441.2145197-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 trace_events_subdirs array is split in two different locations, merge it as one. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Acked-by: Paolo Bonzini Reviewed-by: Claudio Fontana --- Cc: Stefan Hajnoczi --- meson.build | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/meson.build b/meson.build index 181f8795f5a..c43538a1523 100644 --- a/meson.build +++ b/meson.build @@ -1686,7 +1686,20 @@ 'accel/kvm', 'accel/tcg', 'crypto', + 'hw/core', + 'qapi', + 'qom', 'monitor', + 'target/arm', + 'target/hppa', + 'target/i386', + 'target/i386/kvm', + 'target/mips', + 'target/ppc', + 'target/riscv', + 'target/s390x', + 'target/sparc', + 'util', ] if have_user trace_events_subdirs +=3D [ 'linux-user' ] @@ -1759,21 +1772,6 @@ 'ui', ] endif -trace_events_subdirs +=3D [ - 'hw/core', - 'qapi', - 'qom', - 'target/arm', - 'target/hppa', - 'target/i386', - 'target/i386/kvm', - 'target/mips', - 'target/ppc', - 'target/riscv', - 'target/s390x', - 'target/sparc', - 'util', -] =20 vhost_user =3D not_found if 'CONFIG_VHOST_USER' in config_host --=20 2.26.2 From nobody Sat Feb 7 09:35:09 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.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 63.128.21.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=1611348329; cv=none; d=zohomail.com; s=zohoarc; b=g7RcXBuDzdMc7NbESpKJZxyEPJ23vFOQMZF+l6KNSCWIiLbXDqwHJtuZHOza/kdsBSXXz21amKnw+R9tq6Ytuzv2a36BMtJBExYX/PLa16V4am3JJq9m+neTua254Dif5+piQfnXmV/dMCDmn5oYhYWCQtHaWNeVT2URcfbvwMc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611348329; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=BM5TUfzZBhZVJYVYCyN6f9pu4TxdGbS+7Z5pCr1lfwo=; b=lp74hOQnDGOsczS9oRtH1HBusCcD8uXinOCkeitx7xwXOiOqwA32VPnQboKN5Zi7OXzGY32tB7pv1Ni4wF8EZ0I3H5cRXLRku6sraHuoFe/t3uK8dZfpo4inD9P7AN5D/5gUIxntVCpDPKeDnbAytvBVD3Y3xOP+BqwWV6yK56g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.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 [63.128.21.124]) by mx.zohomail.com with SMTPS id 1611348329381113.97035118459894; Fri, 22 Jan 2021 12:45:29 -0800 (PST) Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-206-eUpVvCQeOiyiNI4EK86ocw-1; Fri, 22 Jan 2021 15:45:24 -0500 Received: by mail-ej1-f71.google.com with SMTP id dc21so2670191ejb.19 for ; Fri, 22 Jan 2021 12:45:23 -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 v25sm5235145ejw.21.2021.01.22.12.45.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jan 2021 12:45:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611348327; 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=BM5TUfzZBhZVJYVYCyN6f9pu4TxdGbS+7Z5pCr1lfwo=; b=d1S2quzDurBnqP/i0/YNpg32yC1HLlEPLFjKz7ROE26g9GNMDFND8LzJqtn9hbgZrg3hOL 5CuF5wrhOMR1lq/wVC5HVeC3OmmzdU4mlW7A2CHg7FNmVLqU/i4GjK20oFMkTkuzuETtYf tU2b1ZCvpVgLC8trKkmJFg4KnNkC9f0= X-MC-Unique: eUpVvCQeOiyiNI4EK86ocw-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=BM5TUfzZBhZVJYVYCyN6f9pu4TxdGbS+7Z5pCr1lfwo=; b=hO4efbsCkRgJz5uFSN/IXvNloRaocKMLien3Rjz0PB8ktJ2thKCJd8nmfF4Z3304jQ WzSTSfgD7uMMgTDViLZRTuHPgmlUJ2uH/0ZsVHtPn9nxFx5KiDfJ+WNGRVgbxlk52Cpu iH/9cIo5/fpPSpdq4AJvYIOc6BhoLy3MZV3xBTyx7/JY4mWJLf6qqCo1WAjtdQ30821B l24GE39k/L0RBQSB5gYb2RA3Al5tWwAcqV7PNMSZYnZNCFLWKPuTJI4XOWM7ddwSbxeK +DGgTr3ErFUqLldpXNnqSq4odP95gMcJbaJ06zwxVMyfn6vIO6eYhiYhmFsu9oEc24Rg 2XDw== X-Gm-Message-State: AOAM532uTxS/W69xHZ46ytIJVXRKxSBIeewEOBCFa3TBSP0N+74VXsZ5 JgCRRw7PK/gq46NtS6SZ9OHy/YTLcjygZPRV//m++9QgKmkMDymTKyEE4ABIR7H6aiCFSLRwWGk mEmHqnlbQbMRpFg== X-Received: by 2002:a05:6402:c87:: with SMTP id cm7mr4656529edb.69.1611348322407; Fri, 22 Jan 2021 12:45:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJwuAFvNzUzaUzyRhGhuinu8LddMO61Om9+4KpS/GsacCuf65wp6bnoo3nu0IY4xX6cM4IBNjA== X-Received: by 2002:a05:6402:c87:: with SMTP id cm7mr4656518edb.69.1611348322287; Fri, 22 Jan 2021 12:45:22 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini Cc: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Markus Armbruster , Michael Roth , Claudio Fontana , Thomas Huth , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Stefan Hajnoczi Subject: [PATCH v2 07/12] meson: Restrict some trace event directories to user/system emulation Date: Fri, 22 Jan 2021 21:44:36 +0100 Message-Id: <20210122204441.2145197-8-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210122204441.2145197-1-philmd@redhat.com> References: <20210122204441.2145197-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) Signed-off-by: Philippe Mathieu-Daud=C3=A9 Acked-by: Paolo Bonzini --- Cc: Stefan Hajnoczi --- meson.build | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/meson.build b/meson.build index c43538a1523..396ea3aa19b 100644 --- a/meson.build +++ b/meson.build @@ -1683,22 +1683,10 @@ # TODO: add each directory to the subdirs from its own meson.build, once # we have those trace_events_subdirs =3D [ - 'accel/kvm', - 'accel/tcg', 'crypto', - 'hw/core', 'qapi', 'qom', 'monitor', - 'target/arm', - 'target/hppa', - 'target/i386', - 'target/i386/kvm', - 'target/mips', - 'target/ppc', - 'target/riscv', - 'target/s390x', - 'target/sparc', 'util', ] if have_user @@ -1715,6 +1703,7 @@ endif if have_system trace_events_subdirs +=3D [ + 'accel/kvm', 'audio', 'backends', 'backends/tpm', @@ -1772,6 +1761,21 @@ 'ui', ] endif +if have_system or have_user + trace_events_subdirs +=3D [ + 'accel/tcg', + 'hw/core', + 'target/arm', + 'target/hppa', + 'target/i386', + 'target/i386/kvm', + 'target/mips', + 'target/ppc', + 'target/riscv', + 'target/s390x', + 'target/sparc', + ] +endif =20 vhost_user =3D not_found if 'CONFIG_VHOST_USER' in config_host --=20 2.26.2 From nobody Sat Feb 7 09:35:09 2026 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=1611348333; cv=none; d=zohomail.com; s=zohoarc; b=fVJMtX9gbOQmER5cAfNChdYJ/1bHOvfgsrsalNpre/76NfSnBT8sGjFZNXZNwvr17qaqOHq2a+H9dtyI6xMmxUFKoYKsdGMrwT+1JhZtql9HUmvdMq/m61bbIW4zDY9kUKm2WXSZgrNoa/+4kexfiVKXwd9uuq3jFrwBjuX9KB0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611348333; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=1sSVJPiFM/HMkCEdAbnP7bBtVMLTKlt4k6iyXw4vLl4=; b=EeMWmaGoFx0g176y3JOu954xgcUzPLmW/KkAkV9qTrQ+Yj0geSrOXPUe/rmW4VMKkr3FewdYX8Nnu36vIoFXeBEJ7BcQx7RnYecvW3bQC97bKKXMUpZW1SjvgtGnC6UF81AJ7GScWJaIGRjJPSxfq2ITvpIVAZxg2OvApp8gqR8= 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 16113483331551003.4432342938964; Fri, 22 Jan 2021 12:45:33 -0800 (PST) Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-397-MoLUT9fjNUuxd6UmLhjIWQ-1; Fri, 22 Jan 2021 15:45:29 -0500 Received: by mail-ed1-f70.google.com with SMTP id dg17so3515920edb.11 for ; Fri, 22 Jan 2021 12:45:28 -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 co6sm6272491edb.96.2021.01.22.12.45.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jan 2021 12:45:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611348332; 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=1sSVJPiFM/HMkCEdAbnP7bBtVMLTKlt4k6iyXw4vLl4=; b=CVMrQQBkiKImwb0u9jsRCABt2VG+uXyU13pIbW4Jiwwp5lUWidvePViQxDWi9gJxtxaLjq 6zJOvUIPf8u+ywTBGhl07aYCD3wSa/WdLdfkTMZcY4eziBHdUxh6zmJl2SY+WuybOsC2na 0TwcdRI37B3uPxZ/OuoTrDXM8miRDbk= X-MC-Unique: MoLUT9fjNUuxd6UmLhjIWQ-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=1sSVJPiFM/HMkCEdAbnP7bBtVMLTKlt4k6iyXw4vLl4=; b=l/P/612kTzlhvHAbU4RrRVJoz8G8/uoEGpnjNZwXnnOFszhbXBfdPgNCeZU9VKgWag aSd4pgnw1eBzoYYpAJBKWwPKBroi/RZrcamMlITi+orZBMfEPwqZt/ARYSvn2gMajkdb 41XC993Eg1XMziFJi2h+pvf2XSl56pmPVLaO5WP3WDhQxSFr8xrkK5F7clVgOd+ln84h PqrgqzKykovR4fyMG9SGEh7ykZ72CXcPltgfITifDgQv6nEhzEKpt91js1uSghaVLJLy dZXcNRQj8Xly7PAbBeZeLabgyTPnytXo1mta52NlDgb9V3RplCjU0MVHCiiFO8QxxQW0 qHlA== X-Gm-Message-State: AOAM532jxhbD53/0IXO+qZwnwjl58iiMOuZJm/u36wQjzgnNt4qjY+dP K7nIkSxCh9VHaJiJID7g6pDTdgxoiTmWbRdh53DzCfuhWu+21Xi+wV6geZ1yr550VLslU7q+PgF HWNyQ3M9Vmg24kA== X-Received: by 2002:a17:906:b09a:: with SMTP id x26mr4311190ejy.199.1611348327876; Fri, 22 Jan 2021 12:45:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJwSSSUc6ccllUsuxt4KcqxtQeWLqsB8IQLj0oz3GIvQz1nechOU3/BDjygXDKw/Xhp9Vh/aPg== X-Received: by 2002:a17:906:b09a:: with SMTP id x26mr4311182ejy.199.1611348327712; Fri, 22 Jan 2021 12:45:27 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini Cc: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Markus Armbruster , Michael Roth , Claudio Fontana , Thomas Huth , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Richard Henderson Subject: [PATCH v2 08/12] meson: Restrict emulation code Date: Fri, 22 Jan 2021 21:44:37 +0100 Message-Id: <20210122204441.2145197-9-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210122204441.2145197-1-philmd@redhat.com> References: <20210122204441.2145197-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) Signed-off-by: Philippe Mathieu-Daud=C3=A9 Acked-by: Paolo Bonzini --- Cc: Richard Henderson --- meson.build | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/meson.build b/meson.build index 396ea3aa19b..b5afa2923b3 100644 --- a/meson.build +++ b/meson.build @@ -1809,16 +1809,18 @@ qemuutil =3D declare_dependency(link_with: libqemuutil, sources: genh + version_res) =20 -decodetree =3D generator(find_program('scripts/decodetree.py'), - output: 'decode-@BASENAME@.c.inc', - arguments: ['@INPUT@', '@EXTRA_ARGS@', '-o', '@OUTP= UT@']) +if have_system or have_user + decodetree =3D generator(find_program('scripts/decodetree.py'), + output: 'decode-@BASENAME@.c.inc', + arguments: ['@INPUT@', '@EXTRA_ARGS@', '-o', '@OU= TPUT@']) + subdir('libdecnumber') + subdir('target') +endif =20 subdir('audio') subdir('io') subdir('chardev') subdir('fsdev') -subdir('libdecnumber') -subdir('target') subdir('dump') =20 block_ss.add(files( --=20 2.26.2 From nobody Sat Feb 7 09:35:09 2026 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=1611348338; cv=none; d=zohomail.com; s=zohoarc; b=lUe+3lloSHjuhqz6/JkzHkZsYEfFMWvxafPYuC522WuS8y2ovVP+a1rIDMI/rjg/UEeJGy9gp5GiqGDCWCjuG1lMqnKUSK7DqlSJxKC7HNNhIcnle6Hkgn2b9J3Y03exYewQSx7wnMBI8WFBqj8Uz86+TdUjGTc7De/gptdBw0Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611348338; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=cxJdntCxJ3BjqvkWrgOloscdbx5pYTRX48FDf3Cb8HY=; b=Hgpgdbx7cBptS47wBfG0qbi/cvMx6II6z+OcoeFlhg4UuZNHi6crvor06yL1Msnz/IlZ4oWtakOZIig7yFAmWUbkDfcWZtWCcDzrzRYzT4PLqCDGb7AxnkhMZXdWz68vKmYjzwQW3GxXpWhbHmSVD2+KaWp4pbCquHr0ekjZGSg= 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 1611348338137791.6752640119779; Fri, 22 Jan 2021 12:45:38 -0800 (PST) Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-587-KX8Qq59HNsWylbu181Yxpg-1; Fri, 22 Jan 2021 15:45:35 -0500 Received: by mail-ed1-f72.google.com with SMTP id k5so3500548edk.15 for ; Fri, 22 Jan 2021 12:45: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 f9sm6171331edm.6.2021.01.22.12.45.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jan 2021 12:45:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611348337; 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=cxJdntCxJ3BjqvkWrgOloscdbx5pYTRX48FDf3Cb8HY=; b=Jxpep3rhgBzsQ4u7o30WdMArXoFaCDgnPqwyrLMJZRO8FeImLRcUe4O2RFkAcdKSoWPiCd ExGPsLCiTGFzKg0gRwmAbT+cAVJx/L4h8C3+qbjhIoPsqAISBrhFkpxIde2qLnYLPKf13x iz7RD+kC5tBMlJ4kgqnUNIrVcQuqGZ0= X-MC-Unique: KX8Qq59HNsWylbu181Yxpg-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=cxJdntCxJ3BjqvkWrgOloscdbx5pYTRX48FDf3Cb8HY=; b=uLdE8M79Rb1T6XcRiMeZcsnb7wTA2WZIH/Y4GWtFLBWZle+rnjugFdsssOx7NKdHzk QyF/ETGR///N4nHp8RQ5W12gtPbUwBqS1WvRmGOnwJiLUUG5AdA/Z/rGWoRlAyY0BhVN Q0Ghvu1po9RsaXbhLq8CV8o82bhqW0F1kjZGgLeVtBgyL9MnsWhw4qK0mF1eRHRORjE8 OSx82yfNy8K+sAYSBgaM6kjklvbE7FqkmDnl4mKLI2j8I3kwnvUj4SBcecd2ZjpC/DCm /Yw/hxtDD1tQrobIq9b/GbjuwFW++VRwpCb/TNlssVw6f+22+1DeTtTS1lIX/gooOzax cxZQ== X-Gm-Message-State: AOAM530CbIBIXG8Rn8ZSx+29Y61ZXNk1GomCp7FHkFVIhnboIddMCG+O jtZSs8nVjpo+5Rk8QcG79SK1uhiosaNCRvsxANJHZSQ8rWHHlPJUtmALxfZEAg5oq2Jdxf4tL8p +ogu9LDkeFFqdqQ== X-Received: by 2002:a05:6402:3553:: with SMTP id f19mr4648162edd.271.1611348333285; Fri, 22 Jan 2021 12:45:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJylG3PQPMZ+pmhjaJnFVCvdbv4ETZsUHLRN7de/wqP9aSq+Sp3Aq6Nu3qOMsUHoUuX5l2j/Eg== X-Received: by 2002:a05:6402:3553:: with SMTP id f19mr4648148edd.271.1611348333137; Fri, 22 Jan 2021 12:45:33 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini Cc: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Markus Armbruster , Michael Roth , Claudio Fontana , Thomas Huth , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Laurent Vivier Subject: [PATCH v2 09/12] qapi/meson: Restrict qdev code to system-mode emulation Date: Fri, 22 Jan 2021 21:44:38 +0100 Message-Id: <20210122204441.2145197-10-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210122204441.2145197-1-philmd@redhat.com> References: <20210122204441.2145197-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) Beside a CPU device, user-mode emulation doesn't access anything else from qdev subsystem. Tools don't need anything from qdev. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Acked-by: Paolo Bonzini --- Cc: Laurent Vivier Cc: Eduardo Habkost --- stubs/qdev.c | 23 +++++++++++++++++++++++ MAINTAINERS | 1 + qapi/meson.build | 6 +++++- stubs/meson.build | 2 ++ 4 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 stubs/qdev.c diff --git a/stubs/qdev.c b/stubs/qdev.c new file mode 100644 index 00000000000..92e61431344 --- /dev/null +++ b/stubs/qdev.c @@ -0,0 +1,23 @@ +/* + * QOM stubs + * + * Copyright (c) 2021 Red Hat, Inc. + * + * Author: + * Philippe Mathieu-Daud=C3=A9 + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + * This work is licensed under the terms of the GNU GPL, version 2 or late= r. + * See the COPYING file in the top-level directory. + */ + +#include "qemu/osdep.h" +#include "qapi/qapi-events-qdev.h" + +void qapi_event_send_device_deleted(bool has_device, + const char *device, + const char *path) +{ + /* Nothing to do. */ +} diff --git a/MAINTAINERS b/MAINTAINERS index 34359a99b8e..d2dd7c24228 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2523,6 +2523,7 @@ F: qapi/qom.json F: qapi/qdev.json F: scripts/coccinelle/qom-parent-type.cocci F: softmmu/qdev-monitor.c +F: stubs/qdev.c F: qom/ F: tests/check-qom-interface.c F: tests/check-qom-proplist.c diff --git a/qapi/meson.build b/qapi/meson.build index ab68e7900e4..2839871b478 100644 --- a/qapi/meson.build +++ b/qapi/meson.build @@ -35,7 +35,6 @@ 'misc-target', 'net', 'pragma', - 'qdev', 'pci', 'qom', 'rdma', @@ -49,6 +48,11 @@ 'ui', 'yank', ] +if have_system + qapi_all_modules +=3D [ + 'qdev', + ] +endif =20 qapi_storage_daemon_modules =3D [ 'block-core', diff --git a/stubs/meson.build b/stubs/meson.build index 1a656cd0704..a054d5877fb 100644 --- a/stubs/meson.build +++ b/stubs/meson.build @@ -53,4 +53,6 @@ if have_system stub_ss.add(files('semihost.c')) stub_ss.add(files('xen-hw-stub.c')) +else + stub_ss.add(files('qdev.c')) endif --=20 2.26.2 From nobody Sat Feb 7 09:35:09 2026 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=1611348342; cv=none; d=zohomail.com; s=zohoarc; b=OwplpgBPvvsOu8YCeIcqg46A/sjLpigcJTUt3ctgUyf6+i0n9LS5hpnAgBXPwaPGpW5AtLpzBFGj2/vWsgqUUmwagX1W+54Vzzr3wLCFqMcwSSJJcDvkfnLJPceKR/Cv002WnpW4PAwA/zj5FXE+6hqsbPyARRIVDtvrg/gprQQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611348342; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=FH8ITvmhiqWIcEFqVfmtpDiHqCMBIm0BPSKhlXQCGao=; b=A2s7rNU98knN9fSjuzx1U4xinWYV7Op3pJWfWt0DQnUUBTBfRn9nUHL2tOhNeMrWH4pswpbpvhKyue7G85sHSLstFR/rGTrsJHCUHsGu0u0kAu2pb4wyBP1NdRJ5Ii40ThtiWTKhdNcIgNaWUy8JzciMWUiqw9L0HsGhOQ4phh4= 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 1611348342498918.7897584561747; Fri, 22 Jan 2021 12:45:42 -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-313-ToXDxEvkOieQxHlUdj5dkw-1; Fri, 22 Jan 2021 15:45:39 -0500 Received: by mail-ej1-f69.google.com with SMTP id ox17so2683340ejb.2 for ; Fri, 22 Jan 2021 12:45:39 -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 bk2sm5306366ejb.98.2021.01.22.12.45.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jan 2021 12:45:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611348341; 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=FH8ITvmhiqWIcEFqVfmtpDiHqCMBIm0BPSKhlXQCGao=; b=UNsBWa705dYWKSQkEh4t2RhWtDmM8jglnuCsiMu5bK4KaVwryageULS8luzHJLBIAnOmI5 iuVmCH6qeAyqsbx/eiQUT2jpjsyjBreH6Ijv2wHlktpfPFyFUIQgcEBEwYvlrSOYSkCKQD K87iQQkhhfyLCd+NUxjObHOezycQWAY= X-MC-Unique: ToXDxEvkOieQxHlUdj5dkw-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=FH8ITvmhiqWIcEFqVfmtpDiHqCMBIm0BPSKhlXQCGao=; b=n9qLGwn3+NsVwlyuTH9+sfAEGe0ixzd+uRtEXiWJRc8Eji9hjePozYOsjYZ+6mruqy fFSEEGY2RYZb275HgZ0SrhsjthkVHvZ36Ijz5DSCjbo2uYm7dcJC9eJ/Zy02u+/9x2Yq fJrjdnIe5tyywSLCRHyMZU44C8Z9GM2g3e48bu8LuadDMS8zBGsO3kNsLV36kfToEK/N 5ZOl+yXvMazKb2RwNj0VHNf3YqBdQgqS3DC6Q2Ok89EO6w+pZ8HFJ3GuqX7XE4+VL3oz Ie0AMO7KIW6ZVcpJuafRwMpj1trGUifykTEySQypdfB5lRQYjAd1tAqiH8zmEPSAGwiZ jh7g== X-Gm-Message-State: AOAM5309DpkVPPr2s+unsgO2bBURCPvYk02sHLI3YYO/ZlxcSCl++pYO 7pyrqlcA+WTua1EnKyxyPs0RfR0QhuANzuhK2jYCwVnJhDOE5uWsPs/5J5mY+NQnE/sc3e0jgpm /nlnTcOtR2hsBvg== X-Received: by 2002:aa7:cb8f:: with SMTP id r15mr4702810edt.130.1611348338788; Fri, 22 Jan 2021 12:45:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJyHVka1HJCXZBVomJ7SAEb4/fnnBOWk8Ba1xYuQP5rtHIFUKVsOU4/Sr6E+MXqOOKwipHMofQ== X-Received: by 2002:aa7:cb8f:: with SMTP id r15mr4702790edt.130.1611348338648; Fri, 22 Jan 2021 12:45:38 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini Cc: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Markus Armbruster , Michael Roth , Claudio Fontana , Thomas Huth , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Laurent Vivier Subject: [PATCH v2 10/12] qapi/meson: Remove QMP from user-mode emulation Date: Fri, 22 Jan 2021 21:44:39 +0100 Message-Id: <20210122204441.2145197-11-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210122204441.2145197-1-philmd@redhat.com> References: <20210122204441.2145197-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) Signed-off-by: Philippe Mathieu-Daud=C3=A9 Acked-by: Paolo Bonzini --- Cc: Laurent Vivier --- qapi/meson.build | 10 +++++++--- tests/meson.build | 7 ++++++- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/qapi/meson.build b/qapi/meson.build index 2839871b478..b301a46f04a 100644 --- a/qapi/meson.build +++ b/qapi/meson.build @@ -4,14 +4,18 @@ 'qapi-dealloc-visitor.c', 'qapi-util.c', 'qapi-visit-core.c', - 'qmp-dispatch.c', - 'qmp-event.c', - 'qmp-registry.c', 'qobject-input-visitor.c', 'qobject-output-visitor.c', 'string-input-visitor.c', 'string-output-visitor.c', )) +if have_system or have_tools + util_ss.add(files( + 'qmp-dispatch.c', + 'qmp-event.c', + 'qmp-registry.c', + )) +endif =20 qapi_all_modules =3D [ 'acpi', diff --git a/tests/meson.build b/tests/meson.build index 6f1ff926d26..7d7da6a6364 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -86,7 +86,6 @@ 'test-qobject-input-visitor': [testqapi], 'test-string-input-visitor': [testqapi], 'test-string-output-visitor': [testqapi], - 'test-qmp-event': [testqapi], 'test-opts-visitor': [testqapi], 'test-visitor-serialization': [testqapi], 'test-bitmap': [], @@ -117,6 +116,12 @@ 'test-qapi-util': [], } =20 +if have_system or have_tools + tests +=3D { + 'test-qmp-event': [testqapi], + } +endif + test_deps =3D { 'test-qht-par': qht_bench, } --=20 2.26.2 From nobody Sat Feb 7 09:35:09 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.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 63.128.21.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=1611348348; cv=none; d=zohomail.com; s=zohoarc; b=MYiPx5g3LonfNZfmBhXAz01rEOYXZhe0zuKtqSVTLW6Lk3r4zvu+PmKK65Vl5SRns++7IK8tJPiHgi2ZUGJsTt+4k6b7H4+rEJASakErI2RCy15ZnBcpgBS1+mVr0IxR/byPZc4x0c31KkdL19S4kwdeyiA8SqvjXZ8KzWptCek= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611348348; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=akWBsUKGoDy+pi5x2giqOPLb20R9HBrXt/LABrN7Sgo=; b=DjJJhXiP+3iEW9k4bYtFzJHTDPcw+neb5yxiVUfXTzQ6HSIyrw3POLFkpSvY6rmCSlRKt4C2PUcgnKy5aBthY2ow7a+fslr/611NqdODXKhtUyl035kwZgx0BfbCE/wQQPRWAvSCnPZXMV2hHCF7HxiT2YWYSLnBi/b8AOyGFeI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.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 [63.128.21.124]) by mx.zohomail.com with SMTPS id 1611348348305694.9182863119689; Fri, 22 Jan 2021 12:45:48 -0800 (PST) Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-462-G6tmUUigN4W4JSGwrLimjA-1; Fri, 22 Jan 2021 15:45:45 -0500 Received: by mail-ej1-f72.google.com with SMTP id md20so2692085ejb.7 for ; Fri, 22 Jan 2021 12:45:45 -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 dm6sm4979020ejc.32.2021.01.22.12.45.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jan 2021 12:45:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611348347; 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=akWBsUKGoDy+pi5x2giqOPLb20R9HBrXt/LABrN7Sgo=; b=jSBmAdetehFVxNzTcHBwNoT9VlRFNvFM9reraaGAQi9HHlNFJ74dhgZBwO7iPFmH1d7c+X vAd2HxGzHWVn/3mEQ8WaA7DDm7Bn8qXhqSEOiuhn2em4om9bQI3DMKi1FcbnJE0wiy6sAd aXy8ClPbjL1bUm1z5WsBdupul0Sg5fA= X-MC-Unique: G6tmUUigN4W4JSGwrLimjA-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=akWBsUKGoDy+pi5x2giqOPLb20R9HBrXt/LABrN7Sgo=; b=T4H1Ikqk4bsCc6cQov8gh+kxrLNO+XxjkBI1O9xl+F/9GFmMQ0j4t23D39bTvz2ioA fIURRIYdkuhCG5Oa/RlTja/YEo62HzpDVCvK7qgaAPZ9gdKtxrgZc28SdzMNWGr7eKn4 GKtY7UhIyWTEb2L/EZDQ6TKF/9aJuK1SA7IwHBon/bPHQ1baZHsFCTYIjtd3379O2IaU QXDbNvxHRPymbirPr9kok8PLM/V+A3Ax++qwCkqgg5cmyc+TQReII0O76AfHM+n0Yz8+ bnwV+4x9IKmivpG/dL8ZpIO3R9vU8R5XIo9I/3speKL2FCjOXVwdo9yVhvwWBL8Sxvy7 Gr6A== X-Gm-Message-State: AOAM531vBlEbCctaOtE+Sfkj4AUUy0BbCaHc2hnUt1qaFPZY4+5fRwvV Rrk5KScX5nok3qfRzOc8MMynrc7Bu527aYUAx77ocxGuoOHHR4BaeNly9YTzfCQE30zoeh0h3UV DC2J332lnHPGJGg== X-Received: by 2002:a17:906:d62:: with SMTP id s2mr516677ejh.61.1611348344341; Fri, 22 Jan 2021 12:45:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJyiqsyxPx+NUGXJhRSj4NU1nM/4+PTYSiRDqN+q1RCxiXeqH7GVJEGEBGPYrna8dSSWX2hacw== X-Received: by 2002:a17:906:d62:: with SMTP id s2mr516664ejh.61.1611348344150; Fri, 22 Jan 2021 12:45:44 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini Cc: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Markus Armbruster , Michael Roth , Claudio Fontana , Thomas Huth , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v2 11/12] qapi/meson: Restrict system-mode specific modules Date: Fri, 22 Jan 2021 21:44:40 +0100 Message-Id: <20210122204441.2145197-12-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210122204441.2145197-1-philmd@redhat.com> References: <20210122204441.2145197-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) Signed-off-by: Philippe Mathieu-Daud=C3=A9 Acked-by: Paolo Bonzini --- qapi/meson.build | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/qapi/meson.build b/qapi/meson.build index b301a46f04a..7aca8d50484 100644 --- a/qapi/meson.build +++ b/qapi/meson.build @@ -18,8 +18,6 @@ endif =20 qapi_all_modules =3D [ - 'acpi', - 'audio', 'authz', 'block', 'block-core', @@ -39,14 +37,10 @@ 'misc-target', 'net', 'pragma', - 'pci', 'qom', - 'rdma', 'replay', - 'rocker', 'run-state', 'sockets', - 'tpm', 'trace', 'transaction', 'ui', @@ -54,7 +48,13 @@ ] if have_system qapi_all_modules +=3D [ + 'acpi', + 'audio', 'qdev', + 'pci', + 'rdma', + 'rocker', + 'tpm', ] endif =20 --=20 2.26.2 From nobody Sat Feb 7 09:35:09 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.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 63.128.21.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=1611348354; cv=none; d=zohomail.com; s=zohoarc; b=GwgxNJ7kAyJkbOedJ/1kSDTznK1TJ/MakvgCbjgGzbiSLyIWMm/PynI7BXjLGGl3hKyRge+onW6EC1wOMY4Sg5Dl7eYtTQ9Tod0vzHyz30za7X6Gyv35OU1VR7k4jVV+iBbVYLLf8LCQqoOgZIBx5N2W7BtYTLr021/xlNeGZL8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611348354; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=+V5qKqyf7/u56SKdLLMT+Z/AdFCEFXdvjYBi9ApYL8w=; b=NKNBEh7mNRbeV0K6szuM+BZWG0+MLe25QwfHFlqC91TEOZxW6U82orFFbL3mo+mEQk9mHMDaT82fHG9MGKM9QwBqUL9EXVjZDG6Iy1jV6AWiLbaknOTnDHJzzuD4oVx/q3YX8o8U0IuqpAAu9K5lhhTNOHVC6xmiEl4rncxgPsg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.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 [63.128.21.124]) by mx.zohomail.com with SMTPS id 1611348354164431.77672819420343; Fri, 22 Jan 2021 12:45:54 -0800 (PST) Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-166-n_XwqP5oNYKKcKbbqSBNqg-1; Fri, 22 Jan 2021 15:45:51 -0500 Received: by mail-ed1-f72.google.com with SMTP id e25so3499350edq.6 for ; Fri, 22 Jan 2021 12:45:50 -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 g21sm6373605edh.20.2021.01.22.12.45.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jan 2021 12:45:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611348353; 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=+V5qKqyf7/u56SKdLLMT+Z/AdFCEFXdvjYBi9ApYL8w=; b=G+f7xTPhofn8tnCIZYtosCFglNcsksUs6oOpxxTOH9xtMTV1UjLmvkBwqs30ynLvUTa/Z7 ztyHBgYnf5ZspTPzE6rtIx+8ZtJ0/JTbhX/JB8K4sxs3y52eqKfjcbDXRlJJslHtdUyiwU F8DeGftO4U7F833morUJ9uWf0u4cuhc= X-MC-Unique: n_XwqP5oNYKKcKbbqSBNqg-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=+V5qKqyf7/u56SKdLLMT+Z/AdFCEFXdvjYBi9ApYL8w=; b=IdZ3YXTkqCJA2eN6iBSKsNpJDL8NenLq1fq9ktFiR1nQ2bV2dgs33tJ0JV0ezCsIfk rO03yG02AITcVj2vtC6A//kyaQlELOh+uNg76vJiaNbnXpsgCNHaKy/hHCifvOAicrIt qZLW/DVRsdM2eOGyu75C9h51v8/9AJuoyAK4RlaR/WEZV9La3V/1aHAGCizZ4VxSSUqz vdP2sZtgLvbB0o7yJkap2+DjAUrQ3mYbTUH1eIGIuYQXfPcaVsE6b5+BHYtkKe4kq8ZV xz/dNPU+3pdRkGmhSK6a2rpDb/0GZbun2WKEp55qD+htFEcj3iYYl7g0v1cH/SckNrIB z7BA== X-Gm-Message-State: AOAM533U+e83cixYnp52lRb69C0DzLxFBEXCV95/Re905xhKp5icbnKG my4WZSzGFJqr7qQmwkPJd8NT1fRIt0MjRSZ+XQmz4ZCbXq8xAxTjrYUW25TIqu8nOTABSplkSCF XyGTA62i9GPNgxw== X-Received: by 2002:a17:906:3b92:: with SMTP id u18mr619942ejf.7.1611348349743; Fri, 22 Jan 2021 12:45:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJzVR3tKFQAhsOTp1eLCIlHklkTvwzEx8RyPKb9ns4pCqTKqMATTfJnePilPqKo10+9hxM7MGg== X-Received: by 2002:a17:906:3b92:: with SMTP id u18mr619929ejf.7.1611348349577; Fri, 22 Jan 2021 12:45:49 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini Cc: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Markus Armbruster , Michael Roth , Claudio Fontana , Thomas Huth , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Gerd Hoffmann Subject: [PATCH v2 12/12] qapi/meson: Restrict UI module to system emulation and tools Date: Fri, 22 Jan 2021 21:44:41 +0100 Message-Id: <20210122204441.2145197-13-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210122204441.2145197-1-philmd@redhat.com> References: <20210122204441.2145197-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) Signed-off-by: Philippe Mathieu-Daud=C3=A9 Acked-by: Paolo Bonzini --- Cc: Gerd Hoffmann --- qapi/meson.build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/qapi/meson.build b/qapi/meson.build index 7aca8d50484..0652569bc43 100644 --- a/qapi/meson.build +++ b/qapi/meson.build @@ -43,7 +43,6 @@ 'sockets', 'trace', 'transaction', - 'ui', 'yank', ] if have_system @@ -57,6 +56,11 @@ 'tpm', ] endif +if have_system or have_tools + qapi_all_modules +=3D [ + 'ui', + ] +endif =20 qapi_storage_daemon_modules =3D [ 'block-core', --=20 2.26.2