Received: from eggs.gnu.org ([2001:4830:134:3::10]:48121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpZvI-0003Jz-R2 for qemu-devel@nongnu.org; Thu, 20 Jun 2013 04:08:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpZvH-0002OS-Ey for qemu-devel@nongnu.org; Thu, 20 Jun 2013 04:08:52 -0400 Received: from mail.avalus.com ([2001:41c8:10:1dd::10]:50660) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpZvH-0002OI-92 for qemu-devel@nongnu.org; Thu, 20 Jun 2013 04:08:51 -0400 Date: Thu, 20 Jun 2013 09:08:36 +0100 From: Alex Bligh Message-ID: <71DC4A4C2B24849CD475264D@Ximines.local> In-Reply-To: <9AAE0902D5BC7E449B7C8E4E778ABCD004D3FC@LONPEX01CL01.citrite.net> References: <1371634333-23565-1-git-send-email-paul.durrant@citrix.com> <1371634945.22783.96.camel@zakaz.uk.xensource.com> <9AAE0902D5BC7E449B7C8E4E778ABCD004B6EB@LONPEX01CL01.citrite.net> <1371636452.22783.105.camel@zakaz.uk.xensource.com> <9AAE0902D5BC7E449B7C8E4E778ABCD004B763@LONPEX01CL01.citrite.net> <20130619182142.GB3014@u109add4315675089e695.ant.amazon.com> <20130619201501.GD32645@ocelot.phlegethon.org> <9AAE0902D5BC7E449B7C8E4E778ABCD004D3FC@LONPEX01CL01.citrite.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: [Qemu-devel] [Xen-devel] [PATCH] Add Xen platform PCI device version 2. Reply-To: Alex Bligh List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Durrant , "Tim (Xen.org)" , Matt Wilson Cc: qemu-devel@nongnu.org, Ian Campbell , Alex Bligh , xen-devel@lists.xen.org --On 20 June 2013 07:47:12 +0000 Paul Durrant wrote: > If someone has a VM that has the old Citrix drivers installed, or GPLPV, > I think I should be able to spot this and make sure that the new bus > driver quiesces itself to prevent strangeness ensuing. If and when said > previous drivers are un-installed then the new bus driver can wake up and > enumerate the device nodes for the other pv drivers and Windows Update > can carry on doing its stuff. I have no clue about Windows device drivers, so this may be a silly suggestion. If your suggestion above already requires a Xen code change, one possibility might be copy the idea behind the PCI unplug logic. Either if the new PCI device is used, it could unplug the old one, or vice versa. Drivers magically unplugging themselves may not be ideal, but it beats having 2 drivers fighting over the same device. -- Alex Bligh