On Wed, Feb 17, 2016 at 10:04:18AM +0800, Xiao Guangrong wrote:
As for the rest could that commands go via MMIO that we usually
use for control path?
So both input data and output data go through single MMIO, we need to
introduce a protocol to pass these data, that is complex?
And is any MMIO we can reuse (more complexer?) or we should allocate this
MMIO page (the old question - where to allocated?)?
Maybe you could reuse/extend memhotplug IO interface,
or alternatively as Michael suggested add a vendor specific PCI_Config,
I'd suggest PM device for that (hw/acpi/[piix4.c|ihc9.c])
which I like even better since you won't need to care about which ports
to allocate at all.
Well, if Michael does not object, i will do it in the next version. :)
Sorry, the thread's so long by now that I'm no longer sure what does "it" refer
to.