Skip to content

Conversation

@alyssais
Copy link
Member

The assignment of console_resize_pipe in the TTY case seems to have been accidentally deleted. I've put it back, but since this is adding code, I used the new safe API for checking whether a file is a terminal, introduced in Rust 1.70.0. We should probably use that everywhere, but that's out of scope of this bug fix.

Fixes: 52eebaf ("vmm: refactor DeviceManager to use console_info")

The assignment of console_resize_pipe in the TTY case seems to have
been accidentally deleted.  I've put it back, but since this is adding
code, I used the new safe API for checking whether a file is a
terminal, introduced in Rust 1.70.0.  We should probably use that
everywhere, but that's out of scope of this bug fix.

Fixes: 52eebaf ("vmm: refactor DeviceManager to use console_info")
Signed-off-by: Alyssa Ross <[email protected]>
@alyssais alyssais requested a review from a team as a code owner September 25, 2024 16:51
@rbradford rbradford added this pull request to the merge queue Sep 25, 2024
Merged via the queue into cloud-hypervisor:main with commit bc251fd Sep 25, 2024
@alyssais alyssais deleted the tty-resize branch May 10, 2025 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants