diff options
| author | Chunyan Liu | 2014-06-05 11:20:58 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2014-06-16 11:23:21 +0200 |
| commit | 74c3c19765c1abf202561af20dfc8f52d9cff808 (patch) | |
| tree | 07656154d78ca14879c94cff5383976583e90d9e /util | |
| parent | qcow.c: replace QEMUOptionParameter with QemuOpts (diff) | |
| download | qemu-74c3c19765c1abf202561af20dfc8f52d9cff808.tar.gz qemu-74c3c19765c1abf202561af20dfc8f52d9cff808.tar.xz qemu-74c3c19765c1abf202561af20dfc8f52d9cff808.zip | |
QemuOpts: export qemu_opt_find
Export qemu_opt_find for qcow2 driver using it.
After replacing QEMUOptionParameter with QemuOpts, qcow2 driver will
use qemu_opt_find to judge if an option is explicitly set, to replace
the usage of .assigned in QEMUOptionParameter.
Signed-off-by: Chunyan Liu <cyliu@suse.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'util')
| -rw-r--r-- | util/qemu-option.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/qemu-option.c b/util/qemu-option.c index 40e1ff384a..0d9d3ec889 100644 --- a/util/qemu-option.c +++ b/util/qemu-option.c @@ -568,7 +568,7 @@ void qemu_opts_print_help(QemuOptsList *list) } /* ------------------------------------------------------------------ */ -static QemuOpt *qemu_opt_find(QemuOpts *opts, const char *name) +QemuOpt *qemu_opt_find(QemuOpts *opts, const char *name) { QemuOpt *opt; |
