]> git.proxmox.com Git - mirror_qemu.git/commit
blockdev: add a function to parse enum ids from strings
authorPeter Lieven <pl@kamp.de>
Sat, 17 May 2014 22:58:18 +0000 (00:58 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 19 May 2014 10:21:17 +0000 (12:21 +0200)
commit82a402e99f3f8c6177528ad6d561bf07ff6ee606
treef53898d4be8e10ab779a91ed9b1753a7a005d931
parent43f35cb5e0cff62e1d3fb1c116fbb8e028f2a5c8
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: Peter Lieven <pl@kamp.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockdev.c