Re: does qmp supports usb_add?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: chunhui zhao
Date: Monday, April 19, 2010 - 5:55 am

Thanks Dan.
However,  as I checked this command "device_add", I did not found QMP
support it.
I use the command:
{"QMP": {"query-command"}}
In the return list, I did not found the "device_add". The list is as below:
-------------------------------------------------------------
{"return": [{"name": "quit"}, {"name": "eject"}, {"name": "change"},
{"name": "stop"}, {"name": "cont"}, {"name": "system_reset"}, {"name":
"system_powerdown"}, {"name": "memsave"}, {"name": "pmemsave"},
{"name": "migrate"}, {"name": "migrate_cancel"}, {"name": "pci_add"},
{"name": "pci_del"}, {"name": "balloon"}, {"name": "getfd"}, {"name":
"closefd"}, {"name": "block_passwd"}, {"name": "query-version"},
{"name": "query-commands"}, {"name": "query-chardev"}, {"name":
"query-block"}, {"name": "query-blockstats"}, {"name": "query-cpus"},
{"name": "query-hpet"}, {"name": "query-kvm"}, {"name":
"query-status"}, {"name": "query-mice"}, {"name": "query-vnc"},
{"name": "query-name"}, {"name": "query-uuid"}, {"name":
"query-migrate"}, {"name": "query-balloon"}]}
-------------------------------------------------------------

And on the page : http://www.linux-kvm.org/page/MonitorProtocol.  I
notice that :
-------------------------------------------------------------
TODO
High Priority
do_device_add()/do_device_del() conversions (markus)
do_netdev_add()/do_netdev_del() conversions (markus)
do_blockdev_add()/do_blockdev_del() conversions (markus)
Events Grouping (luiz)
Make qmp-shell work again (luiz)
Self-description & High-level protocol documentation
High-level internal documentation
Better QObjects and QMP debug support
-------------------------------------------------------------

Cause the do_device_add is in the to_do list, does this mean it is not
finished yet?

BTW: my qemu version is 0.12.3 which I believe is the latest version.
My linux kernel is 2.6.33

Good Luck!

On Fri, Apr 16, 2010 at 9:28 PM, Daniel P. Berrange <berrange@redhat.com> wrote:
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
does qmp supports usb_add?, chunhui zhao, (Fri Apr 16, 6:18 am)
Re: does qmp supports usb_add?, Daniel P. Berrange, (Fri Apr 16, 6:28 am)
Re: does qmp supports usb_add?, Gerd Hoffmann, (Fri Apr 16, 6:31 am)
Re: does qmp supports usb_add?, chunhui zhao, (Mon Apr 19, 5:55 am)
Re: does qmp supports usb_add?, Daniel P. Berrange, (Mon Apr 19, 6:00 am)