From: Ian Campbell Subject: Re: [PATCH for-4.5 v6 05/16] tools: Add vmware_port support Date: Tue, 23 Sep 2014 13:20:47 +0100 Message-ID: <1411474847.1781.9.camel@kazak.uk.xensource.com> References: <1411236447-7435-1-git-send-email-dslutz@verizon.com> <1411236447-7435-6-git-send-email-dslutz@verizon.com> <1411393315.18331.104.camel@kazak.uk.xensource.com> <5420517B.9060602@terremark.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5420517B.9060602@terremark.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Don Slutz Cc: Tim Deegan , Kevin Tian , Keir Fraser , Jun Nakajima , Stefano Stabellini , George Dunlap , Ian Jackson , Eddie Dong , xen-devel@lists.xen.org, Aravind Gopalakrishnan , Jan Beulich , Andrew Cooper , Boris Ostrovsky , Suravee Suthikulpanit List-Id: xen-devel@lists.xenproject.org On Mon, 2014-09-22 at 12:42 -0400, Don Slutz wrote: > > The latter would allow moving to buildinfo.u.hvm, which would be nicer > > from the libxl PoV, I think. > > I could not find "buildinfo.u.hvm": > > > dcs-xen-54:~/xen>git grep buildinfo.u.hvm > dcs-xen-54:~/xen> > > > So unable to comment. It's in the idl, next to createinfo. > > > If yes then I still think you would want to set the default based on > > vmware-hw, wouldn't you? > > I guess so since this is a BOOLEAN. defbool I hope. > Currently I do not know of a way to > say "set vmware_hw to 7 > if vmware_port is true and vmware_hw is not specified". That's an error case, isn't it? Or at least a vmware_port is ignored case. What I suggested was "if vmware_hw is non-zero then set vmware_port". > Which would be > the inverse. I lean to > not having the default of vmware_port based on vmware_hw.