提交 c846767b 编写于 作者: M Michal Privoznik

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: NMichal Privoznik <mprivozn@redhat.com>
Reviewed-by: NAndrea Bolognani <abologna@redhat.com>
上级 c88ef717
...@@ -715,7 +715,8 @@ cmdDomiflist(vshControl *ctl, const vshCmd *cmd) ...@@ -715,7 +715,8 @@ cmdDomiflist(vshControl *ctl, const vshCmd *cmd)
source = virXPathString("string(./source/@bridge" source = virXPathString("string(./source/@bridge"
"|./source/@dev" "|./source/@dev"
"|./source/@network" "|./source/@network"
"|./source/@name)", ctxt); "|./source/@name"
"|./source/@path)", ctxt);
target = virXPathString("string(./target/@dev)", ctxt); target = virXPathString("string(./target/@dev)", ctxt);
model = virXPathString("string(./model/@type)", ctxt); model = virXPathString("string(./model/@type)", ctxt);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册