[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.