From mboxrd@z Thu Jan 1 00:00:00 1970 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 E9DC5C61D92 for ; Tue, 21 Nov 2023 15:04:43 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r5SIa-0002Ay-C1; Tue, 21 Nov 2023 10:04:24 -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 1r5SIZ-00028b-Ib for qemu-devel@nongnu.org; Tue, 21 Nov 2023 10:04:23 -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 1r5SIX-0005YL-Ml for qemu-devel@nongnu.org; Tue, 21 Nov 2023 10:04:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1700579061; 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=PbYUpQnSAHn8bTxYEUq4d8Seyw6g/VBkK0Nbfpj6/8w=; b=aHTay7mjtCRQ2kGYaSXLzsBYDZ8SpPibVYgep5cIwEvfZavtKXzlGm/OrAtTh7MKPZ03JX +QTikb5ajeljtSGQa9IpRZ4kT/iRlwXGZc7R2ku9wzuBvKtEEuupcLssddDTkcRCeJZXHh 7Itv9H4Bn9KbbzJb7QVLZoONsAoowYY= Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-272-R0D14BaWP9ubiJJ_EfykXg-1; Tue, 21 Nov 2023 10:04:18 -0500 X-MC-Unique: R0D14BaWP9ubiJJ_EfykXg-1 Received: by mail-qv1-f71.google.com with SMTP id 6a1803df08f44-6755f01ca7dso15083006d6.1 for ; Tue, 21 Nov 2023 07:04:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700579058; x=1701183858; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=PbYUpQnSAHn8bTxYEUq4d8Seyw6g/VBkK0Nbfpj6/8w=; b=YQf+CMPpe9GBrSRoQsl26L+pbBAFsRAxJPtOYSx0Oj+2R9uPmjJ/deFfCwYTF8e4C0 egpsKqHlp3zfC+4aArhJU4RlXS1k/c8onRfSc6Eh/+rcVN9HH5CzM6R5eIJckyjYGeGK cA7wrX3MdgPy1ZUz2eBtS592o4yritplHQIj1hYaen8TO3YlziQHGld43Uiggx7P5pG2 i2D4yasoEq+hDYg/H/0gKkDHnjsVt8v38QmqfWGCpQWeMJmD5x+C8h0BRxByn1ES+Tb9 PPh38Rcfoy06t5NSIopCwvj2f86OmpPHIc70PekAz5ei4vUg9DfN2Z6bPuvbxJuebHLF c2CA== X-Gm-Message-State: AOJu0YxVzkAk7VxbxEzmDz39uE+8oh3PCu5AOVAN4OxovkCNHkx2TD7c mh9ctATPLOJKghURknJXZV9JYVyOZObZHswwrt8R+gs/EmCTXOR3yFP5KRD/YmqhAoqHPhTKLjH BQ0HTgPpizQ7sHsE= X-Received: by 2002:a0c:eb44:0:b0:66d:264c:450f with SMTP id c4-20020a0ceb44000000b0066d264c450fmr10550152qvq.0.1700579057975; Tue, 21 Nov 2023 07:04:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IG9e+HlqhkRhz4sXGz2jLhhaZR3Dmb9YOg+C/eEP36C2X7HLECy4TcVzxK2clRr7xKRxObv5Q== X-Received: by 2002:a0c:eb44:0:b0:66d:264c:450f with SMTP id c4-20020a0ceb44000000b0066d264c450fmr10550128qvq.0.1700579057685; Tue, 21 Nov 2023 07:04:17 -0800 (PST) Received: from x1n (cpe688f2e2cb7c3-cm688f2e2cb7c0.cpe.net.cable.rogers.com. [99.254.121.117]) by smtp.gmail.com with ESMTPSA id ez18-20020ad45912000000b00678013cc898sm3084981qvb.36.2023.11.21.07.04.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 07:04:17 -0800 (PST) Date: Tue, 21 Nov 2023 10:04:15 -0500 From: Peter Xu To: Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= Cc: qemu-devel@nongnu.org, David Hildenbrand , Peter Maydell , "Michael S. Tsirkin" , qemu-arm@nongnu.org, Mark Cave-Ayland , Markus Armbruster , Paolo Bonzini , Igor Mammedov , qemu-ppc@nongnu.org, =?utf-8?Q?C=C3=A9dric?= Le Goater Subject: Re: [PATCH-for-9.0 13/25] memory: Have memory_region_init_ram_from_fd() handler return a boolean Message-ID: References: <20231120213301.24349-1-philmd@linaro.org> <20231120213301.24349-14-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231120213301.24349-14-philmd@linaro.org> Received-SPF: pass client-ip=170.10.133.124; envelope-from=peterx@redhat.com; helo=us-smtp-delivery-124.mimecast.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, DKIMWL_WL_HIGH=-0.001, 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=unavailable 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On Mon, Nov 20, 2023 at 10:32:47PM +0100, Philippe Mathieu-Daudé wrote: > Following the example documented since commit e3fe3988d7 ("error: > Document Error API usage rules"), have cpu_exec_realizefn() > return a boolean indicating whether an error is set or not. > > Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Peter Xu -- Peter Xu