« Previous | Next » 

Revision 99afc91d

ID99afc91d6ccdbe45258cff66fd0ce0142820c366

Added by Daniel P. Berrange almost 12 years ago

qapi: add 'query-target' command to return target arch

Add a 'query-target' QAPI command to allow management applications
to determine what target architecture a QEMU binary is emulating
without having to parse the binary name or -help output

$ qmp-shell -p /tmp/qemu
(QEMU) query-target { u'return': { u'arch': u'x86_64' }}

Signed-off-by: Daniel P. Berrange <>
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences