]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
QemuOpts: check NULL input for qemu_opts_del
authorChunyan Liu <cyliu@suse.com>
Thu, 5 Jun 2014 09:20:50 +0000 (17:20 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 16 Jun 2014 09:23:20 +0000 (17:23 +0800)
commit4782183da39ec988b8290bbc0289c9f50ba33ea4
treee08f694a079cf365736e24aaa58f55422ecfb227
parenta1097a2614c3ff772e450454417bb1b51d6a01bc
QemuOpts: check NULL input for qemu_opts_del

To simplify later using of qemu_opts_del, accept NULL input.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
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