[Qemu-devel] [PATCH v9 3/3] virtio-console: Add a new virtserialport device for generic serial port support

2009-10-20 Thread Amit Shah
This patch adds generic serial ports over the virtio serial bus. These ports have a few more options that are not relevant for virtio console ports: the ability to cache buffers that are received for a port while it's disconnected, setting of limits to the bytes that are cached so as to prevent

Re: [Qemu-devel] [PATCH v9 3/3] virtio-console: Add a new virtserialport device for generic serial port support

2009-10-20 Thread Amit Shah
On (Tue) Oct 20 2009 [10:51:30], Gerd Hoffmann wrote: @@ -107,3 +107,41 @@ static void virtcon_register(void) virtio_serial_port_qdev_register(virtcon_info); } device_init(virtcon_register) +static VirtIOSerialPortInfo virtserial_port_info = { +.qdev.name = virtserialport,

Re: [Qemu-devel] [PATCH v9 3/3] virtio-console: Add a new virtserialport device for generic serial port support

2009-10-20 Thread Gerd Hoffmann
On 10/20/09 11:48, Amit Shah wrote: On (Tue) Oct 20 2009 [10:51:30], Gerd Hoffmann wrote: @@ -107,3 +107,41 @@ static void virtcon_register(void) virtio_serial_port_qdev_register(virtcon_info); } device_init(virtcon_register) +static VirtIOSerialPortInfo virtserial_port_info = {

Re: [Qemu-devel] [PATCH v9 3/3] virtio-console: Add a new virtserialport device for generic serial port support

2009-10-20 Thread Amit Shah
On (Tue) Oct 20 2009 [16:02:16], Gerd Hoffmann wrote: On 10/20/09 11:48, Amit Shah wrote: On (Tue) Oct 20 2009 [10:51:30], Gerd Hoffmann wrote: @@ -107,3 +107,41 @@ static void virtcon_register(void) virtio_serial_port_qdev_register(virtcon_info); } device_init(virtcon_register)