From nobody Tue Feb 10 15:46:09 2026 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=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1769988093; cv=none; d=zohomail.com; s=zohoarc; b=GOEfEy7fiOEyazV6eWWk991xSSKgjxoZc7ZJT+ObNOSpaIqNDjlRRNOexmNth8WSyJVBCUVOBOPB4xAu68wq5Z3n1dT5d18Nvv7438V2LV9R+rcuuLeUBz/Hay3sDp0T9M/+3EaokrAWZCeBJChN3zYE5oyP1eQcRw+LTZCCpSI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1769988093; h=Content-Type:Content-Transfer-Encoding:Cc:Cc: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; bh=FazXBSYedPJMCAc2qLR8vcJOR6e+azw1WcJZB+T60Vc=; b=esRp8g8tvrCeq9tVGC0N2EN5t19p5euyAorizLyIuuhIEvXgGt709R7TbdE5sO1Mxlh8hYrFIrSIeRb3/YroYPro5gpMoC4A4fmi+IrKhrEgbN4H8U1bvu7XxqsfRykZnKRYy3R/7YZ80z2YZkJhn9xjdIK+CC/mNEfXLFJpXhc= 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 1769988093957684.2850707035568; Sun, 1 Feb 2026 15:21:33 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vmgkr-0007A7-Ph; Sun, 01 Feb 2026 18:21:21 -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 1vmgkp-0006vE-HV for qemu-devel@nongnu.org; Sun, 01 Feb 2026 18:21:19 -0500 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vmgkn-0000PE-IZ for qemu-devel@nongnu.org; Sun, 01 Feb 2026 18:21:19 -0500 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-48069a48629so39820695e9.0 for ; Sun, 01 Feb 2026 15:21:17 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48066c37420sm446556255e9.9.2026.02.01.15.21.14 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sun, 01 Feb 2026 15:21:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1769988076; x=1770592876; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FazXBSYedPJMCAc2qLR8vcJOR6e+azw1WcJZB+T60Vc=; b=hhDi3vxClcfv1N5L30CyF7XQcsQmQKeuscubbR85XNkAhM8D/+N3xnmOxCqrbG6mZz KFzztZT6p0Y1OGl8uedLEMEk/wW/mROiKJELE5RdD6ZoNIOvvu6069Ygzb4mSY9Q2bfM JjfJx23vvypt4fkq29B2LUzYa53CFlnH+1EI+OzkJxjh5hrrp59QLtB5xIXtfSrQVMhh L1qSrKoTKSC5/6ufFxOjM+ujPYW3nhgxcLumrE7iwK8UP9l+COdgNnytKbvCIHY5hBX9 9WKDmFeu9uPSFZgce28Ij6ip6y1T1PXFBurwvbqmMlw7Eixxw3FFuumhXnq+7eO7Fxio sY6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769988076; x=1770592876; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=FazXBSYedPJMCAc2qLR8vcJOR6e+azw1WcJZB+T60Vc=; b=FBvNmXrlldMrGXic3tvBpG7P8BxlWyA91IuTPojvTDysLDfRk9+bS4fZ6bhwsAbNu1 GZ9+wGicsf5JP6LaDrboJ++XHvNhP96wVxsBTQ4j7q2jp9lrKbQAyAmNpTpMgFWyG5dD rokg/aIxrChxzg6ndOTC5p4RCvMrnWMidy4nHPB07hywxepacqvhVu2FtyRJBaE1Gd/A ZArsX2/ECFhvC6jHnhvJC7A7ZdtL7R1UqD/y9//350JUHOEFtzCTdGwBd/jbRjDkfmEx EX1oo0MG0wRHNRUx1StDuhPmyET0Et7rAs15OMXEshTB7Deg1bKWbZFicw/HTH6MXDdV 4eHw== X-Gm-Message-State: AOJu0YyxO2LCM5YtRa8EeDjsoI+1Jy1wl3aYgAXf4flndSQkwJC0X8qx acsOARnX5XG3ZumliEXKBj61WMZC4JdvRJojJLPkZEqiGFy39k2t1FTahZOGd/+1LHDSGZm3Gss aNuwHWUo= X-Gm-Gg: AZuq6aKRHE8dkMTpcvjzr/8xILFFtL/++MpZVS80ueqE4R4GLlqtJOBFuIvSS6Uf09Q 56E3MvJdXeiq1VlD8xg1B1pebCqfx3aGp/RC2A7OQm78UeXEHUQvXrPbQXku10awHlcGa7p5DN8 2xIUnmmyuSEL7QCPMToiTObLQw9naGfn/oArTaW8AFXmtLTKSTTqodhg9y0b0BZmVie0xQQreZ3 VpmkZ29a+oCt9qpbibr9yjAud4eEsH5IpaSu+ywSIRFGU0qAvtGeBWhFjc1VKZofqDoNbf4ciUg VLZuF8JmD2AC4y4SZEqdYA3pgQ/ox8/NPmN/2feONkgdDcnMQhfC1It90NiPDqiVISd7DLX2KY9 7gaXHg4DqvFTpDyXfylfYEtYF8II0nmkdVi5GGughQtThWanI7KGtAVrsXfhPNPqfNtebWXzN1B n3d+nb4jqAH8wJSOeDjO/rbl0U3r0x1VFnAGLSVa8+IljRR7mxwQ/bvliGqaTh X-Received: by 2002:a05:600c:8289:b0:480:32da:f338 with SMTP id 5b1f17b1804b1-482db45cb90mr116343225e9.14.1769988075640; Sun, 01 Feb 2026 15:21:15 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: "Michael S. Tsirkin" , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Pierrick Bouvier , Stefano Garzarella Subject: [PATCH v2 10/10] hw/virtio: make all compilation units common Date: Mon, 2 Feb 2026 00:19:59 +0100 Message-ID: <20260201231959.88559-11-philmd@linaro.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260201231959.88559-1-philmd@linaro.org> References: <20260201231959.88559-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=2a00:1450:4864:20::32b; envelope-from=philmd@linaro.org; helo=mail-wm1-x32b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: qemu development 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 @linaro.org) X-ZM-MESSAGEID: 1769988096240158500 From: Pierrick Bouvier Signed-off-by: Pierrick Bouvier Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- hw/virtio/meson.build | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/hw/virtio/meson.build b/hw/virtio/meson.build index d913b94e1ca..4f308beb961 100644 --- a/hw/virtio/meson.build +++ b/hw/virtio/meson.build @@ -9,8 +9,7 @@ system_virtio_ss.add(when: 'CONFIG_VHOST_VSOCK_COMMON', if_= true: files('vhost-vs system_virtio_ss.add(when: 'CONFIG_VIRTIO_IOMMU', if_true: files('virtio-i= ommu.c')) system_virtio_ss.add(when: 'CONFIG_VHOST_VDPA_DEV', if_true: files('vdpa-d= ev.c')) =20 -specific_virtio_ss =3D ss.source_set() -specific_virtio_ss.add(files('virtio.c')) +system_virtio_ss.add(files('virtio.c')) system_virtio_ss.add(files('virtio-qmp.c')) =20 if have_vhost @@ -52,10 +51,10 @@ endif system_virtio_ss.add(when: 'CONFIG_VHOST_USER_VSOCK', if_true: files('vhos= t-user-vsock.c')) system_virtio_ss.add(when: 'CONFIG_VIRTIO_RNG', if_true: files('virtio-rng= .c')) =20 -specific_virtio_ss.add(when: 'CONFIG_VIRTIO_BALLOON', if_true: files('virt= io-balloon.c')) -specific_virtio_ss.add(when: 'CONFIG_VHOST_USER_FS', if_true: files('vhost= -user-fs.c')) -specific_virtio_ss.add(when: 'CONFIG_VIRTIO_PMEM', if_true: files('virtio-= pmem.c')) -specific_virtio_ss.add(when: 'CONFIG_VHOST_VSOCK', if_true: files('vhost-v= sock.c')) +system_virtio_ss.add(when: 'CONFIG_VIRTIO_BALLOON', if_true: files('virtio= -balloon.c')) +system_virtio_ss.add(when: 'CONFIG_VHOST_USER_FS', if_true: files('vhost-u= ser-fs.c')) +system_virtio_ss.add(when: 'CONFIG_VIRTIO_PMEM', if_true: files('virtio-pm= em.c')) +system_virtio_ss.add(when: 'CONFIG_VHOST_VSOCK', if_true: files('vhost-vso= ck.c')) system_virtio_ss.add(when: 'CONFIG_VIRTIO_MEM', if_true: files('virtio-mem= .c')) system_virtio_ss.add(when: 'CONFIG_VIRTIO_NSM', if_true: files('virtio-nsm= .c')) system_virtio_ss.add(when: 'CONFIG_VIRTIO_NSM', if_true: [files('cbor-help= ers.c'), libcbor]) @@ -97,5 +96,4 @@ system_ss.add(when: ['CONFIG_VIRTIO_MD', 'CONFIG_VIRTIO_P= CI'], =20 system_ss.add(files('virtio-hmp-cmds.c')) =20 -specific_ss.add_all(when: 'CONFIG_VIRTIO', if_true: specific_virtio_ss) system_ss.add(when: 'CONFIG_ACPI', if_true: files('virtio-acpi.c')) --=20 2.52.0