[libvirt] [PATCH v2 3/5] Add a new function doCoreDump