[libvirt] [PATCH v2] Add ability to register callback for virCommand dry run