Re: [Qemu-devel] [PATCH v2 04/49] net: remove NetLegacy struct

2015-09-04 Thread Eric Blake
On 08/21/2015 09:37 AM, Kővágó, Zoltán wrote: > NetLegacy is just Netdev with some extra fields (name, vlan) and an > optional id. This patch merges the two structs, and net_client_init1 > got some extra checks to make sure only accept valid -netdev command > lines. This is some extra work, but a

[Qemu-devel] [PATCH v2 04/49] net: remove NetLegacy struct

2015-08-21 Thread Kővágó, Zoltán
NetLegacy is just Netdev with some extra fields (name, vlan) and an optional id. This patch merges the two structs, and net_client_init1 got some extra checks to make sure only accept valid -netdev command lines. This is some extra work, but allows us to uniformly manage both legacy -net and non-