virtio: console: Enable call to hvc_remove() on console port remove
authorAmit Shah <amit.shah@redhat.com>
Mon, 14 Mar 2011 12:15:48 +0000 (17:45 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 21 Apr 2011 13:27:00 +0000 (22:57 +0930)
commitafa2689e19073cd2e762d0f2c1358fab1ab9f18c
tree54e454f26327da2063af856bc7863bf7ea8e7b62
parent31a3ddda166cda86d2b5111e09ba4bda5239fae6
virtio: console: Enable call to hvc_remove() on console port remove

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>
drivers/char/virtio_console.c