Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BE80DEDA6B2 for ; Tue, 3 Mar 2026 17:21:16 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vxTQ4-0005e4-0m; Tue, 03 Mar 2026 12:20:28 -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 1vxTQ0-0005d2-PB for qemu-devel@nongnu.org; Tue, 03 Mar 2026 12:20:24 -0500 Received: from zero.eik.bme.hu ([152.66.115.2]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vxTPx-0000ld-W9 for qemu-devel@nongnu.org; Tue, 03 Mar 2026 12:20:23 -0500 Received: from localhost (localhost [127.0.0.1]) by zero.eik.bme.hu (Postfix) with ESMTP id 38825596A10; Tue, 03 Mar 2026 18:20:19 +0100 (CET) X-Virus-Scanned: amavis at eik.bme.hu Received: from zero.eik.bme.hu ([127.0.0.1]) by localhost (zero.eik.bme.hu [127.0.0.1]) (amavis, port 10028) with ESMTP id L6uYqBF1fueP; Tue, 3 Mar 2026 18:20:17 +0100 (CET) Received: by zero.eik.bme.hu (Postfix, from userid 432) id 10CA6596A0A; Tue, 03 Mar 2026 18:20:17 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zero.eik.bme.hu (Postfix) with ESMTP id 0E5EE5969FA; Tue, 03 Mar 2026 18:20:17 +0100 (CET) Date: Tue, 3 Mar 2026 18:20:17 +0100 (CET) From: BALATON Zoltan To: =?ISO-8859-15?Q?Philippe_Mathieu-Daud=E9?= cc: Akihiko Odaki , qemu-devel@nongnu.org, Richard Henderson , Mark Cave-Ayland , Paolo Bonzini , Peter Xu Subject: Re: [PATCH 1/7] stubs: Merge physmem.c within ram-block.c In-Reply-To: Message-ID: <1dfb1673-082e-2748-9887-bb7efd2df4f4@eik.bme.hu> References: <20260226220226.20164-1-philmd@linaro.org> <20260226220226.20164-2-philmd@linaro.org> <8a2872f3-dfbb-3fed-dd95-3cd474e3ca2b@eik.bme.hu> <82dfe6e2-22c1-4df1-9e49-a2c7a2970082@rsg.ci.i.u-tokyo.ac.jp> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="3866299591-296359462-1772558417=:69959" Received-SPF: pass client-ip=152.66.115.2; envelope-from=balaton@eik.bme.hu; helo=zero.eik.bme.hu X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.322, RCVD_IN_VALIDITY_SAFE_BLOCKED=1.141, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --3866299591-296359462-1772558417=:69959 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Tue, 3 Mar 2026, Philippe Mathieu-Daudé wrote: > On 2/3/26 07:21, Akihiko Odaki wrote: >> On 2026/02/27 7:22, BALATON Zoltan wrote: >>> On Thu, 26 Feb 2026, Philippe Mathieu-Daudé wrote: >>>> physmem.c defines 2 stubs which are related to ram-block: >>>> qemu_ram_block_from_host() and qemu_ram_get_fd(). >>>> Move them with the other ram-block stubs. >>>> >>>> Signed-off-by: Philippe Mathieu-Daudé >>>> --- >>>> stubs/physmem.c   | 13 ------------- >>>> stubs/ram-block.c | 11 +++++++++++ >>> >>> Maybe should be the other way around moving what's in subs/ram-block.c to >>> stubs/physmem.c considering the the functions these stub out are in >>> system/physmem.c and there's no system/ram-block.c. > > Fine, I'll drop this patch if you think it is not worthwhile. I did not say that, only that the functions are in system/physmem.c so why not put the stubs in stubs/physmem.c to match? Since there's no system/ram-block.c I think it makes more sense to merge these into stubs/physmem.c instead. But just leaving it as it is is also OK. Regards, BALATON Zoltan --3866299591-296359462-1772558417=:69959--