diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2011-10-21 14:15:33 -0200 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2011-10-27 11:48:47 -0200 |
commit | 79627472db3629de66fe81019560aa9cb6900268 (patch) | |
tree | e7763469c274fddd82d01c60af52dcc8285154f4 /qmp-commands.hx | |
parent | 96637bcdf9e00db77265229d3d30d952bdde74be (diff) |
qapi: Convert query-pci
This also fixes a bug with the old version: QMP would invert device id
and vendor id. This would look ok on HMP because it was printing
"device:vendor" instead of "vendor:device".
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qmp-commands.hx')
-rw-r--r-- | qmp-commands.hx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qmp-commands.hx b/qmp-commands.hx index 8ef6ca276a..eb3072c504 100644 --- a/qmp-commands.hx +++ b/qmp-commands.hx @@ -1576,6 +1576,12 @@ Note: This example has been shortened as the real response is too long. EQMP + { + .name = "query-pci", + .args_type = "", + .mhandler.cmd_new = qmp_marshal_input_query_pci, + }, + SQMP query-kvm --------- |