Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2BB63EA10 for ; Thu, 21 Feb 2013 10:35:55 +0000 (UTC) Received: (qmail 33694 invoked by uid 500); 21 Feb 2013 10:35:54 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 33570 invoked by uid 500); 21 Feb 2013 10:35:54 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 33521 invoked by uid 99); 21 Feb 2013 10:35:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2013 10:35:53 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rajesh.battala@citrix.com designates 203.166.19.134 as permitted sender) Received: from [203.166.19.134] (HELO SMTP.CITRIX.COM.AU) (203.166.19.134) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2013 10:35:46 +0000 X-IronPort-AV: E=Sophos;i="4.84,708,1355097600"; d="scan'208";a="1000362" Received: from banpmailmx01.citrite.net ([10.103.128.73]) by SYDPIPO01.CITRIX.COM.AU with ESMTP/TLS/RC4-MD5; 21 Feb 2013 10:35:21 +0000 Received: from BANPMAILBOX01.citrite.net ([10.103.128.71]) by BANPMAILMX01.citrite.net ([10.103.128.73]) with mapi; Thu, 21 Feb 2013 16:05:18 +0530 From: Rajesh Battala To: "cloudstack-dev@incubator.apache.org" Date: Thu, 21 Feb 2013 16:05:16 +0530 Subject: RE: git commit: refs/heads/master - CLOUDSTACK-1334 global config vmware.root.disk.controller doesn't work Thread-Topic: git commit: refs/heads/master - CLOUDSTACK-1334 global config vmware.root.disk.controller doesn't work Thread-Index: Ac4QD0TmF7D0qpDeTgi96jBiT5lVUwADuZkw Message-ID: <97F4356AEA71904482CD192135C038F9011CC13916F3@BANPMAILBOX01.citrite.net> References: <20130221033018.AE17A82D9C1@tyr.zones.apache.org> <35F04D4C394874409D9BE4BF45AC5EA9010F3B2BC127@BANPMAILBOX01.citrite.net> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Eclipse do support inserting the spaces for tabs. Its matter of configurat= ion. Window -> preference - > General -> Editors - > Text Editors the option i= s available to "insert spaces for tabs" and tab width space.=20 Surprised to see the mail telling to stop Eclipse for java project. AFAIK, = Eclipse is best IDE for java projects. Thanks Rajesh Battala > -----Original Message----- > From: rohityadav89@gmail.com [mailto:rohityadav89@gmail.com] On Behalf > Of Rohit Yadav > Sent: Thursday, February 21, 2013 2:11 PM > To: cloudstack-dev@incubator.apache.org > Cc: cloudstack-commits@incubator.apache.org > Subject: Re: git commit: refs/heads/master - CLOUDSTACK-1334 global confi= g > vmware.root.disk.controller doesn't work >=20 > People should stop using Eclipse or any other text editor that would inse= rt tabs > and not whitespaces for tabs. Just use something sensible like emacs, vim= or > IntelliJ which is fast, does not sck during git branch checkouts and won'= t put a lot > of garbage in the codebase. > People need to work on their git-foo as well, use hooks or filters if the= y cannot > fix their editors. >=20 > Regards. >=20 > On Thu, Feb 21, 2013 at 10:24 AM, Sateesh Chodapuneedi > wrote: > > Seeing tab spaces and trailing white spaces in the commit. > > > > Regards, > > Sateesh > > > > > >> -----Original Message----- > >> From: mice@apache.org [mailto:mice@apache.org] > >> Sent: 21 February 2013 09:00 > >> To: cloudstack-commits@incubator.apache.org > >> Subject: git commit: refs/heads/master - CLOUDSTACK-1334 global > >> config vmware.root.disk.controller doesn't work > >> > >> Updated Branches: > >> refs/heads/master 99653ea32 -> f7b600b43 > >> > >> > >> CLOUDSTACK-1334 global config vmware.root.disk.controller doesn't > >> work > >> > >> > >> Project: > >> http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo > >> Commit: http://git-wip-us.apache.org/repos/asf/incubator- > >> cloudstack/commit/f7b600b4 > >> Tree: http://git-wip-us.apache.org/repos/asf/incubator- > >> cloudstack/tree/f7b600b4 > >> Diff: http://git-wip-us.apache.org/repos/asf/incubator- > >> cloudstack/diff/f7b600b4 > >> > >> Branch: refs/heads/master > >> Commit: f7b600b43921ee2324e049432c9cf18906fc6772 > >> Parents: 99653ea > >> Author: hongtu_zang > >> Authored: Wed Feb 20 09:52:25 2013 +0800 > >> Committer: Mice Xia > >> Committed: Thu Feb 21 11:29:08 2013 +0800 > >> > >> ---------------------------------------------------------------------- > >> .../src/com/cloud/hypervisor/guru/VMwareGuru.java | 12 +++++++++++= + > >> .../hypervisor/vmware/manager/VmwareManager.java | 2 ++ > >> .../vmware/manager/VmwareManagerImpl.java | 5 +++++ > >> 3 files changed, 19 insertions(+), 0 deletions(-) > >> --------------------------------------------------------------------- > >> - > >> > >> > >> http://git-wip-us.apache.org/repos/asf/incubator- > >> cloudstack/blob/f7b600b4/plugins/hypervisors/vmware/src/com/cloud/hyp > >> ervis > >> or/guru/VMwareGuru.java > >> --------------------------------------------------------------------- > >> - > >> diff --git > >> a/plugins/hypervisors/vmware/src/com/cloud/hypervisor/guru/VMwareGuru > >> .ja > >> va > >> b/plugins/hypervisors/vmware/src/com/cloud/hypervisor/guru/VMwareGuru > >> .ja > >> va > >> index 819d399..bb7c297 100644 > >> --- > >> a/plugins/hypervisors/vmware/src/com/cloud/hypervisor/guru/VMwareGuru > >> .ja > >> va > >> +++ b/plugins/hypervisors/vmware/src/com/cloud/hypervisor/guru/VMware > >> +++ Gur > >> +++ u.java > >> @@ -1,3 +1,4 @@ > >> + > >> // Licensed to the Apache Software Foundation (ASF) under one // or > >> more contributor license agreements. See the NOTICE file // > >> distributed with this work for additional information @@ -129,6 > >> +130,17 @@ public class VMwareGuru extends HypervisorGuruBase > implements HypervisorGuru { > >> } > >> } > >> } > >> + > >> + String diskDeviceType =3D > >> details.get(VmDetailConstants.ROOK_DISK_CONTROLLER); > >> + if (!(vm.getVirtualMachine() instanceof DomainRouterVO || > >> vm.getVirtualMachine() instanceof ConsoleProxyVO > >> + || vm.getVirtualMachine() instanceof SecondaryStorageVmVO= )){ > >> + // user vm > >> + if (diskDeviceType !=3D null){ > >> + details.remove(VmDetailConstants.ROOK_DISK_CONTROLLER= ); > >> + } > >> + details.put(VmDetailConstants.ROOK_DISK_CONTROLLER, > >> _vmwareMgr.getRootDiskController()); > >> + } > >> + > >> to.setDetails(details); > >> > >> if(vm.getVirtualMachine() instanceof DomainRouterVO) { > >> > >> http://git-wip-us.apache.org/repos/asf/incubator- > >> cloudstack/blob/f7b600b4/plugins/hypervisors/vmware/src/com/cloud/hyp > >> ervis > >> or/vmware/manager/VmwareManager.java > >> --------------------------------------------------------------------- > >> - > >> diff --git > >> a/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/ > >> V > >> mwareManager.java > >> b/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/ > >> V > >> mwareManager.java > >> index e219c1c..445b2f0 100755 > >> --- > >> a/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/ > >> V > >> mwareManager.java > >> +++ > >> b/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager > >> +++ /VmwareManager.java > >> @@ -67,4 +67,6 @@ public interface VmwareManager { > >> String getPublicVSwitchName(long dcId, HypervisorType > >> hypervisorType); > >> > >> String getGuestVSwitchName(long dcId, HypervisorType > >> hypervisorType); > >> + > >> + public String getRootDiskController(); > >> } > >> > >> http://git-wip-us.apache.org/repos/asf/incubator- > >> cloudstack/blob/f7b600b4/plugins/hypervisors/vmware/src/com/cloud/hyp > >> ervis or/vmware/manager/VmwareManagerImpl.java > >> --------------------------------------------------------------------- > >> - > >> diff --git > >> a/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/ > >> V > >> mwareManagerImpl.java > >> b/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/ > >> V > >> mwareManagerImpl.java > >> index e6d5742..70f98cc 100755 > >> --- > >> a/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/ > >> V > >> mwareManagerImpl.java > >> +++ > >> b/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager > >> +++ /VmwareManagerImpl.java > >> @@ -906,4 +906,9 @@ public class VmwareManagerImpl extends > >> ManagerBase implements VmwareManager, Vmw > >> } > >> return nexusVSMCredentials; > >> } > >> + > >> + @Override > >> + public String getRootDiskController() { > >> + return _rootDiskController; > >> + } > >> } > >