virsh: Don't generate invalid XML in attach-disk command
The attach-disk command used with parameter --cache created an invalid XML snippet as the beginning of the <driver> element was not printed when used solely with --cache and no other attribute to driver.
Showing
想要评论请 注册 或 登录