virtio-serial: Use a struct to pass config information from proxy
authorAmit Shah <amit.shah@redhat.com>
Thu, 3 Feb 2011 05:52:32 +0000 (11:22 +0530)
committerAmit Shah <amit.shah@redhat.com>
Mon, 21 Mar 2011 11:25:11 +0000 (16:55 +0530)
commitf69fa2054d8bec87f9ccddfc1b721dadaadbb1ca
treeb029146a089ffdd7cb5c8241dd592172c4ce4354
parenta5e7dd5904492f4faa4195024fc5b9cbad483926
virtio-serial: Use a struct to pass config information from proxy

Instead of using a single variable to pass to the virtio_serial_init
function, use a struct so that expanding the number of variables to be
passed on later is easier.

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