virtio-serial: move active ports loading to separate function
commit2e575a86abc36764ef34030f423ef118914a01cc
authorAmit Shah <amit.shah@redhat.com>
Thu, 29 Nov 2012 11:32:14 +0000 (29 17:02 +0530)
committerAmit Shah <amit.shah@redhat.com>
Thu, 13 Dec 2012 10:31:26 +0000 (13 16:01 +0530)
tree6d7e4bbf1b9e8883bf0c29731bb851d67ff0cadc
parentc3587ca1a25862628e06cc019f91e7b2dcef40bf
virtio-serial: move active ports loading to separate function

The virtio_serial_load() function became too big, split the code that
gets the port info from the source into a separate function.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
hw/virtio-serial-bus.c