From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [rfc/patch] pv-on-hvm: make netfront grab PCI ressources. Date: Thu, 08 Feb 2007 17:13:18 +0000 Message-ID: References: <45CB54EB.8000506@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <45CB54EB.8000506@suse.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Gerd Hoffmann , Xen devel list List-Id: xen-devel@lists.xenproject.org On 8/2/07 16:50, "Gerd Hoffmann" wrote: > 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. > > This makes sure that we don't have two drivers (8139 pci driver and > netfront) active for the same device. It seems to me this is a tools issue: they should ensure that only netback or qemu advertises a particular interface. Or qemu interface could be disabled when netback is connected to (although that wouldn't stop rtl8139 driver seeing the deactivated qemu interface). In any case, doing a hack in netfront doesn't work if the rtl8139 driver gets probed first? -- Keir