aboutsummaryrefslogtreecommitdiff
path: root/qemu-option.h
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-10-31 11:06:02 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-10-31 11:06:02 -0500
commitd439b79d730bf219e47c14ab94f1546bcc5045ab (patch)
treec8d0ae00ff1e86e7ecdaac028d2b2db30305f0c3 /qemu-option.h
parent96b3d73f5ad5838690d42666c566a48be9d173dc (diff)
parent2583e443676e6b9259425f7d5ccaccbfa9bf7886 (diff)
Merge remote-tracking branch 'aneesh/for-upstream-7' into staging
Diffstat (limited to 'qemu-option.h')
-rw-r--r--qemu-option.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qemu-option.h b/qemu-option.h
index b515813891..07958e4e90 100644
--- a/qemu-option.h
+++ b/qemu-option.h
@@ -105,10 +105,11 @@ struct QemuOptsList {
};
const char *qemu_opt_get(QemuOpts *opts, const char *name);
-int qemu_opt_get_bool(QemuOpts *opts, const char *name, int defval);
+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_set(QemuOpts *opts, const char *name, const char *value);
+int qemu_opt_set_bool(QemuOpts *opts, const char *name, bool val);
typedef int (*qemu_opt_loopfunc)(const char *name, const char *value, void *opaque);
int qemu_opt_foreach(QemuOpts *opts, qemu_opt_loopfunc func, void *opaque,
int abort_on_failure);