]> xenbits.xensource.com Git - libvirt.git/commit
lib: Add win-dmp crashdump format
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 20 May 2021 12:32:11 +0000 (14:32 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 20 May 2021 14:23:32 +0000 (16:23 +0200)
commitc2707c7e3c8cc96fc3be8228527755bea09b98b8
tree43fdf6279a89d34cc6bfd0149bbac380a05a84a4
parent8e75ecefd7c77d6e7dbcc9b879d686b147360c06
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>
include/libvirt/libvirt-domain.h
src/qemu/qemu_driver.c