]> git.proxmox.com Git - qemu.git/commit - hw/char/virtio-serial-bus.c
virtio-serial: kill VirtIOSerialDevice
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 24 Feb 2011 05:44:12 +0000 (11:14 +0530)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 24 Feb 2011 17:25:38 +0000 (11:25 -0600)
commita43f9c90c9129d1f28e473277abf793d0caed897
treedf9fe4f975576a724b813437644061dfbe88a237
parent61a11c98b77bb27dda7b2fb7004371bf0437ae5d
virtio-serial: kill VirtIOSerialDevice

VirtIOSerialDevice is like VirtIOSerialPort with just the first two
fields, which makes it pretty pointless.  Using VirtIOSerialPort
directly works equally well and is less confusing.

[Amit: - rebase
       - rename 'dev' to 'port' in function params in virtio-serial.h ]

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-console.c
hw/virtio-serial-bus.c
hw/virtio-serial.h