]> xenbits.xensource.com Git - people/aperard/libvirt.git/commitdiff
virsh: Command completion, add comp-methods with zlib and zstd
authorYalei Li <274268859@qq.com>
Thu, 11 Jan 2024 01:07:01 +0000 (09:07 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 11 Jan 2024 12:15:08 +0000 (13:15 +0100)
Signed-off-by: Yalei Li <liyl43@chinatelecom.cn>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tools/virsh-completer-domain.c

index b54baf3577e79110c2336ee5b73edccb720d0cfd..2891d1399c6b6b49cf21f86656eb2f975c314547 100644 (file)
@@ -1012,7 +1012,7 @@ virshDomainMigrateCompMethodsCompleter(vshControl *ctl,
                                        const vshCmd *cmd,
                                        unsigned int flags)
 {
-    const char *methods[] = {"xbzrle", "mt",  NULL};
+    const char *methods[] = {"xbzrle", "mt", "zlib", "zstd", NULL};
     const char *method = NULL;
 
     virCheckFlags(0, NULL);