From mboxrd@z Thu Jan 1 00:00:00 1970 From: Don Slutz Subject: Re: [PATCH v11 5/9] xen: Add vmware_port support Date: Fri, 05 Jun 2015 09:18:28 -0400 Message-ID: <5571A1A4.1000000@Gmail.com> References: <1432309826-6420-1-git-send-email-dslutz@verizon.com> <1432309826-6420-6-git-send-email-dslutz@verizon.com> <55718D890200007800081379@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <55718D890200007800081379@mail.emea.novell.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: Jan Beulich , Don Slutz Cc: Kevin Tian , Keir Fraser , Ian Campbell , Stefano Stabellini , George Dunlap , Andrew Cooper , Tim Deegan , xen-devel@lists.xen.org, Eddie Dong , Aravind Gopalakrishnan , Jun Nakajima , Suravee Suthikulpanit , Boris Ostrovsky , Ian Jackson List-Id: xen-devel@lists.xenproject.org On 06/05/15 05:52, Jan Beulich wrote: >>>> On 22.05.15 at 17:50, wrote: >> @@ -5805,6 +5808,12 @@ static int hvmop_set_param( >> break; >> if ( a.value > 1 ) >> rc = -EINVAL; >> + /* Prevent nestedhvm with vmport */ >> + if ( d->arch.hvm_domain.is_vmware_port_enabled ) >> + { >> + rc = -EOPNOTSUPP; >> + break; >> + } > Surrounding code avoiding the use of "break" makes the result look > rather inconsistent. Please move this up immediately after the XSM > check, or drop the "break". Will do. -Don Slutz > Jan > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel