blockdev: add a function to parse enum ids from strings
this adds a generic function to recover the enum id of a parameter given as a string. Signed-off-by: NPeter Lieven <pl@kamp.de> Signed-off-by: NKevin Wolf <kwolf@redhat.com>
Showing
想要评论请 注册 或 登录