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>
Showing
想要评论请 注册 或 登录