cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sureshanaparti <...@git.apache.org>
Subject [GitHub] cloudstack pull request #1813: CLOUDSTACK-9604: Root disk resize support for...
Date Tue, 28 Feb 2017 09:26:57 GMT
Github user sureshanaparti commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1813#discussion_r103409558
  
    --- Diff: server/src/com/cloud/vm/UserVmManagerImpl.java ---
    @@ -3520,27 +3520,17 @@ public UserVmVO doInTransaction(TransactionStatus status) throws
InsufficientCap
                         }
                         rootDiskSize = Long.parseLong(customParameters.get("rootdisksize"));
     
    -                    // only KVM supports rootdisksize override
    -                    if (hypervisorType != HypervisorType.KVM) {
    -                        throw new InvalidParameterValueException("Hypervisor " + hypervisorType
+ " does not support rootdisksize override");
    +                    // only KVM, XenServer and VMware  supports rootdisksize override
    +                    if (!(hypervisorType == HypervisorType.KVM || hypervisorType == HypervisorType.XenServer
|| hypervisorType == HypervisorType.VMware)) {
    +                        throw new InvalidParameterValueException("Hypervisor " + hypervisorType
+ " does not support  rootdisksize override");
    --- End diff --
    
    @priyankparihar Ok. thanks for the confirmation


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message