virsh: Add helper to request string arguments with error reporting
This patch adds a helper function with similar semantics to vshCommandOptString that requests a string argument, but does some error reporting without the need to do it in the functions themselves. The error reporting also provides information about the parameter whose retrieval failed.
Showing
想要评论请 注册 或 登录