https://bugzilla.redhat.com/show_bug.cgi?id=1630164

The domiflist command is designed to show a brief information on
domain interfaces. One piece of information that is shows is
"Source" - source network, device, name, bridge. However, it's
ignoring vhostuser for which we can show the unix socket it's
associated with.

Signed-off-by: Michal Privoznik <mpriv...@redhat.com>
---
 tools/virsh-domain-monitor.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/virsh-domain-monitor.c b/tools/virsh-domain-monitor.c
index 8962586d76..35c2216137 100644
--- a/tools/virsh-domain-monitor.c
+++ b/tools/virsh-domain-monitor.c
@@ -715,7 +715,8 @@ cmdDomiflist(vshControl *ctl, const vshCmd *cmd)
         source = virXPathString("string(./source/@bridge"
                                 "|./source/@dev"
                                 "|./source/@network"
-                                "|./source/@name)", ctxt);
+                                "|./source/@name"
+                                "|./source/@path)", ctxt);
 
         target = virXPathString("string(./target/@dev)", ctxt);
         model = virXPathString("string(./model/@type)", ctxt);
-- 
2.16.4

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to