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

Reply via email to