Re: [PATCH 1/2] conf: add debugcon-isa chardev guest interface

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

 



On Thu, Jan 24, 2019 at 05:28:59PM +0300, Nikolay Shirokovskiy wrote:
This interface can be used for example by firmware to print
debug messages. Here is domain xml example:

   <channel type='file'>
     <source path='/var/log/libvirt/qemu/VM.firmware.log'/>
     <target type='debugcon-isa'/>

IMO 'debugcon' would be enough.

Jano

     <address type='isa' iobase='0x402'/>
   </channel>

Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@xxxxxxxxxxxxx>
---
docs/formatdomain.html.in                         | 11 ++++++
docs/schemas/domaincommon.rng                     |  8 +++++
src/conf/domain_conf.c                            |  6 +++-
src/conf/domain_conf.h                            |  1 +
src/qemu/qemu_command.c                           |  3 ++
tests/qemuxml2argvdata/channel-debugcon-isa.xml   | 34 +++++++++++++++++++
tests/qemuxml2xmloutdata/channel-debugcon-isa.xml | 41 +++++++++++++++++++++++
tests/qemuxml2xmltest.c                           |  1 +
8 files changed, 104 insertions(+), 1 deletion(-)
create mode 100644 tests/qemuxml2argvdata/channel-debugcon-isa.xml
create mode 100644 tests/qemuxml2xmloutdata/channel-debugcon-isa.xml

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[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