node-qemu-server icon indicating copy to clipboard operation
node-qemu-server copied to clipboard

qmp command can not be run in the callback of another qmp command.

Open tocaata opened this issue 8 years ago • 1 comments

In file lib/src/qmp.coffee.

The first qmp command set @dataCb and get ready to run @dataCb, the second qmp command in the callback will rewrite @dataCb. I have do a fix. Please take a look. https://github.com/tocaata/node-qemu-server/blob/master/lib/src/qmp.coffee

tocaata avatar Sep 11 '17 09:09 tocaata

Hi @tocaata,

thanks for using this software. I probably have to disappoint you: the coffee version was retired a long time ago. node-qemu-server faces a complete rewrite in ES6. Now qmp commands just emit the result as an event. Also the UI gets a complete overhaul.

baslr avatar Sep 16 '17 19:09 baslr