Re: [Qemu-devel] [PATCH 3/7] net: remove NetLegacy struct

2015-09-15 Thread Eric Blake
On 09/07/2015 06:08 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 3/7] net: remove NetLegacy struct

2015-09-07 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-