[libvirt] [PATCH 3/4] virsh: Deal with multiple matching devices in domif-getlink

John Ferlan jferlan at redhat.com
Fri Oct 13 17:46:05 UTC 2017



On 10/05/2017 10:18 AM, Michal Privoznik wrote:
> The command tries to match interface in domain definition by MAC
> address or interface name. However, since it's possible to
> configure two interfaces with the same MAC address, it may
> happen that the XPath returns two or more nodes. We should check
> for that.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  tools/virsh-domain-monitor.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 

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

John




More information about the libvir-list mailing list