mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 02:54:58 -06:00
virtio-serial: add the virtio-serial device.
Create virtio-serial which extends virtio-device, so it can be connected on virtio-bus. Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Tested-by: Cornelia Huck <cornelia.huck@de.ibm.com> Acked-by: Amit Shah <amit.shah@redhat.com> Message-id: 1365512016-21944-2-git-send-email-fred.konrad@greensocs.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
f574fa8b07
commit
2cd2b016a1
5 changed files with 100 additions and 12 deletions
|
@ -465,8 +465,7 @@ static const TypeInfo s390_virtio_blk = {
|
|||
};
|
||||
|
||||
static Property s390_virtio_serial_properties[] = {
|
||||
DEFINE_PROP_UINT32("max_ports", VirtIOS390Device,
|
||||
serial.max_virtserial_ports, 31),
|
||||
DEFINE_VIRTIO_SERIAL_PROPERTIES(VirtIOS390Device, serial),
|
||||
DEFINE_PROP_END_OF_LIST(),
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue