CLOUDSTACK-4008: return virtual size of volume in KVM

This commit is contained in:
Edison Su 2013-08-01 13:22:46 -07:00
parent 21f62087d3
commit 3a928d7db0

View File

@ -270,7 +270,7 @@ public class KVMStorageProcessor implements StorageProcessor {
VolumeObjectTO newVol = new VolumeObjectTO();
newVol.setPath(vol.getName());
newVol.setSize(vol.getSize());
newVol.setSize(volume.getSize());
return new CopyCmdAnswer(newVol);
} catch (CloudRuntimeException e) {