]> git.proxmox.com Git - qemu.git/commit
qapi: add query-cpu-definitions command (v2)
authorAnthony Liguori <aliguori@us.ibm.com>
Fri, 10 Aug 2012 16:04:13 +0000 (11:04 -0500)
committerLuiz Capitulino <lcapitulino@redhat.com>
Mon, 13 Aug 2012 19:10:18 +0000 (16:10 -0300)
commite4e31c6324af480a22bf4150266b278368eaa336
tree9d3a5ddb98b81eee023f9d5fce7c0fd0e2362a61
parent6ee373a0032b8fa6b630c6df9cd6618a7a02902b
qapi: add query-cpu-definitions command (v2)

This command attempts to map to the behavior of -cpu ?.  Unfortunately, the
output of this command differs wildly across targets.

To accommodate this, we use a weak symbol to implement a default version of the
command that fails with a QERR_NOT_SUPPORTED error code.  Targets can then
override and implement this command if it makes sense for them.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
qapi-schema.json
qmp-commands.hx
qmp.c