qemu: Add validation for SMMUv3 IOMMU
[libvirt/ericb.git] / tools / virsh-completer.h
blobed37a26cc9f462e7ae54d4c0ee19903bef35bff2
1 /*
2 * virsh-completer.h: virsh completer callbacks
4 * Copyright (C) 2017 Red Hat, Inc.
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library. If not, see
18 * <http://www.gnu.org/licenses/>.
21 #ifndef LIBVIRT_VIRSH_COMPLETER_H
22 # define LIBVIRT_VIRSH_COMPLETER_H
24 # include "vsh.h"
26 char ** virshDomainNameCompleter(vshControl *ctl,
27 const vshCmd *cmd,
28 unsigned int flags);
30 enum {
31 VIRSH_DOMAIN_INTERFACE_COMPLETER_MAC = 1 << 0, /* Return just MACs */
34 char ** virshDomainInterfaceCompleter(vshControl *ctl,
35 const vshCmd *cmd,
36 unsigned int flags);
38 char ** virshDomainDiskTargetCompleter(vshControl *ctl,
39 const vshCmd *cmd,
40 unsigned int flags);
42 char ** virshStoragePoolNameCompleter(vshControl *ctl,
43 const vshCmd *cmd,
44 unsigned int flags);
46 char ** virshStorageVolNameCompleter(vshControl *ctl,
47 const vshCmd *cmd,
48 unsigned int flags);
50 char ** virshInterfaceNameCompleter(vshControl *ctl,
51 const vshCmd *cmd,
52 unsigned int flags);
54 char ** virshNetworkNameCompleter(vshControl *ctl,
55 const vshCmd *cmd,
56 unsigned int flags);
58 char ** virshNetworkEventNameCompleter(vshControl *ctl,
59 const vshCmd *cmd,
60 unsigned int flags);
62 char ** virshNodeDeviceNameCompleter(vshControl *ctl,
63 const vshCmd *cmd,
64 unsigned int flags);
66 char ** virshNWFilterNameCompleter(vshControl *ctl,
67 const vshCmd *cmd,
68 unsigned int flags);
70 char ** virshNWFilterBindingNameCompleter(vshControl *ctl,
71 const vshCmd *cmd,
72 unsigned int flags);
74 char ** virshSecretUUIDCompleter(vshControl *ctl,
75 const vshCmd *cmd,
76 unsigned int flags);
78 char ** virshSnapshotNameCompleter(vshControl *ctl,
79 const vshCmd *cmd,
80 unsigned int flags);
82 char ** virshAllocpagesPagesizeCompleter(vshControl *ctl,
83 const vshCmd *cmd,
84 unsigned int flags);
86 char ** virshSecretEventNameCompleter(vshControl *ctl,
87 const vshCmd *cmd,
88 unsigned int flags);
90 char ** virshDomainEventNameCompleter(vshControl *ctl,
91 const vshCmd *cmd,
92 unsigned int flags);
94 char ** virshPoolEventNameCompleter(vshControl *ctl,
95 const vshCmd *cmd,
96 unsigned int flags);
98 char ** virshDomainInterfaceStateCompleter(vshControl *ctl,
99 const vshCmd *cmd,
100 unsigned int flags);
102 char ** virshNodedevEventNameCompleter(vshControl *ctl,
103 const vshCmd *cmd,
104 unsigned int flags);
106 char ** virshDomainDeviceAliasCompleter(vshControl *ctl,
107 const vshCmd *cmd,
108 unsigned int flags);
110 char ** virshCellnoCompleter(vshControl *ctl,
111 const vshCmd *cmd,
112 unsigned int flags);
114 char ** virshDomainShutdownModeCompleter(vshControl *ctl,
115 const vshCmd *cmd,
116 unsigned int flags);
117 #endif /* LIBVIRT_VIRSH_COMPLETER_H */