virtio: console: Enable call to hvc_remove() on console port remove
commit960b9affa8645e9cfe669295f05a8cd9b8fe77a0
authorAmit Shah <amit.shah@redhat.com>
Mon, 14 Mar 2011 12:15:48 +0000 (14 17:45 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 May 2011 16:19:44 +0000 (2 09:19 -0700)
treec558e9950ef4a6f1fed40d5f71e72820af6ee80f
parent725bb43507cf71e2f48ec929403abe60c35254e8
virtio: console: Enable call to hvc_remove() on console port remove

commit afa2689e19073cd2e762d0f2c1358fab1ab9f18c upstream.

This call was disabled as hot-unplugging one virtconsole port led to
another virtconsole port freezing.

Upon testing it again, this now works, so enable it.

In addition, a bug was found in qemu wherein removing a port of one type
caused the guest output from another port to stop working.  I doubt it
was just this bug that caused it (since disabling the hvc_remove() call
did allow other ports to continue working), but since it's all solved
now, we're fine with hot-unplugging of virtconsole ports.

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