Github user borisroman commented on a diff in the pull request:
https://github.com/apache/cloudstack/pull/901#discussion_r40784661
--- Diff: core/src/com/cloud/storage/template/QCOW2Processor.java ---
@@ -75,6 +76,16 @@ public FormatInfo process(String templatePath,
ImageFormat format, String templa
@Override
public long getVirtualSize(File file) throws IOException {
+ try {
+ long size = getTemplateVirtualSize(file);
--- End diff --
@karuturi Could you please use the QCOW2Utils.getVirtualSize() from the
com.cloud.utils.storage package instead of using the function defined in the
QCOW2Processor? :)
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---