[PATCH 25/67] docs: formatdomain: Remove 'elementsHostDev' anchor

Peter Krempa pkrempa at redhat.com
Tue May 31 15:06:00 UTC 2022


Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 docs/formatdomain.rst | 3 +--
 docs/formatnode.rst   | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst
index 403a03edfb..65197d6e3d 100644
--- a/docs/formatdomain.rst
+++ b/docs/formatdomain.rst
@@ -240,7 +240,7 @@ harddisk, cdrom, network) determining where to obtain/find the boot image.
    and hda disks will boot from hda (sorted disks are: hda, hdc, vda, vdb). It
    can be tricky to configure in the desired way, which is why per-device boot
    elements (see `Hard drives, floppy disks, CDROMs`_, `network
-   interfaces <#elementsNICS>`__, and `USB and PCI devices <#elementsHostDev>`__
+   interfaces <#elementsNICS>`__, and `Host device assignment`_
    sections below) were introduced and they are the preferred way providing full
    control over booting order. The ``boot`` element and per-device boot elements
    are mutually exclusive. :since:`Since 0.1.3, per-device boot since 0.8.8`
@@ -3975,7 +3975,6 @@ acquired.
    The offset specifies where the lease is stored within the file. If the lock
    manager does not require an offset, just pass 0.

-:anchor:`<a id="elementsHostDev"/>`

 Host device assignment
 ~~~~~~~~~~~~~~~~~~~~~~
diff --git a/docs/formatnode.rst b/docs/formatnode.rst
index ec3d529fff..5903cac7fe 100644
--- a/docs/formatnode.rst
+++ b/docs/formatnode.rst
@@ -12,7 +12,7 @@ Node Device XML
 There are several libvirt functions, all with the prefix ``virNodeDevice``,
 which deal with management of host devices that can be handed to guests via
 passthrough as <hostdev> elements in `the domain
-XML <formatdomain.html#elementsHostDev>`__. These devices are represented as a
+XML <formatdomain.html#host-device-assignment>`__. These devices are represented as a
 hierarchy, where a device on a bus has a parent of the bus controller device;
 the root of the hierarchy is the node named "computer".

-- 
2.35.3



More information about the libvir-list mailing list