agent: Fix typo for error message when HVM is not enabled
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/2ce632cf Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/2ce632cf Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/2ce632cf Branch: refs/heads/master Commit: 2ce632cf0bfff649d84bf36908243d341a40aaa6 Parents: a12a008 Author: Wido den Hollander <[email protected]> Authored: Wed Aug 8 22:29:22 2012 +0200 Committer: Wido den Hollander <[email protected]> Committed: Wed Aug 8 22:31:06 2012 +0200 ---------------------------------------------------------------------- .../kvm/resource/LibvirtComputingResource.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/2ce632cf/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java ---------------------------------------------------------------------- diff --git a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java index b5f0103..64bd928 100755 --- a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java +++ b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java @@ -617,7 +617,7 @@ public class LibvirtComputingResource extends ServerResourceBase implements _localStorageUUID = (String) params.get("local.storage.uuid"); if (_localStorageUUID == null) { - throws new ConfigurationException("local.storage.uuid is not set! Please set this to a valid UUID"); + throw new ConfigurationException("local.storage.uuid is not set! Please set this to a valid UUID"); } value = (String) params.get("scripts.timeout"); @@ -643,9 +643,9 @@ public class LibvirtComputingResource extends ServerResourceBase implements /* Does node support HVM guest? If not, exit */ if (!IsHVMEnabled(conn)) { throw new ConfigurationException( - "NO HVM support on this machine, pls make sure: " + "NO HVM support on this machine, please make sure: " + "1. VT/SVM is supported by your CPU, or is enabled in BIOS. " - + "2. kvm modules is installed"); + + "2. kvm modules are loaded (kvm, kvm_amd|kvm_intel)"); } _hypervisorPath = getHypervisorPath(conn);
