On 9/29/26 11:20 AM, Maximilian Immanuel Brandtner wrote:
> This patch-set implements resize event handling for the vt220 console.
> Add a tty code to indicate a resize frame. The body contains two big
> endian 16-bit integers rows and columns.
> ---
> Changelog:
> v3:
> - split console_reset indentation fix into its own patch
>
> v2:
> - Use packed struct and named event type codes for resize frames
> - Trigger initial resize event in console_reset() instead of
> console_init(), skip when chardev reports no size
> - Reset event_pending after resize event
>
> Requires the following pre-req:
> [PATCH v7 00/12] virtio-console: notify about the terminal size
> (https://lore.kernel.org/qemu-devel/20260609-console-resize-v7-0-0c550fdcec15@gmail.com/)
>
> Testing:
> - Tested on QEMU: commit 38879a667f with the following patches applied:
> [PATCH v7 00/12] virtio-console: notify about the terminal size
> - Tested on linux-next (commit c1f49dea2b8f) with the following patches
> applied:
> [PATCH 0/2] s390/sclp: Resize for sclp-vt220 console
>
> Maximilian Immanuel Brandtner (2):
> s390x/sclpconsole: fix indentation for console_reset
> s390x/sclpconsole: implement resizing for vt220 consoles
>
> hw/char/sclpconsole.c | 92 +++++++++++++++++++++++++++++++++++++------
> 1 file changed, 80 insertions(+), 12 deletions(-)
>
TLDR: Applied to my 11.2 queue; thanks!
The prereq series went through a few additional versions, ending in v10
[0] which was recently merged [1]. I previously picked up patch 1 of
this series [2], and see no concerns with "the meat" of this series.
[0]
https://lore.kernel.org/qemu-devel/20261012-console-resize-v10-0-2c3b10d829b3@gmail.com/
[1]
https://lore.kernel.org/qemu-devel/20261013-ui-v1-0-92da3082ad96@redhat.com/
[2]
https://lore.kernel.org/qemu-devel/20260930152420.1956230-1-farman@linux.ibm.com/