[libvirt] [PATCH 1/2] conf: add debugcon-isa chardev guest interface
Ján Tomko
jtomko at redhat.com
Fri Jan 25 13:37:59 UTC 2019
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 at virtuozzo.com>
>---
> 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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190125/b3173922/attachment-0001.sig>
More information about the libvir-list
mailing list