From: dinglimin Date: Fri, 3 Sep 2021 08:54:53 +0000 (+0800) Subject: virsh: Display vhostuser socket path in domblklist X-Git-Tag: v7.8.0-rc1~293 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e899725413da0967a7221bc0197a20c26ad2134;p=thirdparty%2Flibvirt.git virsh: Display vhostuser socket path in domblklist The domblklist command is designed to show a brief information about the blocks of a domain. One piece of information that is shows is "Target "and "Source". Before the modification, the Vhost disk of SPDK is displayed as "-". After the modification, the socket associated with it can be displayed. Signed-off-by: dinglimin Reviewed-by: Michal Privoznik --- diff --git a/tools/virsh-domain-monitor.c b/tools/virsh-domain-monitor.c index f7cf82acdf..eb3e0ef11a 100644 --- a/tools/virsh-domain-monitor.c +++ b/tools/virsh-domain-monitor.c @@ -644,7 +644,8 @@ cmdDomblklist(vshControl *ctl, const vshCmd *cmd) "|./source/@dev" "|./source/@dir" "|./source/@name" - "|./source/@volume)", ctxt); + "|./source/@volume" + "|./source/@path)", ctxt); } if (details) {