On Thu, Jan 20, 2022 at 13:33:01 +0000, Daniel P. Berrangé wrote:
# virsh dumpxml fedora34x86_64 | xmllint -xpath
'/domain/devices/console[2]' -
<console type="pty">
<target type="isa-debug" port="1"/>
<address type="isa" iobase="0x402"/>
</console>
# virsh start --paused fedora34x86_64
# virsh console --devname console1 fedora34x86_64
Now in another terminal
# virsh resume fedora34x86_64
And the 'virsh console' will now show the very first messages
at startup....
SecCoreStartupWithStack(0xFFFCC000, 0x820000)
SEC: Normal boot
DecompressMemFvs: OutputBuffer@A00000+0xCE0090 ScratchBuffer@1700000+0x10000
PcdOvmfDecompressionScratchEnd=0x1710000
Register PPI Notify: DCD0BE23-9586-40F4-B643-06522CED4EDE
Install PPI: 8C8CE578-8A3D-4F1C-9935-896185C32DD3
Install PPI: 5473C07A-3DCB-4DCA-BD6F-1E9689E7349A
The 0th FV start address is 0x00000820000, size is 0x000E0000, handle is 0x820000
Register PPI Notify: 49EDB1C1-BF21-4761-BB12-EB0031AABB39
Register PPI Notify: EA7CA24B-DED5-4DAD-A389-BF827E8F9B38
Install PPI: B9E0ABFE-5979-4914-977F-6DEE78C278A6
Install PPI: DBE23AA9-A345-4B97-85B6-B226F1617389
DiscoverPeimsAndOrderWithApriori(): Found 0xD PEI FFS files in the 0th FV
...snip...
Reviewed-by: Peter Krempa <pkrempa(a)redhat.com>