mirror of https://github.com/apache/cloudstack.git
CS-15734 KVM Snapshots show incorrect disk usage
Replaced size by virtualsize Reviewed by : Nitin
This commit is contained in:
parent
a44581b3ef
commit
918a656934
|
|
@ -1133,7 +1133,7 @@ public class LibvirtComputingResource extends ServerResourceBase implements
|
|||
return new Answer(cmd, false,
|
||||
" Can't create storage volume on storage pool");
|
||||
}
|
||||
disksize = vol.getSize();
|
||||
disksize = vol.getVirtualSize();
|
||||
} else {
|
||||
disksize = dskch.getSize();
|
||||
vol = primaryPool.createPhysicalDisk(UUID.randomUUID()
|
||||
|
|
|
|||
Loading…
Reference in New Issue