qemu: command: Move formatting of disk io error policy from -drive
That's a disk frontend attribute. Move the code to a separate function since it's non-trivial and call it from the frontend attribute formatter.
Showing
想要评论请 注册 或 登录
That's a disk frontend attribute. Move the code to a separate function since it's non-trivial and call it from the frontend attribute formatter.