« Previous | Next » 

Revision c96c84a9

IDc96c84a9ff4bc184cb1f6cc9771a550f3854ba59

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 <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences