Export qemuHotplugAttachManagedPR/qemuHotplugRemoveManagedPR for reuse
in blockjob code.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
*
* Returns: 0 on success, -1 on error.
*/
-static int
+int
qemuHotplugAttachManagedPR(virDomainObj *vm,
virStorageSource *src,
virDomainAsyncJob asyncJob)
* Removes the managed PR object from @vm if the configuration does not require
* it any more.
*/
-static int
+int
qemuHotplugRemoveManagedPR(virDomainObj *vm,
virDomainAsyncJob asyncJob)
{
int
qemuHotplugRemoveDBusVMState(virDomainObj *vm,
virDomainAsyncJob asyncJob);
+
+int
+qemuHotplugAttachManagedPR(virDomainObj *vm,
+ virStorageSource *src,
+ virDomainAsyncJob asyncJob);
+int
+qemuHotplugRemoveManagedPR(virDomainObj *vm,
+ virDomainAsyncJob asyncJob);