From: "Jan Beulich" Subject: Re: [PATCH] dom0 linux: support SBDF with "guestdev=" andremove "reassigndev=" Date: Thu, 09 Apr 2009 11:39:45 +0100 Message-ID: <49DDEC91.76E4.0078.0@novell.com> References: <20090408172810.EDFC.27C06F64@necst.nec.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20090408172810.EDFC.27C06F64@necst.nec.co.jp> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Yuji Shimada Cc: Isaku Yamahata , xen-devel@lists.xensource.com, Keir Fraser List-Id: xen-devel@lists.xenproject.org >>> Yuji Shimada 08.04.09 10:30 >>> >This patch supports SBDF with "guestdev=3D" boot parameter and removes >"reassigndev=3D" boot parameter. > >Currently there are three boot parameters which specifics PCI device >for PCI pass-through. > > pciback.hide=3D > guestdev=3D > reassigndev=3D > >I'd like to simplify them before xen 3.4 is released. To achieve this, >I'd like to make "guestdev=3D" boot parameter support SBDF, and remove >"reassigndev=3D". > > >When we don't need to reassign resources and use device path, >pciback.hide=3D boot parameter can be used. The parameter is also needed >for backward compatibility. > > pciback.hide=3D(00:01.0)(00:02.0) > >When we need to reassign resources or use device path, guestdev=3D boot >parameter can be used. reassign_resources boot parameter is needed to >reassign resources, too. > > guestdev=3D00:01.0,00:02.0 reassign_resources > guestdev=3DPNP0A08:0-1.0,PNP0A08:0-2.0 > guestdev=3DPNP0A08:0-1.0,PNP0A08:0-2.0 reassign_resources Which basically means reassignment of resources will become and all-or- nothing feature rather than a per-device one - is that really intended? It seems like a step backwards to me. Jan