virtio-serial-pci: switch to the new API.
commitf7f7464afdb9f6f792de080ca4b3c520168513ad
authorKONRAD Frederic <fred.konrad@greensocs.com>
Tue, 9 Apr 2013 12:53:31 +0000 (9 14:53 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 15 Apr 2013 15:22:04 +0000 (15 10:22 -0500)
tree7d452543edadfc88849649fff5a945ee86c519e5
parent2cd2b016a145c57204ab629d2876b7e0a931ab12
virtio-serial-pci: switch to the new API.

Here the virtio-serial-pci is modified for the new API. The device
virtio-serial-pci extends virtio-pci. It creates and connects a
virtio-serial during the init. The properties are not changed.

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