hiding the platform pci device
There was discussion about a patch to hide the platform pci device sometime within the last two months. Did this patch ever get committed?
I need to test GPLPV driver installation onto a machine that doesn't have the platform pci device installed (eg a non-xen physical machine that might later be migrated to a DomU), and hiding the platform pci device would be a nice easy way of doing that.
Thanks
James
Quoted 2 lines · James Harper
There was discussion about a patch to hide the platform pci device sometime within the last two months. Did this patch ever get committed?
It looks like it, see hw/xen_platform.c:platform_fixed_ioport_write2() in qemu, for example.
-- Keir
Quoted 1 line
On 14/03/2009 03:06, "James Harper" <[email protected]>
Quoted 3 lines · wrote:
Quoted 3 lines
There was discussion about a patch to hide the platform pci device sometime within the last two months. Did this patch ever get
committed?
Quoted 2 lines
It looks like it, see hw/xen_platform.c:platform_fixed_ioport_write2()
in
Quoted 2 lines
qemu, for example.
I haven't checked, but wouldn't that be the opposite to what I asked? Are you talking about hiding the qemu devices via writes to the platform fixed ioports, which definitely is in there? I'm taking about hiding the platform pci device itself so that it doesn't exist in the DomU. I think the mechanism for this was going to be a 'hide_platform_pci=1' in the config file or something.
Apologies if I got that wrong though.
James
Quoted 8 lines · James Harper
I haven't checked, but wouldn't that be the opposite to what I asked? Are you talking about hiding the qemu devices via writes to the platform fixed ioports, which definitely is in there? I'm taking about hiding the platform pci device itself so that it doesn't exist in the DomU. I think the mechanism for this was going to be a 'hide_platform_pci=1' in the config file or something.
Apologies if I got that wrong though.
Ah yes, sorry, the no-platform-device patch hasn't been posted to xen-devel afaik.
-- Keir