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