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 <dinglimin@cmss.chinamobile.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
dinglimin 2021-09-03 16:54:53 +08:00 committed by Michal Privoznik
parent 5a3c35dc83
commit 6e89972541

View 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) {