summaryrefslogtreecommitdiff
path: root/tools/virsh-completer-domain.h
diff options
context:
space:
mode:
authorMichal Privoznik <mprivozn@redhat.com>2021-08-17 13:03:04 +0200
committerMichal Privoznik <mprivozn@redhat.com>2021-08-18 14:21:40 +0200
commit868bacd380736a67820e4b1a5fc455693abb091f (patch)
treed16db8ed7ce3c3da2bb7dc232224aa3f8c0fb7cc /tools/virsh-completer-domain.h
parent8efd949c8bab29729cc76dd41bd829f91e3ef522 (diff)
downloadlibvirt-868bacd380736a67820e4b1a5fc455693abb091f.tar.gz
virsh: Support vhostuser in attach-interface
Recently, I wanted to attach an vhost-user interface but found out that attach-interface command doesn't support it. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
Diffstat (limited to 'tools/virsh-completer-domain.h')
-rw-r--r--tools/virsh-completer-domain.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/virsh-completer-domain.h b/tools/virsh-completer-domain.h
index 45380906f9..39cedf0141 100644
--- a/tools/virsh-completer-domain.h
+++ b/tools/virsh-completer-domain.h
@@ -59,6 +59,11 @@ virshDomainInterfaceAddrSourceCompleter(vshControl *ctl,
const vshCmd *cmd,
unsigned int flags);
+char **
+virshDomainInterfaceSourceModeCompleter(vshControl *ctl,
+ const vshCmd *cmd,
+ unsigned int flags);
+
char ** virshDomainHostnameSourceCompleter(vshControl *ctl,
const vshCmd *cmd,
unsigned int flags);