[libvirt] [PATCH] qemu: Add flags checking in DomainCoreDump