[libvirt PATCH] docs: Add example for isa-debugcon

Daniel P. Berrangé berrange at redhat.com
Thu Feb 3 14:37:05 UTC 2022


On Thu, Feb 03, 2022 at 03:14:22PM +0100, Andrea Bolognani wrote:
> Most people will want to use isa-debugcon to obtain debug output
> for SeaBIOS / EDK II, so let's include a ready-made example for
> that scenario in our documentation.
> 
> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> ---
>  docs/formatdomain.rst | 8 ++++++++
>  1 file changed, 8 insertions(+)

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


> 
> diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst
> index 8fa5940469..583c195568 100644
> --- a/docs/formatdomain.rst
> +++ b/docs/formatdomain.rst
> @@ -6395,6 +6395,14 @@ Serial port
>         <source path='/dev/pts/3'/>
>         <target port='0'/>
>       </serial>
> +     <!-- Debug port for SeaBIOS / EDK II -->
> +     <serial type='pty'>
> +       <target type='isa-debug'>
> +         <model type='isa-debugcon'/>
> +       </target>

I'd leave out the <model> since it will do the right thing for
everyone already.

> +       <address type='isa' iobase='0x402'/>
> +     </console>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list