On September 17, 2025 3:31:57 PM GMT+02:00, "Daniel P. Berrangé" <berra...@redhat.com> wrote: > [...] > > > 2. create a timer polling every eg 100ms to check if the winsize has > > > changed > [...] > > I don't think we want a timer polling for an situation that will very > rarely arise. We already add the 'chardev_resize' QMP command, which is > a good enough way to kick QEMU to re-read the size. So the size provided in the command would be ignored, and QEMU would instead query the pty fd? Note that this would mean there is no size info if the command is not used, because the size will be 0x0 when the pty is created by QEMU (though we could add device parameters for the initial size). Best regards, Filip
- Re: [PATCH v4 00/10] virtio-console: notify ... Michael S. Tsirkin
- Re: [PATCH v4 00/10] virtio-console: notify ... Maximilian Immanuel Brandtner
- Re: [PATCH v4 00/10] virtio-console: no... Daniel P . Berrangé
- [PATCH] char-pty: add support for t... Maximilian Immanuel Brandtner
- [PATCH v2] char-pty: add suppor... Maximilian Immanuel Brandtner
- Re: [PATCH v2] char-pty: ad... Michael S. Tsirkin
- Re: [PATCH v2] char-pty: ad... Filip Hejsek
- Re: [PATCH v2] char-pty: ad... Maximilian Immanuel Brandtner
- Re: [PATCH v2] char-pty: ad... Filip Hejsek
- Re: [PATCH v2] char-pty: ad... Daniel P . Berrangé
- Re: [PATCH v2] char-pty: ad... Filip Hejsek
- Re: [PATCH v2] char-pty: ad... Daniel P . Berrangé
- Re: [PATCH v2] char-pty: ad... Filip Hejsek
- Re: [PATCH v2] char-pty: ad... Daniel P . Berrangé
- Re: [PATCH v2] char-pty: ad... Filip Hejsek
- Re: [PATCH v2] char-pty: ad... Daniel P . Berrangé
- Re: [PATCH v2] char-pty: ad... Maximilian Immanuel Brandtner
- Re: [PATCH v2] char-pty: ad... Daniel P . Berrangé
- Re: [PATCH v2] char-pty: ad... Maximilian Immanuel Brandtner
- Re: [PATCH v2] char-pty: ad... Daniel P . Berrangé
- Re: [PATCH v2] char-pty: ad... Maximilian Immanuel Brandtner