Re: [PATCH v2 5/6] virtio-serial-bus: add terminal resize messages

2020-06-24 Thread Michael S. Tsirkin
On Wed, Jun 24, 2020 at 01:26:39PM +0200, Szymon Lukasz wrote: > Implement the part of the virtio spec that allows to notify the virtio > driver about terminal resizes. The virtio spec contains two methods to > achieve that: > > For legacy drivers, we have only one port and we put the terminal

[PATCH v2 5/6] virtio-serial-bus: add terminal resize messages

2020-06-24 Thread Szymon Lukasz
Implement the part of the virtio spec that allows to notify the virtio driver about terminal resizes. The virtio spec contains two methods to achieve that: For legacy drivers, we have only one port and we put the terminal size in the config space and inject the config changed interrupt. For