cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject git commit: updated refs/heads/4.4 to 6eb9a86
Date Mon, 28 Jul 2014 12:05:30 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/4.4 2d7f201a6 -> 6eb9a86d9


Fix log messages for vgpu creation.

(cherry picked from commit 5a49bb2db76f8dda9d41d9f700afd54d172ed415)


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/6eb9a86d
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/6eb9a86d
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/6eb9a86d

Branch: refs/heads/4.4
Commit: 6eb9a86d9cb427d8ec060e89cb1fabff4060533e
Parents: 2d7f201
Author: Sanjay Tripathi <sanjay.tripathi@citrix.com>
Authored: Sat Apr 26 17:26:37 2014 +0530
Committer: Daan Hoogland <daan@onecht.net>
Committed: Mon Jul 28 14:05:12 2014 +0200

----------------------------------------------------------------------
 .../cloud/hypervisor/xen/resource/XenServer620SP1Resource.java  | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6eb9a86d/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer620SP1Resource.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer620SP1Resource.java
b/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer620SP1Resource.java
index 2976000..3e50ef2 100644
--- a/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer620SP1Resource.java
+++ b/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer620SP1Resource.java
@@ -135,6 +135,11 @@ public class XenServer620SP1Resource extends XenServer620Resource {
 
     @Override
     protected void createVGPU(Connection conn, StartCommand cmd, VM vm, GPUDeviceTO gpuDevice)
throws XenAPIException, XmlRpcException {
+        if (s_logger.isDebugEnabled()) {
+            s_logger.debug("Creating VGPU of VGPU type [ " + gpuDevice.getVgpuType() + "
] in gpu group" + gpuDevice.getGpuGroup()
+                    + " for VM " + cmd.getVirtualMachine().getName());
+        }
+
         Set<GPUGroup> groups = GPUGroup.getByNameLabel(conn, gpuDevice.getGpuGroup());
         assert groups.size() == 1 : "Should only have 1 group but found " + groups.size();
         GPUGroup gpuGroup = groups.iterator().next();


Mime
View raw message