Re: [Qemu-devel] [PATCH] net: Fix VM start with '-net none'

2010-06-30 Thread Aurelien Jarno
On Tue, Jun 15, 2010 at 01:30:39PM +0530, Amit Shah wrote: > Commit 50e32ea8f31035877decc10f1075aa0e619e09cb changed the behaviour > for the return type of net_client_init() when a nic type with no init > method was specified. 'none' is one such nic type. Instead of returning > 0, which gets interp

Re: [Qemu-devel] [PATCH] net: Fix VM start with '-net none'

2010-06-24 Thread Stefan Hajnoczi
On Tue, Jun 15, 2010 at 9:00 AM, Amit Shah wrote: > Commit 50e32ea8f31035877decc10f1075aa0e619e09cb changed the behaviour > for the return type of net_client_init() when a nic type with no init > method was specified. 'none' is one such nic type. Instead of returning > 0, which gets interpreted as

[Qemu-devel] [PATCH] net: Fix VM start with '-net none'

2010-06-15 Thread Amit Shah
Commit 50e32ea8f31035877decc10f1075aa0e619e09cb changed the behaviour for the return type of net_client_init() when a nic type with no init method was specified. 'none' is one such nic type. Instead of returning 0, which gets interpreted as an index into the nd_table[] array, we switched to returni