aboutsummaryrefslogtreecommitdiff
path: root/qemu-option.h
diff options
context:
space:
mode:
authorDong Xu Wang <wdongxu@linux.vnet.ibm.com>2012-12-06 14:47:23 +0800
committerKevin Wolf <kwolf@redhat.com>2012-12-11 16:37:07 +0100
commitb83c18e225cf82a21535561270b6dfd86b1c9031 (patch)
tree954b3c15598f8db41bcebfa190f290cf558449af /qemu-option.h
parente478b448d7c36046462733ffaeaea0961575790a (diff)
downloadqemu-b83c18e225cf82a21535561270b6dfd86b1c9031.zip
qemu-b83c18e225cf82a21535561270b6dfd86b1c9031.tar.gz
qemu-b83c18e225cf82a21535561270b6dfd86b1c9031.tar.bz2
create new function: qemu_opt_set_number
Signed-off-by: Dong Xu Wang <wdongxu@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-option.h')
-rw-r--r--qemu-option.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu-option.h b/qemu-option.h
index b0f8d1e..002dd07 100644
--- a/qemu-option.h
+++ b/qemu-option.h
@@ -126,6 +126,7 @@ 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);
int qemu_opt_set_bool(QemuOpts *opts, const char *name, bool val);
+int qemu_opt_set_number(QemuOpts *opts, const char *name, int64_t 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);