From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: [RFC 6/11] virtio_pci: don't use the legacy driver if we find the new PCI capabilities. Date: Sun, 11 Dec 2011 11:37:28 +0200 Message-ID: <20111211093726.GA11504@redhat.com> References: <87pqfzgy6p.fsf@rustcorp.com.au> <871usfgxg9.fsf@rustcorp.com.au> <1323551918.32487.34.camel@lappy> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1323551918.32487.34.camel@lappy> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Sasha Levin Cc: virtualization List-Id: virtualization@lists.linuxfoundation.org On Sat, Dec 10, 2011 at 11:18:38PM +0200, Sasha Levin wrote: > On Thu, 2011-12-08 at 21:08 +1030, Rusty Russell wrote: > > With module option to override. I assume I can call > > pci_find_capability() before pci_request_regions? > > I don't think thats safe. Why wouldn't it be? pci_find_capability is only using config cycles, it never needs any regions. > -- > > Sasha.