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 0a85c1d4a7
commit 5384cbc41d
1 changed files with 1 additions and 1 deletions

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) {