« Previous | Next » 

Revision c96c84a9


Added by Amos Kong about 12 years ago

json-parser: Output the content of invalid keyword

When input some invalid word 'unknowcmd' through QMP port, qemu outputs
this error message:
"parse error: invalid keyword `%s'"

This patch makes qemu output the content of invalid keyword, like:

"parse error: invalid keyword `unknowcmd'"

Signed-off-by: Amos Kong <>
Acked-by: Richard Henderson <>
Signed-off-by: Aurelien Jarno <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences