mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
virsh: Prefer VIRSH_COMMON_OPT_DOMAIN_FULL over full enumeration
We have a macro that does exactly what is done via full enumeration. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
1 parent
3b6c818532
commit
ee34745f6a
1 file changed
+1
-5
@@ -8551,11 +8551,7 @@ static const vshCmdInfo info_perf[] = {
|
||||
};
|
||||
|
||||
static const vshCmdOptDef opts_perf[] = {
|
||||
{.name = "domain",
|
||||
.type = VSH_OT_DATA,
|
||||
.flags = VSH_OFLAG_REQ,
|
||||
.help = N_("domain name, id or uuid")
|
||||
},
|
||||
VIRSH_COMMON_OPT_DOMAIN_FULL,
|
||||
{.name = "enable",
|
||||
.type = VSH_OT_STRING,
|
||||
.help = N_("perf events which will be enabled")
|
||||
|
||||
Reference in new issue
Block a user