The type='pty' attribute in the <serial> element causes a Pseudo TTY to be
allocated on the host side via "/dev/ptmx", which is meant to be
interacted with via "virsh console" or similar.
That's not how a firmware log is typically viewed or saved. Replace
type='pty' with type='file', and also provide an example <source> element
(with the pathname of the logfile), similarly to how the <serial> example
just above provides a <source> element too.
Cc: "Daniel P. Berrangé" <berrange@redhat.com>
Cc: Andrea Bolognani <abologna@redhat.com>
Updates:
654968381df0256c047d2ecd4542ccc90dc57ad0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
<target port='0'/>
</serial>
<!-- Debug port for SeaBIOS / EDK II -->
- <serial type='pty'>
+ <serial type='file'>
<target type='isa-debug'/>
<address type='isa' iobase='0x402'/>
+ <source path='/tmp/DOMAIN-ovmf.log'/>
</serial>
</devices>