Skip to content

s390x/sclpconsole: implement resizing for vt220 consoles

Maximilian Immanuel Brandtner qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 4 repliesIn review
  2. v21 patch 3 repliesSuperseded
  3. v11 patch 3 repliesSuperseded

Changes in v3 from the cover letter

- split console_reset indentation fix into its own patch

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2s390x/sclpconsole: fix indentation for console_resethw/char/sclpconsole.c+9 -92 replies
2/2s390x/sclpconsole: implement resizing for vt220 consoleshw/char/sclpconsole.c+72 -41 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJason J. HerneMatthew RosatoEric Farman
1/2R-b
2/2R-b R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/2] s390x/sclpconsole: implement resizing for vt220 consoles

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(-)
Signature · 1 line
2.54.0