Searched hist:"435 db4cf" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/util/ |
H A D | qemu-option.c | 435db4cf Tue Jun 17 21:47:26 CDT 2014 Chunyan Liu <cyliu@suse.com> QemuOpts: check NULL opts in qemu_opt_get functions Some places will call bdrv_create_file(filename, NULL, &local_err), where opts is NULL. Check NULL in qemu_opt_get and qemu_opt_get_*_del functions, to avoid extra effort of checking opts before calling them every time. Signed-off-by: Chunyan Liu <cyliu@suse.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
|