diff options
author | Kevin Wolf <kwolf@redhat.com> | 2013-07-17 14:40:37 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-07-26 21:10:11 +0200 |
commit | 0dd6c5266313c861cf36476da86599d368ec41fc (patch) | |
tree | f716f86306481026737aa3591174d4df85ae6ed6 /include/qemu/option.h | |
parent | 74fe54f2a1b5c4f4498a8fe521e1dfc936656cd4 (diff) | |
download | qemu-0dd6c5266313c861cf36476da86599d368ec41fc.zip qemu-0dd6c5266313c861cf36476da86599d368ec41fc.tar.gz qemu-0dd6c5266313c861cf36476da86599d368ec41fc.tar.bz2 |
QemuOpts: Add qemu_opt_unset()
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include/qemu/option.h')
-rw-r--r-- | include/qemu/option.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qemu/option.h b/include/qemu/option.h index a83c700..13f5e72 100644 --- a/include/qemu/option.h +++ b/include/qemu/option.h @@ -120,6 +120,7 @@ bool qemu_opt_has_help_opt(QemuOpts *opts); bool qemu_opt_get_bool(QemuOpts *opts, const char *name, bool defval); uint64_t qemu_opt_get_number(QemuOpts *opts, const char *name, uint64_t defval); uint64_t qemu_opt_get_size(QemuOpts *opts, const char *name, uint64_t defval); +int qemu_opt_unset(QemuOpts *opts, const char *name); int qemu_opt_set(QemuOpts *opts, const char *name, const char *value); void qemu_opt_set_err(QemuOpts *opts, const char *name, const char *value, Error **errp); |