I would like to keep it with qemu.git, if possible.  Since the device
doesn't really exist in the real world, and there is no particular
company behind it, there isn't really a place for the spec to live
other than beside the implementation.  docs/specs is fine by me.  I
had a test/ directory in there also; not sure where these things live
for device tests in qemu.

I also struggled with the QMP/HMP code as there really aren't examples
of individual devices with qmp/hmp interfaces.  Although it sure is
handy for dumping device state and otherwise having a back-door into
device.

On Mon, Jan 5, 2015 at 9:16 PM, Jason Wang <jasow...@redhat.com> wrote:
>
> On 01/06/2015 10:24 AM, sfel...@gmail.com wrote:
>> From: Scott Feldman <sfel...@gmail.com>
>>
>> This is the register programming guide for the Rocker device.  It's intended
>> for driver writers and device writers.  It covers the device's PCI space,
>> the register set, DMA interface, and interrupts.
>>
>> Signed-off-by: Scott Feldman <sfel...@gmail.com>
>> Signed-off-by: Jiri Pirko <j...@resnulli.us>
>> ---
>>  hw/net/rocker/reg_guide.txt |  961 
>> +++++++++++++++++++++++++++++++++++++++++++
>>  1 file changed, 961 insertions(+)
>>  create mode 100644 hw/net/rocker/reg_guide.txt
>
> Looks like docs/specs is a better place for this. And do you want to
> keep this spec officially in qemu.git? I'm asking since if there's
> another place to keep the official version, you may do a lot of syncs in
> the future.

Reply via email to