Re: [libvirt] [PATCH] virDomainInterfaceStats: Accept MAC addresses properly

2017-10-13 Thread Michal Privoznik
On 10/13/2017 05:44 PM, John Ferlan wrote: > > > On 10/13/2017 07:32 PM, Michal Privoznik wrote: >> https://bugzilla.redhat.com/show_bug.cgi?id=1497396 >> >> In 0d3d020ba6c4f I've added capability to accept MAC addresses >> for the API too. However, the implementation was faulty. It needs >> to l

Re: [libvirt] [PATCH] virDomainInterfaceStats: Accept MAC addresses properly

2017-10-13 Thread John Ferlan
On 10/13/2017 07:32 PM, Michal Privoznik wrote: > https://bugzilla.redhat.com/show_bug.cgi?id=1497396 > > In 0d3d020ba6c4f I've added capability to accept MAC addresses > for the API too. However, the implementation was faulty. It needs > to lookup the corresponding interface in the domain defin

[libvirt] [PATCH] virDomainInterfaceStats: Accept MAC addresses properly

2017-10-13 Thread Michal Privoznik
https://bugzilla.redhat.com/show_bug.cgi?id=1497396 In 0d3d020ba6c4f I've added capability to accept MAC addresses for the API too. However, the implementation was faulty. It needs to lookup the corresponding interface in the domain definition and pass the ifname instead of MAC address. Signed-of