virtio: console: We support only one device at a time
authorAmit Shah <amit.shah@redhat.com>
Mon, 18 Jan 2010 13:44:59 +0000 (19:14 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Feb 2010 03:52:33 +0000 (14:22 +1030)
commitf550804ab92e37a08d2622522a0f11252a2158ea
tree4c4e08f1dbfac94c6368d2812bcd3f374773abec
parent1dff399616a79b8ef5d61ad68f2ef1e1f590b465
virtio: console: We support only one device at a time

We support only one virtio_console device at a time. If multiple are
found, error out if one is already initialized.

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