
On 14.02.2019 14:32, Ján Tomko wrote:
From: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
This interface can be used for example by firmware to print debug messages. Here is domain xml example:
<serial type='pty'> <target type='isa-serial' port='0'> <model name='debugcon'/> </target> <address type='isa' iobase='0x402'/> </serial>
Add checks to make sure this new serial type won't be reported as back-compat console.
Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com> Signed-off-by: Ján Tomko <jtomko@redhat.com> --- docs/formatdomain.html.in | 3 +- docs/schemas/domaincommon.rng | 1 + src/conf/domain_conf.c | 5 ++++ src/conf/domain_conf.h | 1 + src/qemu/qemu_command.c | 3 ++ src/qemu/qemu_domain.c | 3 ++ .../qemuxml2argvdata/isa-serial-debugcon.xml | 22 ++++++++++++++ .../isa-serial-debugcon.xml | 30 +++++++++++++++++++ tests/qemuxml2xmltest.c | 2 ++ 9 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 tests/qemuxml2argvdata/isa-serial-debugcon.xml create mode 100644 tests/qemuxml2xmloutdata/isa-serial-debugcon.xml
And here is missing in previous reply: Reviewed-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>