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/[email protected]/)
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/[email protected]/
[1]
https://lore.kernel.org/qemu-devel/[email protected]/
[2]
https://lore.kernel.org/qemu-devel/[email protected]/