Eric Blake writes:
> On 02/23/2017 03:45 PM, Markus Armbruster wrote:
>> The way we get QMP commands registered is high tech:
>>
>> * qapi-commands.py generates qmp_init_marshal() that does the actual work
>>
>> * it also generates the magic to register it as a MODULE_INIT_QAPI
>> function, s
On 02/23/2017 03:45 PM, Markus Armbruster wrote:
> The way we get QMP commands registered is high tech:
>
> * qapi-commands.py generates qmp_init_marshal() that does the actual work
>
> * it also generates the magic to register it as a MODULE_INIT_QAPI
> function, so it runs when someone calls
The way we get QMP commands registered is high tech:
* qapi-commands.py generates qmp_init_marshal() that does the actual work
* it also generates the magic to register it as a MODULE_INIT_QAPI
function, so it runs when someone calls
module_call_init(MODULE_INIT_QAPI)
* main() calls module_c