Signed-off-by: Lin Ma <lma(a)suse.de>
---
tools/virsh-backup.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/virsh-backup.c b/tools/virsh-backup.c
index 04464c6bff..9125b7da97 100644
--- a/tools/virsh-backup.c
+++ b/tools/virsh-backup.c
@@ -36,7 +36,7 @@ static const vshCmdInfo info_backup_begin[] = {
};
static const vshCmdOptDef opts_backup_begin[] = {
- VIRSH_COMMON_OPT_DOMAIN_FULL(0),
+ VIRSH_COMMON_OPT_DOMAIN_FULL(VIR_CONNECT_LIST_DOMAINS_ACTIVE),
{.name = "backupxml",
.type = VSH_OT_STRING,
.help = N_("domain backup XML"),
@@ -112,7 +112,7 @@ static const vshCmdInfo info_backup_dumpxml[] = {
};
static const vshCmdOptDef opts_backup_dumpxml[] = {
- VIRSH_COMMON_OPT_DOMAIN_FULL(0),
+ VIRSH_COMMON_OPT_DOMAIN_FULL(VIR_CONNECT_LIST_DOMAINS_ACTIVE),
{.name = NULL}
};
--
2.26.0