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