Thread (1 message) 1 message, 1 author, 2012-01-11

Re: [PATCH] vhost-net: add module alias

From: "Michael S. Tsirkin" <mst@redhat.com>
Date: 2012-01-11 18:15:31
Also in: kvm, netdev

On Wed, Jan 11, 2012 at 08:54:26AM -0800, Stephen Hemminger wrote:
On Wed, 11 Jan 2012 15:43:42 +0800
Amos Kong [off-list ref] wrote:
quoted
On Wed, Jan 11, 2012 at 12:54 PM, Stephen Hemminger
[off-list ref]wrote:
quoted
By adding the a module alias, programs (or users) won't have to explicitly
call modprobe. Vhost-net will always be available if built into the kernel.
It does require assigning a permanent minor number for depmod to work.
Choose one next to TUN since this driver is related to it.

Also, use C99 style initialization.

Signed-off-by: Stephen Hemminger <redacted>

---
 drivers/vhost/net.c        |    8 +++++---
 include/linux/miscdevice.h |    1 +
 2 files changed, 6 insertions(+), 3 deletions(-)
:
quoted
/*
 *      These allocations are managed by device@lanana.org. If you use an
 *      entry that is not in assigned your entry may well be moved and
 *      reassigned, or set dynamic if a fixed value is not justified.
 */
Didn't that mailing address was ever used any more. Like many places
in kernel, the comment looked like a historical leftover.
This was only added in 2010, see
79907d89c397b8bc2e05b347ec94e928ea919d33.
That said at least lanana.org web site seems to be down.

Alan, any idea?

-- 
MST
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help