mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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>
This commit is contained in:
committed by
Andrea Bolognani
parent
eccdcb81fc
commit
21332bf658
@@ -6547,8 +6547,9 @@ qemu-kvm -net nic,model=? /dev/null
|
||||
with x86 guests), <code>usb-serial</code> (usable whenever USB support
|
||||
is available) and <code>pci-serial</code> (usable whenever PCI support
|
||||
is available); <span class="since">since 3.10.0</span>,
|
||||
<code>spapr-vio-serial</code> (usable with ppc64/pseries guests) and
|
||||
<code>system-serial</code> (usable with aarch64/virt guests) are
|
||||
<code>spapr-vio-serial</code> (usable with ppc64/pseries guests),
|
||||
<code>system-serial</code> (usable with aarch64/virt guests) and
|
||||
<code>sclp-serial</code> (usable with s390 and s390x guests) are
|
||||
available as well.
|
||||
</p>
|
||||
|
||||
@@ -6562,7 +6563,9 @@ qemu-kvm -net nic,model=? /dev/null
|
||||
(usable with the <code>pci-serial</code> target type);
|
||||
<code>spapr-vty</code> (usable with the <code>spapr-vio-serial</code>
|
||||
target type); <code>pl011</code> (usable with the
|
||||
<code>system-serial</code> target type).
|
||||
<code>system-serial</code> target type); <code>sclpconsole</code> and
|
||||
<code>sclplmconsole</code> (usable with the <code>sclp-serial</code>
|
||||
target type).
|
||||
</p>
|
||||
|
||||
<p>
|
||||
@@ -6577,7 +6580,8 @@ qemu-kvm -net nic,model=? /dev/null
|
||||
<code>isa-serial</code>), <code>usb</code> (for <code>usb-serial</code>),
|
||||
<code>pci</code> (for <code>pci-serial</code>) and <code>spapr-vio</code>
|
||||
(for <code>spapr-vio-serial</code>). The <code>system-serial</code>
|
||||
target type doesn't support specifying an address.
|
||||
and <code>sclp-serial</code> target types don't support specifying an
|
||||
address.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
@@ -6625,8 +6629,11 @@ qemu-kvm -net nic,model=? /dev/null
|
||||
<code>virtio</code> (usable whenever VirtIO support is available);
|
||||
<code>xen</code>, <code>lxc</code>, <code>uml</code> and
|
||||
<code>openvz</code> (available when the corresponding hypervisor is in
|
||||
use); <code>sclp</code> and <code>sclplm</code> (usable for s390 and
|
||||
s390x QEMU guests).
|
||||
use). <code>sclp</code> and <code>sclplm</code> (usable for s390 and
|
||||
s390x QEMU guests) are supported for compatibility reasons but should
|
||||
not be used for new guests: use the <code>sclpconsole</code> and
|
||||
<code>sclplmconsole</code> target models, respectively, with the
|
||||
<code>serial</code> element instead.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user