virsh: Fix the order of format arguments in doDump

According to definition of virDomainCoreDumpFormat, the "elf" should be
the first argument in VIR_ENUM_*.

Fixes: 84cc4543be

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1981625

Signed-off-by: Han Han <hhan@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
Han Han 2021-07-13 16:04:12 +08:00 committed by Peter Krempa
parent 0d1ccad240
commit 78b1a53df1

View File

@ -5412,10 +5412,10 @@ static const vshCmdOptDef opts_dump[] = {
VIR_ENUM_IMPL(virDomainCoreDumpFormat, VIR_ENUM_IMPL(virDomainCoreDumpFormat,
VIR_DOMAIN_CORE_DUMP_FORMAT_LAST, VIR_DOMAIN_CORE_DUMP_FORMAT_LAST,
"elf",
"kdump-zlib", "kdump-zlib",
"kdump-lzo", "kdump-lzo",
"kdump-snappy", "kdump-snappy",
"elf",
"win-dmp"); "win-dmp");
static void static void