mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-27 06:50:23 +03:00
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 <mprivozn@redhat.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
c88ef717c8
commit
c846767bfa
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user