QAPI vs QMP commands
When adding a new QAPI command, should I also add a corresponding entry in "qmp-commands.hx"?
Thanks,
Lluis
Signature · 4 lines
"And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth
Quoted 2 lines · Lluís Vilanova
When adding a new QAPI command, should I also add a corresponding entry in "qmp-commands.hx"?
Yes.
Towards the end of the very long QAPI patch queue are patches to get rid of qmp-commands.hx. We'll get there, but until then, you have to update qmp-commands.hx, too.
Quoted 9 lines · Markus Armbruster
Quoted 2 lines · Lluís Vilanova
When adding a new QAPI command, should I also add a corresponding entry in "qmp-commands.hx"?
Yes.
Towards the end of the very long QAPI patch queue are patches to get rid of qmp-commands.hx. We'll get there, but until then, you have to update qmp-commands.hx, too.
Ok, I just wasn't sure if the wiki page was up to date.
Thanks,
Lluis
Signature · 4 lines
"And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth