cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sanjaytripa...@apache.org
Subject git commit: updated refs/heads/4.4-forward to 5a49bb2
Date Sat, 26 Apr 2014 11:53:13 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/4.4-forward a4cb8d114 -> 5a49bb2db


Fix log messages for vgpu creation.


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

Branch: refs/heads/4.4-forward
Commit: 5a49bb2db76f8dda9d41d9f700afd54d172ed415
Parents: a4cb8d1
Author: Sanjay Tripathi <sanjay.tripathi@citrix.com>
Authored: Sat Apr 26 17:26:37 2014 +0530
Committer: Sanjay Tripathi <sanjay.tripathi@citrix.com>
Committed: Sat Apr 26 17:26:37 2014 +0530

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5a49bb2d/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 4f04961..de9225f 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
@@ -134,6 +134,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