From: Lin Ma Date: Tue, 15 May 2018 11:10:33 +0000 (+0800) Subject: virsh: Only return active domain names for 'reset' command X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=84d660607d606675f89d2e7cccf1aa31274feab1;p=libvirt.git virsh: Only return active domain names for 'reset' command Signed-off-by: Lin Ma --- diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index cfeb3484e2..724871d648 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -5892,7 +5892,7 @@ static const vshCmdInfo info_reset[] = { }; static const vshCmdOptDef opts_reset[] = { - VIRSH_COMMON_OPT_DOMAIN_FULL(0), + VIRSH_COMMON_OPT_DOMAIN_FULL(VIR_CONNECT_LIST_DOMAINS_ACTIVE), {.name = NULL} };