WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] disable qemu PCI devices in HVM domains

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] disable qemu PCI devices in HVM domains
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Sat, 13 Dec 2008 09:55:27 +0000
Cc: Steven Smith <steven.smith@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 13 Dec 2008 01:56:10 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D0154FF9F@trantor>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aclbuhoqr0BLOGEhQ/CaC00xxoX3kABS0/IwAADgswA=
Thread-topic: [Xen-devel] disable qemu PCI devices in HVM domains
User-agent: Microsoft-Entourage/12.14.0.081024
On 13/12/2008 09:33, "James Harper" <james.harper@xxxxxxxxxxxxxxxx> wrote:

>> I like the principle of disabling the drivers via an instruction to
>> qemu rather than by attempting to wrestle with the Windows driver
>> machinery to try to hide the devices.  But couldn't we simulate a PCI
>> unplug or a medium change or something instead ?  Then you could do it
>> later in the boot after your own drivers have properly bound.
>> 
> 
> Is the 'pci unplug' as simple as making a call somewhere like
> pci_unplug(id of ide adapter)? I'm concerned that Windows may not like
> this.

My own opinion is that the ioports are fine, but they should be offsets from
the xen-platform-pci device's ioport bar. Also we ought to document the
ports in xen-platform-pci's source file, as it's going to start getting
messy in there.

I'm not sure if the approach taken by the Citrix drivers could be at all
useful. Cc'ing Steven Smith in case he has any comments to make.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel