Re: [Qemu-devel] function to execute qmp commands

2015-09-01 Thread Programmingkid
On Sep 1, 2015, at 2:19 AM, Markus Armbruster wrote: > Programmingkid writes: > >> Is there a function that can execute a qmp command in QEMU? > > Sure you want to do that, and not call the C interface instead? Let me > explain how QMP works: > > * QMP core: receive JSON, parse, find handler

Re: [Qemu-devel] function to execute qmp commands

2015-08-31 Thread Markus Armbruster
Programmingkid writes: > Is there a function that can execute a qmp command in QEMU? Sure you want to do that, and not call the C interface instead? Let me explain how QMP works: * QMP core: receive JSON, parse, find handler function (defined in qmp-commands.hx), call it * The handler funct