]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
QemuOpts: move qemu_opt_del ahead for later calling
authorChunyan Liu <cyliu@suse.com>
Thu, 5 Jun 2014 09:20:45 +0000 (17:20 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 16 Jun 2014 09:23:20 +0000 (17:23 +0800)
commitfc345512c59da62eb2dde3f0a51137a2f848c589
tree1a36a086ea84ef6d8e4b58cf5aef0d551cb21250
parentdc8622f2bf9174cd42932ad86bcc98c6f7c98832
QemuOpts: move qemu_opt_del ahead for later calling

In later patch, qemu_opt_get_del functions will be added, they will
first get the option value, then call qemu_opt_del to remove the option
from opt list. To prepare for that purpose, move qemu_opt_del ahead first.

Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Leandro Dorileo <l@dorileo.org>
Signed-off-by: Chunyan Liu <cyliu@suse.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
util/qemu-option.c