Skip to contentSkip to conversation

QAPI vs QMP commands

Qemu-devel Lluís Vilanova 2 participants 3 messages Nov 23, 2015

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw
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.

#2 lore raw
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