virtio: console: ensure console size is updated on hvc open
authorAmit Shah <amit.shah@redhat.com>
Mon, 18 Jan 2010 13:45:08 +0000 (19:15 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Feb 2010 03:52:45 +0000 (14:22 +1030)
commitcb06e3676b22013e9b759627e41656ddb07dee6d
tree009a15cbc5d0efd3cf222b262c9084d0e7fffe9c
parent1c85bf35449196e74deb487961d2f90c98f7b7ff
virtio: console: ensure console size is updated on hvc open

When multiple console support is added, ensure each port's size gets
updated when a new one is opened via hvc.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/char/virtio_console.c