提交 6741e788 编写于 作者: L Lukáš Doktor 提交者: Lucas Meneghel Rodrigues

virttest.qemu_monitor: Parse "info block" into dictionary

As there is more and more versions of "info block" this patch
parses the output and creates dictionary of each disk params
(dict of dicts).

Currently supported methods are QMP, HMP old qemu and HMP qemu 1.5.
QMP representation contains the most informations, HMP qemu 1.5 the
least. The missing informations should have default value and it's
upto the user to set it. (use dict.get(key, default))
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
上级 7ba931ce
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册