[libvirt] [PATCH] Add virshAllocpagesPagesizeCompleter to opts_freepages.

Roland Schulz schullzroll at gmail.com
Thu May 24 13:11:12 UTC 2018


Signed-off-by: Roland Schulz <schullzroll at gmail.com>
---
For the time being virshAllocpagesPagesizeCompleter can be used with
other commands that use --pagesize option.

 tools/virsh-host.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/virsh-host.c b/tools/virsh-host.c
index dfe58de30..991c0f50a 100644
--- a/tools/virsh-host.c
+++ b/tools/virsh-host.c
@@ -280,6 +280,7 @@ static const vshCmdOptDef opts_freepages[] = {
     },
     {.name = "pagesize",
      .type = VSH_OT_INT,
+     .completer = virshAllocpagesPagesizeCompleter,
      .help = N_("page size (in kibibytes)")
     },
     {.name = "all",
-- 
2.17.0




More information about the libvir-list mailing list