mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-21 19:02:30 +00:00
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>