[libvirt PATCH v2 2/3] conf: support firmware ISA debug console

Michal Prívozník mprivozn at redhat.com
Thu Feb 3 08:53:15 UTC 2022


On 2/2/22 13:44, Daniel P. Berrangé wrote:
> 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 0x0xe9 since that's the original

nipick: s/0x//

> Bochs debug port. Thus for use with SeaBIOS/OVMF, the iobase
> port needs to be explicitly set to 0x402.
> 
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
>  docs/formatdomain.rst          | 14 +++++++++-----
>  docs/schemas/domaincommon.rng  |  2 ++
>  src/conf/domain_conf.c         | 18 +++++++++++++++---
>  src/conf/domain_conf.h         |  2 ++
>  src/qemu/qemu_command.c        |  2 ++
>  src/qemu/qemu_domain.c         |  4 ++++
>  src/qemu/qemu_domain_address.c |  1 +
>  src/qemu/qemu_validate.c       |  5 +++++
>  8 files changed, 40 insertions(+), 8 deletions(-)

Michal




More information about the libvir-list mailing list