[libvirt PATCH 0/2] qemu: support the SeaBIOS/EDK2 debug console

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 # 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...


Daniel P. Berrangé (2):
  conf: support firmware ISA debug console
  qemu: wire up support for isa-debugcon

 docs/formatdomain.rst                         |  3 +-
 docs/schemas/domaincommon.rng                 |  1 +
 src/conf/domain_conf.c                        | 23 ++++++++---
 src/conf/domain_conf.h                        |  1 +
 src/qemu/qemu_command.c                       | 35 +++++++++++++++--
 src/qemu/qemu_domain_address.c                | 25 ++++++++++++
 src/qemu/qemu_validate.c                      | 18 ++++++++-
 .../debugcon.x86_64-latest.args               | 39 +++++++++++++++++++
 tests/qemuxml2argvdata/debugcon.xml           | 27 +++++++++++++
 tests/qemuxml2argvtest.c                      |  2 +
 10 files changed, 162 insertions(+), 12 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/debugcon.x86_64-latest.args
 create mode 100644 tests/qemuxml2argvdata/debugcon.xml

-- 
2.33.1





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux