qemu: monitor: Convert common code to a macro
The function that is extracting block stats data from the QMP monitor reply contains a lot of repeated code. Since I'd be changing each of the copies in the next patch, lets convert it to a macro right away.
Showing
想要评论请 注册 或 登录