From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: [rfc/patch] pv-on-hvm: make netfront grab PCI ressources. Date: Thu, 08 Feb 2007 18:05:40 +0100 Message-ID: <45CB5864.8070200@suse.de> References: <907625E08839C4409CE5768403633E0B018E195C@sefsexmb1.amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <907625E08839C4409CE5768403633E0B018E195C@sefsexmb1.amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Petersson, Mats" Cc: Xen devel list List-Id: xen-devel@lists.xenproject.org Petersson, Mats wrote: > > >> -----Original Message----- >> From: xen-devel-bounces@lists.xensource.com >> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of >> Gerd Hoffmann >> Sent: 08 February 2007 16:51 >> To: Xen devel list >> Subject: [Xen-devel] [rfc/patch] pv-on-hvm: make netfront >> grab PCI ressources. >> >> Hi, >> >> This patch makes netfront grab the rtl8139 PCI ressources when running >> as paravirtualized driver in a HVM domain. If the driver >> fails to grab >> the ressources it refuses to load. If it succeeds grabbing the >> ressources this shoulld prevent any other driver from taking >> the device. > > What if someone has configured the network card type to something other > than 8139? Then it doesn't work. Can you do that in xen? I had the impression you'll have to use the qemu default nic ... > Or is the rtl8139 in the above example just another word for "some > network card in QEMU"? No, it matches the 8139 pci id. For other cards it needs simliar code (and qemu a patch to add the xensource subsystem id ...). cheers, Gerd -- Gerd Hoffmann