[PATCH] vhost-net: add module alias

2012-01-10 Thread Stephen Hemminger
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 sty

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

2012-01-10 Thread Michael Tokarev
On 11.01.2012 08:54, Stephen Hemminger wrote: > 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

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

2012-01-11 Thread Stephen Hemminger
On Wed, 11 Jan 2012 15:43:42 +0800 Amos Kong wrote: > On Wed, Jan 11, 2012 at 12:54 PM, Stephen Hemminger > wrote: > > > 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

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

2012-01-11 Thread Stephen Hemminger
On Wed, 11 Jan 2012 11:07:47 +0400 Michael Tokarev wrote: > On 11.01.2012 08:54, Stephen Hemminger wrote: > > 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

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

2012-01-11 Thread Michael Tokarev
On 11.01.2012 20:58, Stephen Hemminger wrote: > On Wed, 11 Jan 2012 11:07:47 +0400 > Michael Tokarev wrote: > >> On 11.01.2012 08:54, Stephen Hemminger wrote: >>> By adding the a module alias, programs (or users) won't have to explicitly >>> call modprobe. Vhost-net will always be available if bu

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

2012-01-11 Thread Kay Sievers
On Wed, Jan 11, 2012 at 17:58, Stephen Hemminger wrote: > On Wed, 11 Jan 2012 11:07:47 +0400 > Michael Tokarev wrote: > >> On 11.01.2012 08:54, Stephen Hemminger wrote: >> > By adding the a module alias, programs (or users) won't have to explicitly >> > call modprobe. Vhost-net will always be ava

[PATCH] vhost-net: add module alias (v2)

2012-01-11 Thread Stephen Hemminger
By adding the correct module alias, programs 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 in

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

2012-01-11 Thread Michael S. Tsirkin
On Wed, Jan 11, 2012 at 08:54:26AM -0800, Stephen Hemminger wrote: > On Wed, 11 Jan 2012 15:43:42 +0800 > Amos Kong wrote: > > > On Wed, Jan 11, 2012 at 12:54 PM, Stephen Hemminger > > wrote: > > > > > By adding the a module alias, programs (or users) won't have to explicitly > > > call modprobe

[PATCH] vhost-net: add module alias (v2.1)

2012-01-11 Thread Stephen Hemminger
Subject: vhost-net: add module alias (v2.1) By adding some module aliases, 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. Also: - use C99 style initia

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

2012-01-16 Thread Avi Kivity
On 01/11/2012 06:54 AM, Stephen Hemminger wrote: > 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 T

Re: [PATCH] vhost-net: add module alias (v2)

2012-01-11 Thread Michael S. Tsirkin
On Wed, Jan 11, 2012 at 09:16:53AM -0800, Stephen Hemminger wrote: > By adding the correct module alias, programs 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

Re: [PATCH] vhost-net: add module alias (v2)

2012-01-11 Thread Ben Hutchings
On Wed, 2012-01-11 at 09:16 -0800, Stephen Hemminger wrote: > By adding the correct module alias, programs 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 nex

Re: [PATCH] vhost-net: add module alias (v2)

2012-01-11 Thread Zhi Yong Wu
On Thu, Jan 12, 2012 at 1:16 AM, Stephen Hemminger wrote: > By adding the correct module alias, programs 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

Re: [PATCH] vhost-net: add module alias (v2)

2012-01-12 Thread Thadeu Lima de Souza Cascardo
On Wed, Jan 11, 2012 at 09:16:53AM -0800, Stephen Hemminger wrote: > By adding the correct module alias, programs 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

Re: [PATCH] vhost-net: add module alias (v2.1)

2012-01-12 Thread David Miller
From: Stephen Hemminger Date: Wed, 11 Jan 2012 21:30:38 -0800 > Subject: vhost-net: add module alias (v2.1) > > By adding some module aliases, 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

Re: [PATCH] vhost-net: add module alias (v2.1)

2012-01-12 Thread Kay Sievers
On Fri, Jan 13, 2012 at 05:07, David Miller wrote: > From: Stephen Hemminger > Date: Wed, 11 Jan 2012 21:30:38 -0800 > >> Subject: vhost-net: add module alias (v2.1) >> >> By adding some module aliases, programs (or users) won't have to explicitly >> call modprobe. Vhost-net will always be availa

Re: [PATCH] vhost-net: add module alias (v2.1)

2012-01-13 Thread David Miller
From: Kay Sievers Date: Fri, 13 Jan 2012 05:19:05 +0100 > On Fri, Jan 13, 2012 at 05:07, David Miller wrote: >> From: Stephen Hemminger >> Date: Wed, 11 Jan 2012 21:30:38 -0800 >> >>> Subject: vhost-net: add module alias (v2.1) >>> >>> By adding some module aliases, programs (or users) won't ha

Re: [PATCH] vhost-net: add module alias (v2.1)

2012-01-15 Thread Michael S. Tsirkin
On Thu, Jan 12, 2012 at 08:07:01PM -0800, David Miller wrote: > From: Stephen Hemminger > Date: Wed, 11 Jan 2012 21:30:38 -0800 > > > Subject: vhost-net: add module alias (v2.1) > > > > By adding some module aliases, programs (or users) won't have to explicitly > > call modprobe. Vhost-net will

Re: [PATCH] vhost-net: add module alias (v2.1)

2012-01-16 Thread Alan Cox
> > ACKs, NACKs? What is happening here? > > I would like an Ack from Alan Cox who switched vhost-net > to a dynamic minor in the first place, in commit > 79907d89c397b8bc2e05b347ec94e928ea919d33. Sorry dev...@lanana.org isn't yet back from the kernel hack incident. I don't read netdev so someo

Re: [PATCH] vhost-net: add module alias (v2.1)

2012-01-16 Thread Stephen Hemminger
On Mon, 16 Jan 2012 12:26:45 + Alan Cox wrote: > > > ACKs, NACKs? What is happening here? > > > > I would like an Ack from Alan Cox who switched vhost-net > > to a dynamic minor in the first place, in commit > > 79907d89c397b8bc2e05b347ec94e928ea919d33. > > Sorry dev...@lanana.org isn't ye

Re: [PATCH] vhost-net: add module alias (v2.1)

2012-01-16 Thread David Miller
From: Stephen Hemminger Date: Mon, 16 Jan 2012 07:52:36 -0800 > On Mon, 16 Jan 2012 12:26:45 + > Alan Cox wrote: > >> > > ACKs, NACKs? What is happening here? >> > >> > I would like an Ack from Alan Cox who switched vhost-net >> > to a dynamic minor in the first place, in commit >> > 7990

Re: [PATCH] vhost-net: add module alias (v2.1)

2012-01-16 Thread Alan Cox
> Also: > - use C99 style initialization. > - add missing entry in documentation for loop-control > > Signed-off-by: Stephen Hemminger For the device allocation Acked-by: Alan Cox -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.k