]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: fix typo in isa-debugcon example
authorLaszlo Ersek <lersek@redhat.com>
Thu, 18 May 2023 12:59:38 +0000 (14:59 +0200)
committerJán Tomko <jtomko@redhat.com>
Thu, 18 May 2023 14:24:59 +0000 (16:24 +0200)
The <serial> opening tag is paired with the </console> closing tag; that's
a mismatch. The question is then whether to modify the former to
<console>, or the latter to </serial>.

Per section "Relationship between serial ports and consoles", <serial> is
used for emulated (not paravirt) consoles, and it's the type that's
suitable for early debug output (such as from firmware). Thus, change
</console> to </serial>.

Cc: "Daniel P. Berrangé" <berrange@redhat.com>
Cc: Andrea Bolognani <abologna@redhat.com>
Fixes: 654968381df0256c047d2ecd4542ccc90dc57ad0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/formatdomain.rst

index 1f52f58d37e1ffc21eab9e45bcc59fbc57a62226..6b8b60804e62e83a832331dacba246e71fb69cde 100644 (file)
@@ -6634,7 +6634,7 @@ Serial port
      <serial type='pty'>
        <target type='isa-debug'/>
        <address type='isa' iobase='0x402'/>
-     </console>
+     </serial>
 
    </devices>
    ...