package org.zstack.storage.primary.smp;

import org.zstack.header.core.Completion;

/**
 * Created by xing5 on 2016/3/27.
 */
public abstract class BackupStorageKvmUploader {
    public abstract void uploadBits(String bsPath, String psPath, Completion completion);
}

@@ -66,16 +66,27 @@
 er.core.
+ReturnValue
 Completi
@@ -90,16 +90,16 @@
 etion;%0D%0A
-
 %0D%0A/**%0D%0A 
@@ -187,16 +187,221 @@
 ader %7B%0D%0A
+    // When uploading an image from 'psPath' to backup storage, the 'bsPath'%0D%0A    // might be allocated by the backup storage and returned by the completion,%0D%0A    // instead of being known ahead of time.%0D%0A
     publ
@@ -458,16 +458,27 @@
 psPath, 
+ReturnValue
 Completi
@@ -479,16 +479,24 @@
 mpletion
+%3CString%3E
  complet

Update the method signature of 'uploadBits()'