mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
lib: Add win-dmp crashdump format
QEMU gained support for 'win-dmp' format in it's release of 3.0, but libvirt doesn't implement it yet. Fortunately, there not much needed: new value to virDomainCoreDumpFormat public enum, which unfortunately means that QEMU driver has to be updated in the same commit, because of VIR_ENUM_IMPL(). Luckily, we don't need any extra QEMU capability - the code already checks supported formats via 'query-dump-guest-memory-capability' just before issuing 'dump-guest-memory'. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
8e75ecefd7
commit
c2707c7e3c
@ -691,6 +691,7 @@ typedef enum {
|
||||
* lzo compression */
|
||||
VIR_DOMAIN_CORE_DUMP_FORMAT_KDUMP_SNAPPY, /* kdump-compressed format, with
|
||||
* snappy compression */
|
||||
VIR_DOMAIN_CORE_DUMP_FORMAT_WIN_DMP, /* Windows full crashdump format */
|
||||
# ifdef VIR_ENUM_SENTINELS
|
||||
VIR_DOMAIN_CORE_DUMP_FORMAT_LAST
|
||||
/*
|
||||
|
@ -143,6 +143,7 @@ VIR_ENUM_IMPL(qemuDumpFormat,
|
||||
"kdump-zlib",
|
||||
"kdump-lzo",
|
||||
"kdump-snappy",
|
||||
"win-dmp",
|
||||
);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user