]> git.proxmox.com Git - qemu.git/commit
qemu-option: opt_set(): split it up into more functions
authorDong Xu Wang <wdongxu@linux.vnet.ibm.com>
Thu, 6 Dec 2012 06:47:18 +0000 (14:47 +0800)
committerKevin Wolf <kwolf@redhat.com>
Tue, 11 Dec 2012 15:28:08 +0000 (16:28 +0100)
commitc474ced8fe6684265fbb6a3183eb0cbea561409f
treeff905375b90dcef5b8a45e25c1945c0b2f3327fc
parentfbcad04d6bfdff937536eb23088a01a280a1a3af
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>
qemu-option.c