diff options
author | Michal Privoznik <mprivozn@redhat.com> | 2021-12-16 15:46:31 +0100 |
---|---|---|
committer | Michal Privoznik <mprivozn@redhat.com> | 2021-12-17 13:18:42 +0100 |
commit | dfd1ffc54421f1942fc6e191d527bef3726c86d7 (patch) | |
tree | c22d8e56589858eb0e921b89e050e5ca44af1d9e /tools/virsh-completer-domain.h | |
parent | d05a89b7038797cca6f2044a8c05a6fb9f6ac6fa (diff) | |
download | libvirt-dfd1ffc54421f1942fc6e191d527bef3726c86d7.tar.gz |
virsh-completer: Provide completer for numatune --mode
The completer is trivial, just iterate over
virDomainNumatuneMemMode enum and convert each integer into its
string comrade.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Diffstat (limited to 'tools/virsh-completer-domain.h')
-rw-r--r-- | tools/virsh-completer-domain.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/virsh-completer-domain.h b/tools/virsh-completer-domain.h index ec7909888e..94bb3b5e5c 100644 --- a/tools/virsh-completer-domain.h +++ b/tools/virsh-completer-domain.h @@ -181,3 +181,8 @@ char ** virshDomainBlockjobBaseTopCompleter(vshControl *ctl, const vshCmd *cmd, unsigned int flags); + +char ** +virshDomainNumatuneModeCompleter(vshControl *ctl, + const vshCmd *cmd, + unsigned int flags); |