summaryrefslogtreecommitdiffstats
path: root/include/qemu
diff options
context:
space:
mode:
authorKevin Wolf2013-07-17 14:40:37 +0200
committerKevin Wolf2013-07-26 21:10:11 +0200
commit0dd6c5266313c861cf36476da86599d368ec41fc (patch)
treef716f86306481026737aa3591174d4df85ae6ed6 /include/qemu
parentblock: Allow "driver" option on the top level (diff)
downloadqemu-0dd6c5266313c861cf36476da86599d368ec41fc.tar.gz
qemu-0dd6c5266313c861cf36476da86599d368ec41fc.tar.xz
qemu-0dd6c5266313c861cf36476da86599d368ec41fc.zip
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')
-rw-r--r--include/qemu/option.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qemu/option.h b/include/qemu/option.h
index a83c700323..13f5e72a8e 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);