From nobody Tue Feb 10 12:40:07 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.128.45 as permitted sender) client-ip=209.85.128.45; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-f45.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.45 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com; dmarc=fail(p=quarantine dis=quarantine) header.from=amsat.org ARC-Seal: i=1; a=rsa-sha256; t=1642507381; cv=none; d=zohomail.com; s=zohoarc; b=MF59wJiRDe+qyB/PgJ95qmueY7FNEXxcAYo3moWb4bRwMckiAtGhWslaVZkz9UjOdCurK6OzzZzLm5AvFzblv3dbWQlJcOhhnuc/sa5XWSJUitkPLQ1lDerPh1WYj6c30OWn2b0oZBpwTlxTf9S/FvFV7KwNNZ34PnGJUXdY3Q4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1642507381; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=/8g3YUq2P+trQ4peexKIRwmbDVpKrAdGictXnf4Pf5U=; b=VpQ0cLl0N8bpQiB9Mzp0QX+Ex5d0ozWfN9k/ZdbR7FRuv7ckyOCDOQM0kSFhFYULSKrkk8TN9sMSHHUhIncC+tQCjHPXPOWdWMRhzjCWr3txqKo1TnFNMY4F/TlwjT3pCNzchu9VIDM12Cg0CEIdkPiE77r00HXX5701dy51fxg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.45 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com; dmarc=fail header.from= (p=quarantine dis=quarantine) Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) by mx.zohomail.com with SMTPS id 1642507381651295.6395782336542; Tue, 18 Jan 2022 04:03:01 -0800 (PST) Received: by mail-wm1-f45.google.com with SMTP id q141-20020a1ca793000000b00347b48dfb53so6875037wme.0 for ; Tue, 18 Jan 2022 04:03:01 -0800 (PST) Return-Path: Return-Path: Received: from nuc.. (154.red-83-50-83.dynamicip.rima-tde.net. [83.50.83.154]) by smtp.gmail.com with ESMTPSA id y2sm2196033wmj.13.2022.01.18.04.02.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jan 2022 04:02:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/8g3YUq2P+trQ4peexKIRwmbDVpKrAdGictXnf4Pf5U=; b=m2Yjx5uceyZlVbgSqrLCnL9aP6tUNY2FiOGcVKdoEVVTHIoqX3NYHsI6hreYn6WStt pKfKFcLXQgVLfeJMBkYGo+UNQSwQfQPJF4MASyJTq4FLR3PBQQusO9u8VyzvTA0kdMAl laf9lTN3DJ+npOgh5/S5Qk5pUhAOwxUHpCXNs65axqrdN5++p9NDzoQ1NkKBoYcp7V1S 8MYPfvHnm4kVmhrokvfaJ8kJfkYR8ddq18NDi0mTBHr9CDcZ8882wVkietVlMpsO2y9x 8OZu0ndr+XQoiu80x3VGCKXIfFz3l/PTq6EbCEXaM35PxTQ8z+CNxPf1mg7fCeiQcqMY Uh4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=/8g3YUq2P+trQ4peexKIRwmbDVpKrAdGictXnf4Pf5U=; b=l4YdqcQlivq/3fBQU45meMN9dsEYHD6KFzGE+igU+pmpz+ipW7maybJdie+8+fHh9m /dGsxc9BA1oZ3XSWA/+ohH8Utdkn/ReBJszKi9P50NmM/sfSR92GbkA0lpu6w6cNWv9o i56n6Fyhep27ImD/MpY3cn5ln2EyTdNf+a05s7I9rFje3MlrlIf10t9MYMxfdAwsS2aM PvcSpvdSKqqV49OXswU6jLthzjtPd8flsFlNyxgA384vwJakiid6sACe2RS+ZI5KAeS1 5PR8OLitsEeFFMHtAOz8P1clQJBK0W0ViWzE9RUNaOhPnVr8nBcRDajQHrdQucDOPvnR FKug== X-Gm-Message-State: AOAM531ywX2uVAeUXbttM2j82K40SAH05p18GZ1w7Tk5WT/QxL3siDHo /JCLtaC/ctnpzvw8SaibF7fAPmEeLRs= X-Google-Smtp-Source: ABdhPJxg/LwDRFD8x70gd6rBIXb7xzQ4+iCaEO9weAoZPlFd1K1jPWwuAPUroA3abhzPlv+Wxtz35Q== X-Received: by 2002:a05:600c:4e90:: with SMTP id f16mr21586674wmq.147.1642507379993; Tue, 18 Jan 2022 04:02:59 -0800 (PST) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Peter Xu , David Hildenbrand , Paolo Bonzini , qemu-block@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 06/19] memory: Update description of memory_region_is_mapped() Date: Tue, 18 Jan 2022 13:02:16 +0100 Message-Id: <20220118120229.196337-7-f4bug@amsat.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220118120229.196337-1-f4bug@amsat.org> References: <20220118120229.196337-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1642507382247100001 From: David Hildenbrand Let's update the documentation, making it clearer what the semantics of memory_region_is_mapped() actually are. Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Peter Xu Signed-off-by: David Hildenbrand Message-Id: <20211102164317.45658-4-david@redhat.com> Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- include/exec/memory.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/exec/memory.h b/include/exec/memory.h index fea1a493b9c..63be794a067 100644 --- a/include/exec/memory.h +++ b/include/exec/memory.h @@ -2297,7 +2297,8 @@ bool memory_region_present(MemoryRegion *container, h= waddr addr); =20 /** * memory_region_is_mapped: returns true if #MemoryRegion is mapped - * into any address space. + * into another memory region, which does not necessarily imply that it is + * mapped into an address space. * * @mr: a #MemoryRegion which should be checked if it's mapped */ --=20 2.34.1