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>
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);