From nobody Mon Feb 9 16:34:17 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1654009691; cv=none; d=zohomail.com; s=zohoarc; b=HOaSR1Xuau0hIoM6IicHeWAMZbzqL5AB1AgBY37NjfkAEpPcWNJigbOISeLSV2jpobCrzA4N+NXeD20ywf6NqfwIwPhD3U6SUlj/RnuBTgQA9/KQ56q7wGUSZ9okT6yC8ADlYK0hFDDDYFHfT4hGRpWD7zP4dXkbEcGSF8bd1Lo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1654009691; 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=KvMbojwPdp/ZefS9jN/bsgmNLQi3wjjUZqtc9Sbh/MI=; b=Nsmq7U4V5TQysU1Kebz3HhkYbdfCcm2iW9HNSAPfy9+10itAYeXJ1icagK2BPXrP3UMrFYZjE1Dq+/UxZ/zeIevtB/c1Fl99zTYRpN8Gk26235Ah81iXO/bJ72w+iE6vPb78hApj2f3AD0noVsr6rETk7L3QGH9pTafLi2gaKhc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1654009691063567.0032872119768; Tue, 31 May 2022 08:08:11 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-65-sCDkHSQuNeqxGZiSlyQY-A-1; Tue, 31 May 2022 11:07:53 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 190821C00152; Tue, 31 May 2022 15:06:55 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 071091400AFB; Tue, 31 May 2022 15:06:55 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id CBE321947062; Tue, 31 May 2022 15:06:54 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id D2ACD194706A for ; Tue, 31 May 2022 15:06:52 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 9A2241731B; Tue, 31 May 2022 15:06:52 +0000 (UTC) Received: from speedmetal.lan (unknown [10.40.208.21]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2028E10725 for ; Tue, 31 May 2022 15:06:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1654009689; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=KvMbojwPdp/ZefS9jN/bsgmNLQi3wjjUZqtc9Sbh/MI=; b=W6JY786HSjfldcR5bW6xpy7RUYwZG+ZuZ9AqpX1+2t0BqRvzUwRC6bxqPL3zf9IHn/yzyV hGOo9ZlnBMmGgPclA/J9XACYWbxCLUGKPatK+oxROzGF4N7PkfMWFWXeubmGW8UZ2yPC/G xmL6xfoUhZFQGFSWbb/HUIZbhJPlMXU= X-MC-Unique: sCDkHSQuNeqxGZiSlyQY-A-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 10/67] docs: formatdomain: Remove 'elementsMemoryAllocation' anchor Date: Tue, 31 May 2022 17:05:45 +0200 Message-Id: <400722df3c0bed9a5a0b1895507b36cbe929fb96.1654008136.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.85 on 10.11.54.7 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1654009693224100001 Content-Type: text/plain; charset="utf-8" Reworded documentation around local links. Signed-off-by: Peter Krempa --- docs/formatdomain.rst | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst index 27e1e496e9..8e18151796 100644 --- a/docs/formatdomain.rst +++ b/docs/formatdomain.rst @@ -885,8 +885,7 @@ CPU Tuning but the ``unit`` attribute can be used to scale the value. ``unit`` (optional) If specified it is the unit such as KiB, MiB, GiB, or TiB (descri= bed in - the ``memory`` element for `Memory - Allocation <#elementsMemoryAllocation>`__) in which ``size`` is + the ``memory`` element for `Memory Allocation`_) in which ``size`= ` is specified, defaults to bytes. ``monitor`` :since:`Since 4.10.0` @@ -921,7 +920,6 @@ CPU Tuning The memory bandwidth to allocate from this node. The value by def= ault is in percentage. -:anchor:`` Memory Allocation ----------------- @@ -1565,8 +1563,8 @@ maximum virtual CPUs number declared in ``vcpus``, to= make the domain consistent across qemu and libvirt versions. ``memory`` specifies the node memory in kibibytes (i.e. blocks of 1024 bytes). :since:`Since 6.6.0` the ``cpus`` attribute is optional and if omitted a CPU-less NUMA node is created. -:since:`Since 1.2.11` one can use an additional -`unit <#elementsMemoryAllocation>`__ attribute to define units in which +:since:`Since 1.2.11` one can use an additional ``unit`` attribute +(See `Memory Allocation`_) to define units in which ``memory`` is specified. :since:`Since 1.2.7` all cells should have ``id`` attribute in case referring to some cell is necessary in the code, otherwi= se the cells are assigned ``id``\ s in the increasing order starting from 0. Mixi= ng @@ -2034,7 +2032,7 @@ are: as 48 MiB of unavailable RAM might be too much for small guests (e.g. w= ith 512 MiB of RAM). - See `Memory Allocation <#elementsMemoryAllocation>`__ for more details = about + See `Memory Allocation`_ for more details about the ``unit`` attribute. :since:`Since 4.5.0` (QEMU only) ``ioapic`` @@ -7981,8 +7979,8 @@ Example: usage of the memory devices ``label`` For NVDIMM type devices one can use ``label`` and its subelement ``s= ize`` to configure the size of namespaces label storage within the NVDIMM - module. The ``size`` element has usual meaning described - `here <#elementsMemoryAllocation>`__. ``label`` is mandatory for pSe= ries + module. The ``size`` element has usual meaning described in the + `Memory Allocation`_ section. ``label`` is mandatory for pSeries guests and optional for all other architectures. For QEMU domains the following restrictions apply: --=20 2.35.3