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