when copy volume to secondary storage, need to add full volume path

This commit is contained in:
Edison Su 2013-05-21 17:47:38 -07:00
parent efd249d61d
commit 536feab856

View File

@ -990,7 +990,7 @@ public class XenServerStorageProcessor implements StorageProcessor {
String destVolumeUUID = destVdi.getUuid(conn);
VolumeObjectTO newVol = new VolumeObjectTO();
newVol.setPath(destVolumeUUID);
newVol.setPath(destVolume.getPath() + File.separator + destVolumeUUID + ".vhd");
newVol.setSize(srcVolume.getSize());
return new CopyCmdAnswer(newVol);
} catch (Exception e) {