From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v9 08/13] Add IOREQ_TYPE_VMWARE_PORT Date: Tue, 3 Mar 2015 14:25:42 +0000 Message-ID: <1425392742.25940.12.camel@citrix.com> References: <1424127915-27004-1-git-send-email-dslutz@verizon.com> <1424127915-27004-9-git-send-email-dslutz@verizon.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1424127915-27004-9-git-send-email-dslutz@verizon.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, 2015-02-16 at 18:05 -0500, Don Slutz wrote: > tools/libxc/xc_hvm_build_x86.c | 5 +- > tools/libxl/libxl_dm.c | 4 + I've only looked at these bits. > diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c > index c27f9a4..620013c 100644 > --- a/tools/libxl/libxl_dm.c > +++ b/tools/libxl/libxl_dm.c > @@ -765,6 +765,10 @@ static char ** libxl__build_device_model_args_new(libxl__gc *gc, > machinearg, max_ram_below_4g); > } > } > + if (libxl_defbool_val(c_info->vmware_port)) { > + machinearg = libxl__sprintf(gc, "%s,vmport=on", > + machinearg); Please use GCSPRINTF, then I think this will fit on one line. I think you also also don't need the {}'s for a single line if. With those fixed the tools/* bits are: Acked-by: Ian Campbell