Skip to content
Commit 2de16a49 authored by Amit Shah's avatar Amit Shah Committed by Michael S. Tsirkin
Browse files

virtio: console: Check if port is valid in resize_console



The console port could have been hot-unplugged. Check if it is valid
before working on it.

Signed-off-by: default avatarAmit Shah <amit.shah@redhat.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent ec64213c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment