virtio-serial-bus: fix ports_map allocation on init
authorAlon Levy <alevy@redhat.com>
Wed, 19 May 2010 09:31:38 +0000 (15:01 +0530)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 1 Jun 2010 17:53:09 +0000 (12:53 -0500)
commit161c90057562b8842093046317b155f96e4b98b0
treebf7e691414fcd5f2bf044262c4fc7ee954ef8d4e
parent9179e5e0ec6f8705fc9a17b049dedcd787189a0d
virtio-serial-bus: fix ports_map allocation on init

Fix for too small allocation to ports_map

Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-serial-bus.c