qapi: discriminate CpuInfoFast on SysEmuTarget, not CpuInfoArch
commitdaa9d2bc6d73618bc230787ddfa821a6a6560fc2
authorLaszlo Ersek <lersek@redhat.com>
Fri, 27 Apr 2018 19:28:51 +0000 (27 21:28 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 4 May 2018 06:27:53 +0000 (4 08:27 +0200)
tree5b60689d3799574308dafc5b28b44cfc0c1afcf0
parentb47aa7b3d44dcedf7bf541563f70704f82f500d0
qapi: discriminate CpuInfoFast on SysEmuTarget, not CpuInfoArch

Add a new field @target (of type @SysEmuTarget) to the output of the
@query-cpus-fast command, which provides more information about the
emulation target than the field @arch (of type @CpuInfoArch). Make @target
the new discriminator for the @CpuInfoFast return structure. Keep @arch
for compatibility.

Cc: "Daniel P. Berrange" <berrange@redhat.com>
Cc: Eric Blake <eblake@redhat.com>
Cc: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180427192852.15013-5-lersek@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
cpus.c
qapi/misc.json