virtio: console: Check if port is valid in resize_console
authorAmit Shah <amit.shah@redhat.com>
Fri, 19 Mar 2010 12:06:44 +0000 (17:36 +0530)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 22 Mar 2010 12:24:55 +0000 (14:24 +0200)
The console port could have been hot-unplugged. Check if it is valid
before working on it.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

No differences found