[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Qemu API documentation
From: |
John Snow |
Subject: |
Re: Qemu API documentation |
Date: |
Wed, 18 Mar 2020 15:49:51 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
On 3/18/20 7:09 AM, Peter Maydell wrote:
> On Wed, 18 Mar 2020 at 09:55, Priyamvad Acharya
> <address@hidden> wrote:
>>
>> Hello developer community,
>>
>> I am working on implementing a custom device in Qemu, so to implement it I
>> need documentation of functions which are used to emulate a hardware model
>> in Qemu.
>>
>> What are the references to get it ?
>
> QEMU has very little documentation of its internals;
> the usual practice is to figure things out by
> reading the source code. What we do have is in
> docs/devel. There are also often documentation comments
> for specific functions in the include files where
> those functions are declared, which form the API
> documentation for them.
>
^ Unfortunately true. One thing you can do is try to pick an existing
device that's close to yours -- some donor PCI, USB etc device and start
using that as a reference.
If you can share (broad) details of what device you are trying to
implement, we might be able to point you to relevant examples to use as
a reference.
--js
- Qemu API documentation, Priyamvad Acharya, 2020/03/18
- Re: Qemu API documentation, Peter Maydell, 2020/03/18
- Re: Qemu API documentation,
John Snow <=
- Re: Qemu API documentation, Priyamvad Acharya, 2020/03/19
- Re: Qemu API documentation, Alex Bennée, 2020/03/19
- Re: Qemu API documentation, Priyamvad Acharya, 2020/03/19
- Re: Qemu API documentation, Alex Bennée, 2020/03/20
- Re: Qemu API documentation, Priyamvad Acharya, 2020/03/20
- Re: Qemu API documentation, Peter Maydell, 2020/03/20
- Re: Qemu API documentation, Priyamvad Acharya, 2020/03/20
- Re: Qemu API documentation, Alex Bennée, 2020/03/20
- Re: Qemu API documentation, Priyamvad Acharya, 2020/03/23