From nobody Thu Dec 18 22:24:09 2025 Delivered-To: importer@patchew.org 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; Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1582361669; cv=none; d=zohomail.com; s=zohoarc; b=X5RLl1B7ltdH7ZE4W8PnWPjxLd/IqFbtZ8Yazz/Xv23cvZYi7aTfgLZUu8Ew3SCvqP3wX/nm+5vweP5MtWW15QsXLuo1Hv0sUTVKfP8yTgGvwASmSAP5MfxviRMItKuuV8zAXrEbyF4o8w0qrGk5ynayfpIvzj+Q234NhOVET/M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1582361669; h=Content-Type:Content-Transfer-Encoding:Cc: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=UHKEz5FhYIXrQh0HYKD2y/dcpIfjGELVJCwvc48/IVQ=; b=f7KeRdnuhz/0ZlGTPg4hHjRGkAf3KpmS1xnX8UDeWhSAJLvmn+lxycPh3WoeII3Qf648H8hNzOGU9H2s4yq2CAIwrzhClLJS60l1qN42JFKyao4N2Va89CV3u0CTY+PWbRyvp3RZh7x949Eq8CyeUckm8XXuwuVvwlzR+8+rT3c= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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=fail 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 1582361669711864.0835785562193; Sat, 22 Feb 2020 00:54:29 -0800 (PST) Received: from localhost ([::1]:40362 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5QYO-0001tQ-NG for importer@patchew.org; Sat, 22 Feb 2020 03:54:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38329) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5QWQ-0007FR-Ar for qemu-devel@nongnu.org; Sat, 22 Feb 2020 03:52:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j5QWO-0000WT-TD for qemu-devel@nongnu.org; Sat, 22 Feb 2020 03:52:26 -0500 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:56088 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j5QWO-0000WH-Pc for qemu-devel@nongnu.org; Sat, 22 Feb 2020 03:52:24 -0500 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-228-EDio9AOuP1GRb672zDpu9w-1; Sat, 22 Feb 2020 03:52:22 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 972CC801E5C; Sat, 22 Feb 2020 08:52:20 +0000 (UTC) Received: from localhost (ovpn-116-74.ams2.redhat.com [10.36.116.74]) by smtp.corp.redhat.com (Postfix) with ESMTP id EDFA75D9CD; Sat, 22 Feb 2020 08:52:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1582361544; 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=UHKEz5FhYIXrQh0HYKD2y/dcpIfjGELVJCwvc48/IVQ=; b=Xo7pKasL48Mg27RdJ6HkXscHV+1Kgx8AdtkNn9CFocajFjX6oj13jlrwaWI5JGRtUhu9pg 9gvWaRd47H6EQOL3My4OBARfBWxaQpfmXujHqJXtQl4ODLxgb7C1pyiASkdDd7twuZe4PF 16XXI/HUn8Nl2aw7A/7QknQ9RDSkbB8= X-MC-Unique: EDio9AOuP1GRb672zDpu9w-1 From: Stefan Hajnoczi To: qemu-devel@nongnu.org Subject: [PULL 10/31] softmmu: move vl.c to softmmu/ Date: Sat, 22 Feb 2020 08:50:09 +0000 Message-Id: <20200222085030.1760640-11-stefanha@redhat.com> In-Reply-To: <20200222085030.1760640-1-stefanha@redhat.com> References: <20200222085030.1760640-1-stefanha@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 205.139.110.61 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: , Cc: Kevin Wolf , Peter Maydell , Thomas Huth , Eduardo Habkost , qemu-block@nongnu.org, "Michael S. Tsirkin" , Laurent Vivier , Max Reitz , Alexander Bulekov , Bandan Das , Stefan Hajnoczi , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Paolo Bonzini , Fam Zheng , Darren Kenny , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" From: Alexander Bulekov Move vl.c to a separate directory, similar to linux-user/ Update the chechpatch and get_maintainer scripts, since they relied on /vl.c for top_of_tree checks. Signed-off-by: Alexander Bulekov Reviewed-by: Darren Kenny Message-id: 20200220041118.23264-2-alxndr@bu.edu Signed-off-by: Stefan Hajnoczi --- MAINTAINERS | 2 +- Makefile.objs | 2 -- Makefile.target | 1 + scripts/checkpatch.pl | 2 +- scripts/get_maintainer.pl | 3 ++- softmmu/Makefile.objs | 2 ++ vl.c =3D> softmmu/vl.c | 0 7 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 softmmu/Makefile.objs rename vl.c =3D> softmmu/vl.c (100%) diff --git a/MAINTAINERS b/MAINTAINERS index 1740a4fddc..6e26d2ec2a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2031,7 +2031,7 @@ F: include/qemu/main-loop.h F: include/sysemu/runstate.h F: util/main-loop.c F: util/qemu-timer.c -F: vl.c +F: softmmu/vl.c F: qapi/run-state.json =20 Human Monitor (HMP) diff --git a/Makefile.objs b/Makefile.objs index 26b9cff954..8a1cbe8000 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -58,8 +58,6 @@ common-obj-y +=3D ui/ common-obj-m +=3D ui/ =20 common-obj-y +=3D dma-helpers.o -common-obj-y +=3D vl.o -vl.o-cflags :=3D $(GPROF_CFLAGS) $(SDL_CFLAGS) common-obj-$(CONFIG_TPM) +=3D tpm.o =20 common-obj-y +=3D backends/ diff --git a/Makefile.target b/Makefile.target index 6e61f607b1..06c36d1161 100644 --- a/Makefile.target +++ b/Makefile.target @@ -160,6 +160,7 @@ obj-y +=3D qapi/ obj-y +=3D memory.o obj-y +=3D memory_mapping.o obj-y +=3D migration/ram.o +obj-y +=3D softmmu/ LIBS :=3D $(libs_softmmu) $(LIBS) =20 # Hardware support diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 11512a8a09..b27e4ff5e9 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -462,7 +462,7 @@ sub top_of_kernel_tree { my @tree_check =3D ( "COPYING", "MAINTAINERS", "Makefile", "README.rst", "docs", "VERSION", - "vl.c" + "linux-user", "softmmu" ); =20 foreach my $check (@tree_check) { diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index 27991eb1cf..271f5ff42a 100755 --- a/scripts/get_maintainer.pl +++ b/scripts/get_maintainer.pl @@ -795,7 +795,8 @@ sub top_of_tree { && (-f "${lk_path}Makefile") && (-d "${lk_path}docs") && (-f "${lk_path}VERSION") - && (-f "${lk_path}vl.c")) { + && (-d "${lk_path}linux-user/") + && (-d "${lk_path}softmmu/")) { return 1; } return 0; diff --git a/softmmu/Makefile.objs b/softmmu/Makefile.objs new file mode 100644 index 0000000000..d80a5ffe5a --- /dev/null +++ b/softmmu/Makefile.objs @@ -0,0 +1,2 @@ +obj-y +=3D vl.o +vl.o-cflags :=3D $(GPROF_CFLAGS) $(SDL_CFLAGS) diff --git a/vl.c b/softmmu/vl.c similarity index 100% rename from vl.c rename to softmmu/vl.c --=20 2.24.1