[libvirt] [PATCH v4 RESEND 2/4] Add a new function doCoreDump