qemu: Use macro to set block stats typed parameters
All the setters are the same code except for parameter name and variable, so they can be converted to a macro to save a ton of duplicated code.
Showing
想要评论请 注册 或 登录
All the setters are the same code except for parameter name and variable, so they can be converted to a macro to save a ton of duplicated code.