virtio: console: Add a __send_control_msg() that can send messages without a valid...
authorAmit Shah <amit.shah@redhat.com>
Thu, 20 May 2010 04:15:46 +0000 (22:15 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 19 May 2010 12:45:46 +0000 (22:15 +0930)
commit3425e706bf6faa2965c4e99f39085f7367a8f4e2
tree5c7dbbb262edcaff27ae8bbe299b538bf1dad36f
parentb99fa815d71023b2e330d63cd7f47d6247ffa321
virtio: console: Add a __send_control_msg() that can send messages without a valid port

We will introduce control messages that operate on the device as a whole
rather than just ports. Make send_control_msg() a wrapper around
__send_control_msg() which does not need a valid port.

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