virsh: Command completion, add comp-methods with zlib and zstd

Signed-off-by: Yalei Li <liyl43@chinatelecom.cn>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Yalei Li 2024-01-11 09:07:01 +08:00 committed by Michal Privoznik
parent 0e120bc431
commit 9e555699a2

View 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);