mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00: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:
parent
0d1ccad240
commit
78b1a53df1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user