mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
conf: support firmware ISA debug console
Introduce support for
<serial type='pty'>
<target type='isa-debug'>
<model type='isa-debugcon'/>
</target>
<address type='isa' iobase='0x402'/>
</console>
which is used as a way to receive debug messages from the
firmware on x86 platforms.
Note that the default port is hypervisor specific, with QEMU
currently using 0xe9 since that's the original Bochs debug port.
For use with SeaBIOS/OVMF, the iobase port needs to be explicitly
set to 0x402.
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
@@ -6418,8 +6418,9 @@ values are, :since:`since 1.0.2` , ``isa-serial`` (usable with x86 guests),
|
||||
``usb-serial`` (usable whenever USB support is available) and ``pci-serial``
|
||||
(usable whenever PCI support is available); :since:`since 3.10.0` ,
|
||||
``spapr-vio-serial`` (usable with ppc64/pseries guests), ``system-serial``
|
||||
(usable with aarch64/virt and, :since:`since 4.7.0` , riscv/virt guests) and
|
||||
``sclp-serial`` (usable with s390 and s390x guests) are available as well.
|
||||
(usable with aarch64/virt and, :since:`since 4.7.0` , riscv/virt guests),
|
||||
``sclp-serial`` (usable with s390 and s390x guests) are available as well
|
||||
and :since:`since 8.1.0` ``isa-debug`` (usable with x86 guests).
|
||||
|
||||
:since:`Since 3.10.0` , the ``target`` element can have an optional ``model``
|
||||
subelement; valid values for its ``name`` attribute are: ``isa-serial`` (usable
|
||||
@@ -6428,9 +6429,12 @@ with the ``isa-serial`` target type); ``usb-serial`` (usable with the
|
||||
target type); ``spapr-vty`` (usable with the ``spapr-vio-serial`` target type);
|
||||
``pl011`` and, :since:`since 4.7.0` , ``16550a`` (usable with the
|
||||
``system-serial`` target type); ``sclpconsole`` and ``sclplmconsole`` (usable
|
||||
with the ``sclp-serial`` target type). Providing a target model is usually
|
||||
unnecessary: libvirt will automatically pick one that's suitable for the chosen
|
||||
target type, and overriding that value is generally not recommended.
|
||||
with the ``sclp-serial`` target type). ``isa-debugcon`` (usable with the
|
||||
``isa-debug`` target type); provides a virtual console for receiving debug
|
||||
messages from the firmware on x86 platforms. :since:`Since: 8.1.0`.
|
||||
Providing a target model is usually unnecessary: libvirt will automatically
|
||||
pick one that's suitable for the chosen target type, and overriding that
|
||||
value is generally not recommended.
|
||||
|
||||
If any of the attributes is not specified by the user, libvirt will choose a
|
||||
value suitable for most users.
|
||||
|
||||
@@ -4401,6 +4401,7 @@
|
||||
<value>spapr-vio-serial</value>
|
||||
<value>system-serial</value>
|
||||
<value>sclp-serial</value>
|
||||
<value>isa-debug</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
</define>
|
||||
@@ -4417,6 +4418,7 @@
|
||||
<value>16550a</value>
|
||||
<value>sclpconsole</value>
|
||||
<value>sclplmconsole</value>
|
||||
<value>isa-debugcon</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
</element>
|
||||
|
||||
Reference in New Issue
Block a user