mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-13 06:34:42 -05:00
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:
@@ -5412,10 +5412,10 @@ static const vshCmdOptDef opts_dump[] = {
|
||||
|
||||
VIR_ENUM_IMPL(virDomainCoreDumpFormat,
|
||||
VIR_DOMAIN_CORE_DUMP_FORMAT_LAST,
|
||||
"elf",
|
||||
"kdump-zlib",
|
||||
"kdump-lzo",
|
||||
"kdump-snappy",
|
||||
"elf",
|
||||
"win-dmp");
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user