virtio-serial: cleanup: use QOM casts.
commit76017fd2ea9bbd24850deb0bf665ef65c920d7f3
authorKONRAD Frederic <fred.konrad@greensocs.com>
Tue, 9 Apr 2013 12:53:35 +0000 (9 14:53 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 15 Apr 2013 15:22:05 +0000 (15 10:22 -0500)
tree1c87481d28a1e3fb942405d3cd9490eca66ebfb5
parent34b95b2c647e6e66adcf877d06ea8b7911d31e80
virtio-serial: cleanup: use QOM casts.

As the virtio-serial-pci and virtio-serial-s390 are switched to the new
API, we can use QOM casts.

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-7-git-send-email-fred.konrad@greensocs.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/char/virtio-serial-bus.c
include/hw/virtio/virtio-serial.h