]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: add VIR_DOMAIN_CHR_SERIAL_TARGET_TYPE_SCLP
authorPino Toscano <ptoscano@redhat.com>
Tue, 14 Nov 2017 15:27:04 +0000 (16:27 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 28 Nov 2017 14:46:34 +0000 (15:46 +0100)
commit21332bf6587c23409fecb06ab81dbc14dd52c10b
treeeb01284d17cfa53ceb5f61504d23149ca617abc4
parenteccdcb81fcfd1641960d397c82986b4517841794
conf: add VIR_DOMAIN_CHR_SERIAL_TARGET_TYPE_SCLP

Introduce specific a target types with two models for the console
devices (sclp and sclplm) used in s390 and s390x guests, so isa-serial
is no more used for them.

This makes <serial> usable on s390 and s390x guests, with at most only
a single sclpconsole and one sclplmconsole devices usable in a single
guest (due to limitations in QEMU, which will enforce already at
runtime).

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1449265

Signed-off-by: Pino Toscano <ptoscano@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
18 files changed:
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_command.c
src/qemu/qemu_domain.c
src/qemu/qemu_domain_address.c
tests/qemuxml2argvdata/qemuxml2argv-s390-serial-2.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-s390-serial-2.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-s390-serial-console.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-s390-serial-console.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-s390-serial.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-s390-serial.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/qemuxml2xmlout-s390-serial-2.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/qemuxml2xmlout-s390-serial-console.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/qemuxml2xmlout-s390-serial.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c