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

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

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] disable qemu PCI devices in HVM domains
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Thu, 11 Dec 2008 14:10:50 +1100
Delivery-date: Wed, 10 Dec 2008 19:11:16 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: AclbPhH8xB4p0u7KTBGnH5WKlZbWvw==
Thread-topic: disable qemu PCI devices in HVM domains
I would like to implement a mechanism to disable PCI devices by writing
to a certain IO port to prevent the problem of duplication where PV on
HVM drivers are used.

Disabling drivers in the GPLPV drivers is quite troublesome and while I
think 3.3 has eliminated the corruption problem (no caching appears to
make windows understand that it is the same underlying device) I'd still
rather that the qemu PCI devices weren't there at all.

So if the PV drivers loaded early in the boot process, they would write
to a designated IO port and qemu would then tell the PCI devices to not
work anymore. Because I would do it at the driver level rather than at
the device level, it should happen even before windows has loaded the
pci.sys driver and started probing the PCI space.

Does that sound acceptable?

Thanks

James

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