From: Simon Horman Subject: Re: RE: [Xen-changelog] [xen-unstable] xend: hot-plug PCI devices at boot-time Date: Tue, 28 Jul 2009 18:56:46 +1000 Message-ID: <20090728085646.GA31294@verge.net.au> References: <200905300930.n4U9UOTG008828@xenbits.xensource.com> <20090612063335.GF20581@verge.net.au> <20090615015311.GC5586@verge.net.au> <20090728071537.GA18448@verge.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Cui, Dexuan" Cc: "xen-devel@lists.xensource.com" , Keir Fraser List-Id: xen-devel@lists.xenproject.org On Tue, Jul 28, 2009 at 04:42:17PM +0800, Cui, Dexuan wrote: > Duplicate calls to setupOneDevice() in the case of HVM are really odd to me. Personally I'd rather call the code twice than have extra if logic. But your patch is ok with me. > BTW, actually I suspect setupOneDevice() is unnecessary for HVM guest > since looks all of the actual work of setupOneDevice() is done by > ioemu-dm. I suspect you are right there.