virtio: console: Reset vdev before removing device
authorAmit Shah <amit.shah@redhat.com>
Thu, 2 Sep 2010 12:41:40 +0000 (18:11 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 21 Oct 2010 07:13:58 +0000 (17:43 +1030)
commit02238959944ce031f066f21e541a14933aca6575
tree1b7a8e42cd02b86b350218e877d9c9185fdd8d79
parentf6f94e2ab1b33f0082ac22d71f66385a60d8157f
virtio: console: Reset vdev before removing device

The virtqueues should be disabled before attempting to remove the
device.

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