From: "Jan Beulich" Subject: Re: xl/SR-IOV: disposition of VFs when PF disappears? Date: Tue, 28 Oct 2014 16:30:03 +0000 Message-ID: <544FD29B0200007800042D73@mail.emea.novell.com> References: <544E4A4E020000780004267D@mail.emea.novell.com> <1414414666.23883.13.camel@eu.citrix.com> <20141027133534.GC4050@laptop.dumpdata.com> <20141027180723.GD12989@laptop.dumpdata.com> <544F7D310200007800042BC2@mail.emea.novell.com> <20141028140029.GC21290@laptop.dumpdata.com> <544FC1EA0200007800042CF7@mail.emea.novell.com> <544FD17C0200007800042D5B@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Xj9eo-0002zz-FH for xen-devel@lists.xenproject.org; Tue, 28 Oct 2014 16:30:06 +0000 In-Reply-To: <544FD17C0200007800042D5B@mail.emea.novell.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Konrad Rzeszutek Wilk Cc: Wei Liu , Stefano Stabellini , "ian.jackson@eu.citrix.com" , Ian Campbell , xen-devel , Anirban Chakraborty List-Id: xen-devel@lists.xenproject.org >>> On 28.10.14 at 17:25, wrote: >>>> On 28.10.14 at 16:18, wrote: >> That flag doesn't inhibit the PF driver unloading. It only suppresses >> it freeing the VFs in that process (and afaics nothing will ever allow >> them to be released subsequently in that case). I'm about to test a >> change to pciback (it's building right now). > > Attached a raw patch for you or anyone else to comment on from > a conceptual perspective. The main thing probably is to determine > whether any further serialization needs to be added. And right after sending I noticed I forgot to unregister the notifier in xen_pcibk_cleanup(). Consider this present when looking at the patch. Jan