From nobody Tue Nov 26 22:42:56 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1704012700; cv=none; d=zohomail.com; s=zohoarc; b=PZvD07Df6F7aLpoCNVjuvSH7XVggaJ7F2TuRtuSKeZgk8zvE+H4OKVgWWnZZvhlBi90iCmcvVm2FK4F4vpFC7hZ1rlLwAFWUOuDC36Ae8jG8qmKvYkng2Nt4Y95HdnOzila8rEKO55Km7hL1X3aZwG0Y8G/xIDlra2tytSfqBLs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1704012700; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=2lG4V0Bh6WQU0au/wcKI+DOcbk1P7K4earfxHdzmzxA=; b=BMJyJY1vDpAr34wvwalLlg0gr9SYDA2MgJUGVEzu6/+7uOYDMr1Rxb4q+1lHFK4S/kgc7n3Gm2lWnGGJ61YDnXgfWN9fSLlvCnU4xEZdpyRxdC+Te1JWwAN21ptldMz/ZHkiX+GBzYo6EMXQQI89h72airZ29RYugzfPsSfRbUI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1704012700479725.3952013947571; Sun, 31 Dec 2023 00:51:40 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rJrUs-00088A-HO; Sun, 31 Dec 2023 03:48:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rJrTB-0005Jj-A7 for qemu-devel@nongnu.org; Sun, 31 Dec 2023 03:46:57 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rJrT8-0000sy-En for qemu-devel@nongnu.org; Sun, 31 Dec 2023 03:46:51 -0500 Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-556-Bslw8WOMO1aBTKJmyBcZsg-1; Sun, 31 Dec 2023 03:46:41 -0500 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-336811fc1d7so5943372f8f.0 for ; Sun, 31 Dec 2023 00:46:41 -0800 (PST) Received: from [192.168.10.118] ([2001:b07:6468:f312:1c09:f536:3de6:228c]) by smtp.gmail.com with ESMTPSA id a18-20020a5d53d2000000b0033671314440sm23223742wrw.3.2023.12.31.00.46.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Dec 2023 00:46:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1704012409; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2lG4V0Bh6WQU0au/wcKI+DOcbk1P7K4earfxHdzmzxA=; b=GPPvH6Fx9MThWGGEzs+xU3fgBDzhg3wa7xmyLBar79u4vq2eFgjAolMeiXsJt0eJwo6hNO oCrgH8vj5zE9dTQEvMJY8sAkpcTVTW2k1JoL4yXQ2esglXUHi8B2aDgTGhBLgwRvcCiKwT itAufYszCKUHVSEwxl2PJjJhkPRVLj0= X-MC-Unique: Bslw8WOMO1aBTKJmyBcZsg-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704012400; x=1704617200; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2lG4V0Bh6WQU0au/wcKI+DOcbk1P7K4earfxHdzmzxA=; b=KtmXJ89dq7C0xY2+Ss+zWlQ6FEvNMkC9Xx0fyIqiNx3S/RbHV08lRBHzE0ufxjED7P oJjquQMNKNTuORftPCY52WQuXFJVGKodfes1We9RME89ats79Y3ni1Ypz4qrV6yt8jLf ON3RAG3OgjL0xDGcOulLMJqK8IIM//t8f5MhMNs/FbTlVR0InSweJFi2C8E//gZ2SKZD qk92XJhaiqzI9r72xzWQSCspxRhH0Zqc8ZhkdR6u9HBu2m2yqKSwYF/AF0o+g6EHcXgU iRJGd+i0Jlgq0YIgjHYcozQPhW5h68owsq2V5cKwYv7mKAuAeEWI3zxl+Z3o6LEZm/Q7 9/Hg== X-Gm-Message-State: AOJu0YzlfYi8bsl1Hn1DsCOBX28GYI7jauXDCJ5Xnf3R+K8rg4uhyIFS g4yf7bXxm7HJVLiyK/LipZ+4pgTvmVtcnCZhhOCJD/I9REAxgc5D0WwYpzRkweuuTM0CXrQp23Z BAz6R/pRtbjPOxoC87ZFIgxvKGWWJsDLmcoQgmNPRpuCW5An+FUN7KSzndC15F4cT8CZZtVXPqy 2NQxQtz90= X-Received: by 2002:adf:ea10:0:b0:333:2fd2:5d5d with SMTP id q16-20020adfea10000000b003332fd25d5dmr9611369wrm.143.1704012400395; Sun, 31 Dec 2023 00:46:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IFgUGpsZL3TuHK0HGvBACTgNiGvfyY67ffYbCUQMd18ej5HUPBeIy97ClAaUbaB7/OfvivP8w== X-Received: by 2002:adf:ea10:0:b0:333:2fd2:5d5d with SMTP id q16-20020adfea10000000b003332fd25d5dmr9611361wrm.143.1704012400017; Sun, 31 Dec 2023 00:46:40 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 37/46] meson: move config-host.h definitions together Date: Sun, 31 Dec 2023 09:44:53 +0100 Message-ID: <20231231084502.235366-38-pbonzini@redhat.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231231084502.235366-1-pbonzini@redhat.com> References: <20231231084502.235366-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -47 X-Spam_score: -4.8 X-Spam_bar: ---- X-Spam_report: (-4.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.667, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1704012701137100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Paolo Bonzini --- meson.build | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/meson.build b/meson.build index 5c54441a3cd..151db21c038 100644 --- a/meson.build +++ b/meson.build @@ -40,7 +40,6 @@ qemu_moddir =3D get_option('libdir') / get_option('qemu_s= uffix') qemu_desktopdir =3D get_option('datadir') / 'applications' qemu_icondir =3D get_option('datadir') / 'icons' =20 -config_host_data =3D configuration_data() genh =3D [] qapi_trace_events =3D [] =20 @@ -233,12 +232,6 @@ elif cpu in ['riscv64'] else kvm_targets =3D [] endif - -kvm_targets_c =3D '""' -if get_option('kvm').allowed() and targetos =3D=3D 'linux' - kvm_targets_c =3D '"' + '" ,"'.join(kvm_targets) + '"' -endif -config_host_data.set('CONFIG_KVM_TARGETS', kvm_targets_c) accelerator_targets =3D { 'CONFIG_KVM': kvm_targets } =20 if cpu in ['x86', 'x86_64'] @@ -1191,12 +1184,6 @@ if not get_option('virglrenderer').auto() or have_sy= stem or have_vhost_user_gpu virgl =3D dependency('virglrenderer', method: 'pkg-config', required: get_option('virglrenderer')) - if virgl.found() - config_host_data.set('HAVE_VIRGL_D3D_INFO_EXT', - cc.has_member('struct virgl_renderer_resource_inf= o_ext', 'd3d_tex2d', - prefix: '#include = ', - dependencies: virgl)) - endif endif rutabaga =3D not_found if not get_option('rutabaga_gfx').auto() or have_system or have_vhost_user= _gpu @@ -2008,6 +1995,8 @@ endif # config-host.h # ################# =20 +config_host_data =3D configuration_data() + audio_drivers_selected =3D [] if have_system audio_drivers_available =3D { @@ -2137,6 +2126,12 @@ endif =20 config_host_data.set('HOST_' + host_arch.to_upper(), 1) =20 +kvm_targets_c =3D '""' +if get_option('kvm').allowed() and targetos =3D=3D 'linux' + kvm_targets_c =3D '"' + '" ,"'.join(kvm_targets) + '"' +endif +config_host_data.set('CONFIG_KVM_TARGETS', kvm_targets_c) + if get_option('module_upgrades') and not enable_modules error('Cannot enable module-upgrades as modules are not enabled') endif @@ -2236,6 +2231,12 @@ config_host_data.set('CONFIG_PNG', png.found()) config_host_data.set('CONFIG_VNC', vnc.found()) config_host_data.set('CONFIG_VNC_JPEG', jpeg.found()) config_host_data.set('CONFIG_VNC_SASL', sasl.found()) +if virgl.found() + config_host_data.set('HAVE_VIRGL_D3D_INFO_EXT', + cc.has_member('struct virgl_renderer_resource_info_= ext', 'd3d_tex2d', + prefix: '#include ', + dependencies: virgl)) +endif config_host_data.set('CONFIG_VIRTFS', have_virtfs) config_host_data.set('CONFIG_VTE', vte.found()) config_host_data.set('CONFIG_XKBCOMMON', xkbcommon.found()) --=20 2.43.0