From: Amit Shah Date: Thu, 20 May 2010 04:15:47 +0000 (-0600) Subject: virtio: console: Don't call hvc_remove() on unplugging console ports X-Git-Tag: v2.6.35-rc1~435^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69eb9a9f69572c0ebe08a0a46f56bdfdcdaa19a0;p=pandora-kernel.git virtio: console: Don't call hvc_remove() on unplugging console ports hvc_remove() has some bug which freezes other active hvc ports when one port is removed. So disable calling of hvc_remove() which deregisters a port with the hvc_console. If the hvc_console code calls into our get_chars() routine as a result of a poll operation, we will return -EPIPE and the hvc_console code will then do the necessary cleanup. This call will be restored when the bug in hvc_remove() is found and fixed. Signed-off-by: Amit Shah Signed-off-by: Rusty Russell --- Reading git-diff-tree failed