Re: [Qemu-devel] [patch qemu] net: move queue number into NICPeers

2014-06-27 Thread Stefan Hajnoczi
On Mon, May 26, 2014 at 12:04:08PM +0200, Jiri Pirko wrote: > It indicates the number of elements in ncs field and makes sense to have > int inside NICPeers. Also in parse_netdev we do not need to access > container and work with NICPeers only. > > Signed-off-by: Jiri Pirko > --- > hw/core/qdev-

Re: [Qemu-devel] [patch qemu] net: move queue number into NICPeers

2014-05-26 Thread Michael S. Tsirkin
On Mon, May 26, 2014 at 12:04:08PM +0200, Jiri Pirko wrote: > It indicates the number of elements in ncs field and makes sense to have > int inside NICPeers. Also in parse_netdev we do not need to access > container and work with NICPeers only. > > Signed-off-by: Jiri Pirko Reviewed-by: Michael

Re: [Qemu-devel] [patch qemu] net: move queue number into NICPeers

2014-05-26 Thread Andreas Färber
Am 26.05.2014 12:04, schrieb Jiri Pirko: > It indicates the number of elements in ncs field and makes sense to have > int inside NICPeers. Also in parse_netdev we do not need to access > container and work with NICPeers only. > > Signed-off-by: Jiri Pirko > --- > hw/core/qdev-properties-system.c

[Qemu-devel] [patch qemu] net: move queue number into NICPeers

2014-05-26 Thread Jiri Pirko
It indicates the number of elements in ncs field and makes sense to have int inside NICPeers. Also in parse_netdev we do not need to access container and work with NICPeers only. Signed-off-by: Jiri Pirko --- hw/core/qdev-properties-system.c | 3 +-- hw/net/virtio-net.c | 2 +- incl