On Fri, 21 Aug 2026 at 11:48, Alexander Mikhalitsyn <[email protected]> wrote: > > From: Alexander Mikhalitsyn <[email protected]> > > Currently, when Incus issues "chardev-change" QMP command to change > chardev backend from ringbuf to socket it receives an error (with aarch64 VM): > "Chardev user does not support chardev hotswap" [1], [2] > > Let's fix this by properly implementing BackendChangeHandler for pl011. > > Please, note that we have to "replay" CHR_IOCTL_SERIAL_SET_BREAK, because > if BRK bit was set before backend change (i.e. (s->lcr & LCR_BRK) is true), > then after change we need to send break to a new backend too. > > Link: > https://discuss.linuxcontainers.org/t/unable-to-connect-to-vm-console-on-arm-architecture/23096/3 > [1] > Link: https://github.com/lxc/distrobuilder/issues/892 [2] > Reported-by: Stéphane Graber <[email protected]> > Reviewed-by: Alex Bennée <[email protected]> > Signed-off-by: Alexander Mikhalitsyn <[email protected]> > ---
Applied to target-arm.next, thanks. -- PMM
