From c846767bfaea8ea0e7b57001a3d0563ad75562cc Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Tue, 18 Sep 2018 11:01:53 +0200 Subject: [PATCH] virsh: Display vhostuser socket path in domiflist 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 Reviewed-by: Andrea Bolognani --- 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); -- GitLab