cloud-hypervisor/vmm
Rob Bradford 0f54fb1f5f vmm: Don't assume that resize_pipe is initialised
If the underlying kernel is old PTY resize is disabled and this is
represented by the use of None in the provided Option<File> type. In the
virtio-console PTY path don't blindly unwrap() the value that will be
preserved across a reboot.

Fixes: #3496

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
(cherry picked from commit a749063c8a)
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2022-01-04 17:34:55 +00:00
..
src vmm: Don't assume that resize_pipe is initialised 2022-01-04 17:34:55 +00:00
Cargo.toml build: bump clap from 2.33.3 to 2.34.0 2021-12-01 01:50:01 +00:00