On 05/25/2011 01:22 PM, Greg McGary wrote:
> MMIO, yes.  Any opinion on whether or not to have a minimal fake PCI bus?

It's probably easiest to pretend your HW has PCI, yes.

Alex is suggesting that it would be easier to pretend you have
one of the existing PCI host controllers as well.  I don't know
if that's true or not; e.g. pc_piix.c seems to have lots of
pc-specific stuff inside.

But it probably doesn't take more than 100 lines of code to give
guest access to the pci config and i/o space.  It's likely to be
comparable in size to any other private bus that you'd invent.


r~

Reply via email to