]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virsh: Display vhostuser socket path in domblklist
authordinglimin <dinglimin@cmss.chinamobile.com>
Fri, 3 Sep 2021 08:54:53 +0000 (16:54 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 9 Sep 2021 11:56:06 +0000 (13:56 +0200)
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 <dinglimin@cmss.chinamobile.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tools/virsh-domain-monitor.c

index f7cf82acdfc4589077bd714d31ec300271a65e5b..eb3e0ef11a18c0e8edc5d9c37de0c64846d6b517 100644 (file)
@@ -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) {