Revision 6b331efb hw/virtio.h

b/hw/virtio.h
195 195
struct virtio_net_conf;
196 196
VirtIODevice *virtio_net_init(DeviceState *dev, NICConf *conf,
197 197
                              struct virtio_net_conf *net);
198
VirtIODevice *virtio_serial_init(DeviceState *dev, uint32_t max_nr_ports);
198
typedef struct virtio_serial_conf virtio_serial_conf;
199
VirtIODevice *virtio_serial_init(DeviceState *dev, virtio_serial_conf *serial);
199 200
VirtIODevice *virtio_balloon_init(DeviceState *dev);
200 201
#ifdef CONFIG_LINUX
201 202
VirtIODevice *virtio_9p_init(DeviceState *dev, V9fsConf *conf);

Also available in: Unified diff