From nobody Sun Nov 16 23:02:33 2025 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=1601976140; cv=none; d=zohomail.com; s=zohoarc; b=OI9JssBAkRc8UvbXMVL5CfG3Jkb8Ec+M/9y2FBoufCW1EggKsOpgcjSkXIpoYy0L4LDtiXMtD3i7AsnJjrwc5SCYqKUKpHcAkLrJea1KIDY9wkM26e05TDw3nNMGg+69Eza6Ks3KqbXek7S6BZQWxOk55MilM9dWt/AA/lxa7W0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1601976140; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=qRBkJ5PYq3eSKF/e3ogfuBzCz5aI+nbfhvCuifeFG5A=; b=J6uU0Rbw/ghEZ5IC4S0BjqcbtOiM8NoTE/vU8XVb+VURUWopQu4JHtbDBgwrp7hbGSkdfY9m7bNm7+JEEYuq9BedHHgwCfZjTvtLvlnjUZQkXSqTH6OAYw14GwYZ+jaOEoSkXBGtxuqGCzs/1lTsdLJ5+qST0dlhzxfhht7IG/8= 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) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1601976140634824.0316208643743; Tue, 6 Oct 2020 02:22:20 -0700 (PDT) Received: from localhost ([::1]:58662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPjAp-0007lt-FO for importer@patchew.org; Tue, 06 Oct 2020 05:22:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPj88-0005aV-JF for qemu-devel@nongnu.org; Tue, 06 Oct 2020 05:19:32 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:60410) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kPj85-0007aH-4z for qemu-devel@nongnu.org; Tue, 06 Oct 2020 05:19:32 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-106-WhDayyMLPWWQ6GGQpLos7w-1; Tue, 06 Oct 2020 05:19:24 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id F065510BBEC0 for ; Tue, 6 Oct 2020 09:19:23 +0000 (UTC) Received: from virtlab701.virt.lab.eng.bos.redhat.com (virtlab701.virt.lab.eng.bos.redhat.com [10.19.152.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id B544D10013DB for ; Tue, 6 Oct 2020 09:19:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1601975967; 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=qRBkJ5PYq3eSKF/e3ogfuBzCz5aI+nbfhvCuifeFG5A=; b=XmWAH8aC/nz3xssKQsqbi91JO+6p7fH9ED5mglOxISq4BhjvUmOmXubUXbPMz6Z1ID07p2 KSyMwCL7/4CsI/It5OWKcaeR894rNAgkU5qK4K5c7rX/yNzcqc3MaIufQD4mWb6ARFBV7l mwTlCx1b2P60oPlrpi26DnGnNLliRLM= X-MC-Unique: WhDayyMLPWWQ6GGQpLos7w-1 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PATCH 1/2] softmmu: move more files to softmmu/ Date: Tue, 6 Oct 2020 05:19:21 -0400 Message-Id: <20201006091922.331832-2-pbonzini@redhat.com> In-Reply-To: <20201006091922.331832-1-pbonzini@redhat.com> References: <20201006091922.331832-1-pbonzini@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=pbonzini@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com 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=63.128.21.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/06 01:55:55 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.733, 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_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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.23 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" X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Keep most softmmu_ss files into the system-emulation-specific directory. Signed-off-by: Paolo Bonzini Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 --- meson.build | 10 ---------- bootdevice.c =3D> softmmu/bootdevice.c | 0 device_tree.c =3D> softmmu/device_tree.c | 0 dma-helpers.c =3D> softmmu/dma-helpers.c | 0 softmmu/meson.build | 10 ++++++++++ qdev-monitor.c =3D> softmmu/qdev-monitor.c | 0 qemu-seccomp.c =3D> softmmu/qemu-seccomp.c | 0 tpm.c =3D> softmmu/tpm.c | 0 8 files changed, 10 insertions(+), 10 deletions(-) rename bootdevice.c =3D> softmmu/bootdevice.c (100%) rename device_tree.c =3D> softmmu/device_tree.c (100%) rename dma-helpers.c =3D> softmmu/dma-helpers.c (100%) rename qdev-monitor.c =3D> softmmu/qdev-monitor.c (100%) rename qemu-seccomp.c =3D> softmmu/qemu-seccomp.c (100%) rename tpm.c =3D> softmmu/tpm.c (100%) diff --git a/meson.build b/meson.build index 17c89c87c6..0e0577e81e 100644 --- a/meson.build +++ b/meson.build @@ -1360,17 +1360,7 @@ blockdev_ss.add(files( # os-win32.c does not blockdev_ss.add(when: 'CONFIG_POSIX', if_true: files('os-posix.c')) softmmu_ss.add(when: 'CONFIG_WIN32', if_true: [files('os-win32.c')]) - softmmu_ss.add_all(blockdev_ss) -softmmu_ss.add(files( - 'bootdevice.c', - 'dma-helpers.c', - 'qdev-monitor.c', -), sdl) - -softmmu_ss.add(when: 'CONFIG_TPM', if_true: files('tpm.c')) -softmmu_ss.add(when: 'CONFIG_SECCOMP', if_true: [files('qemu-seccomp.c'), = seccomp]) -softmmu_ss.add(when: fdt, if_true: files('device_tree.c')) =20 common_ss.add(files('cpus-common.c')) =20 diff --git a/bootdevice.c b/softmmu/bootdevice.c similarity index 100% rename from bootdevice.c rename to softmmu/bootdevice.c diff --git a/device_tree.c b/softmmu/device_tree.c similarity index 100% rename from device_tree.c rename to softmmu/device_tree.c diff --git a/dma-helpers.c b/softmmu/dma-helpers.c similarity index 100% rename from dma-helpers.c rename to softmmu/dma-helpers.c diff --git a/softmmu/meson.build b/softmmu/meson.build index 36c96e7b15..862ab24878 100644 --- a/softmmu/meson.build +++ b/softmmu/meson.build @@ -14,3 +14,13 @@ specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: [files( specific_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_TCG'], if_true: [files( 'icount.c' )]) + +softmmu_ss.add(files( + 'bootdevice.c', + 'dma-helpers.c', + 'qdev-monitor.c', +), sdl) + +softmmu_ss.add(when: 'CONFIG_TPM', if_true: files('tpm.c')) +softmmu_ss.add(when: 'CONFIG_SECCOMP', if_true: [files('qemu-seccomp.c'), = seccomp]) +softmmu_ss.add(when: fdt, if_true: files('device_tree.c')) diff --git a/qdev-monitor.c b/softmmu/qdev-monitor.c similarity index 100% rename from qdev-monitor.c rename to softmmu/qdev-monitor.c diff --git a/qemu-seccomp.c b/softmmu/qemu-seccomp.c similarity index 100% rename from qemu-seccomp.c rename to softmmu/qemu-seccomp.c diff --git a/tpm.c b/softmmu/tpm.c similarity index 100% rename from tpm.c rename to softmmu/tpm.c --=20 2.26.2