commit | c474ced8fe6684265fbb6a3183eb0cbea561409f | [log] [tgz] |
---|---|---|
author | Dong Xu Wang <wdongxu@linux.vnet.ibm.com> | Thu Dec 06 14:47:18 2012 +0800 |
committer | Kevin Wolf <kwolf@redhat.com> | Tue Dec 11 16:28:08 2012 +0100 |
tree | ff905375b90dcef5b8a45e25c1945c0b2f3327fc | |
parent | fbcad04d6bfdff937536eb23088a01a280a1a3af [diff] |
qemu-option: opt_set(): split it up into more functions The new functions are opts_accepts_any() and find_desc_by_name(), which are also going to be used by qemu_opts_validate() (see next commit). This also makes opt_set() slightly more readable. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Dong Xu Wang <wdongxu@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>