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

John Ferlan jferlan at redhat.com
Sat Oct 14 00:44:21 UTC 2017



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 definition
> and pass the ifname instead of MAC address.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/libxl/libxl_driver.c   | 2 +-
>  src/lxc/lxc_driver.c       | 2 +-
>  src/openvz/openvz_driver.c | 2 +-
>  src/qemu/qemu_driver.c     | 4 ++--
>  4 files changed, 5 insertions(+), 5 deletions(-)
> 

face-palm - so much for my assumptions

Reviewed-by: John Ferlan <jferlan at redhat.com>

John




More information about the libvir-list mailing list