[Devel] [PATCH hci-8.1 0/2] ve/vtty: wait for a closing CT tty in the kernel, drop the EAGAIN return

Konstantin Khorenko khorenko at virtuozzo.com
Tue Nov 3 18:54:58 MSK 2026


On Mon, 02 Nov 2026 18:15:02 +0100, Denis V. Lunev wrote:
> ve/vtty: wait for a closing CT tty in the kernel, drop the EAGAIN return
> 
> Konstantin pointed out that the applied "ve/vtty: fix console attach
> failing with EBUSY while the CT closes the tty" fixes the race only
> for a vzctl which retries on EAGAIN, and every vzctl in the field
> does not. Following his suggestion, this series replaces it with a
> wait inside vtty_open_master(), as tty_open() does since
> 7f22f6c935cd. Patch 1 reverts the EAGAIN return, patch 2 waits for
> the closing pair. The vzctl change "vzctl console: retry opening a
> CT tty the CT is still closing" is no longer needed.
> 
> [...]

Applied to branch-rh10-6.12.0-211.52.1.22.x.vz10-ovz, will be released in rh10-6.12.0-211.52.1.22.17.vz10, thanks!

[1/2] Revert "ve/vtty: fix console attach failing with EBUSY while the CT closes the tty"
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/a47aff57a16b
[2/2] ve/vtty: wait for a closing CT tty instead of failing the console attach
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/7377f791d287

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team




More information about the Devel mailing list